Skip to content

Merge new un-translated string(s) to existing .po files with AI translations - #2257

Open
github-actions[bot] wants to merge 2 commits into
masterfrom
merge-i18n-po-strings
Open

github-actions[bot] wants to merge 2 commits into
masterfrom
merge-i18n-po-strings

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Update .pot file with new un-translated string(s) from the source code
Merge .pot file strings into existing .po files

🤖 AI-Powered Translation Applied with Enhanced Matrix Processing:

  • Automatically extracted missing translations using extract_missing_translations.py
  • Applied AI-powered translations using GitHub Copilot model inference for multiple languages
  • Supports processing unlimited translations per language with automatic chunking
  • Inserted translated strings into .po files using insert_missing_translations.py
  • Compiled binary .mo files for immediate use

📊 Translation Processing Summary

  • Total translation files processed: 0
  • Successfully translated: 0
  • Failed translations: 0

Languages processed: Portuguese (pt), German (de), Italian (it), Japanese (ja), Chinese Simplified (zh_CN)

Enhanced Matrix Processing & Scaling:

  • ✅ Automatic chunking when >50 strings per language (configurable)
  • ✅ Robust error handling for failed AI translation requests with detailed debugging
  • ✅ File validation before and after AI processing
  • ✅ Consistent terminology guidelines applied across all chunks for each language
  • Robust error handling for failed AI translation requests

Translation Guidelines Applied:

  • Technical aviation/drone context preservation
  • Formal register for technical documentation
  • Language-specific conventions (e.g., European Portuguese, formal German)
  • Consistent terminology maintenance across chunks
  • Placeholder preservation ({variable_name} patterns)

Quality Assurance:

  • Validation of AI action outputs before processing
  • Graceful handling of AI service failures
  • File size and content validation after translation
  • Comprehensive error reporting and debugging information

Please review the AI-generated translations for accuracy and cultural appropriateness before merging.

@github-actions
github-actions Bot force-pushed the merge-i18n-po-strings branch 14 times, most recently from 8c7c489 to db1705f Compare October 28, 2026 14:51
@github-actions
github-actions Bot force-pushed the merge-i18n-po-strings branch from db1705f to 98ff2ce Compare October 30, 2026 10:18
@github-actions
github-actions Bot force-pushed the merge-i18n-po-strings branch from 98ff2ce to 7ed2b19 Compare October 31, 2026 04:47

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant