Skip to content

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

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

Merge new un-translated string(s) to existing .po files with AI translations#1877
github-actions[bot] wants to merge 3 commits into
masterfrom
merge-i18n-po-strings

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 2, 2026

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 requested a review from amilcarlucas as a code owner August 2, 2026 23:46
@github-actions
github-actions Bot force-pushed the merge-i18n-po-strings branch 8 times, most recently from 9bd45e5 to bc043e9 Compare August 10, 2026 00:51
@github-actions
github-actions Bot force-pushed the merge-i18n-po-strings branch 2 times, most recently from 88eaec7 to 09e9512 Compare August 13, 2026 04:01
@github-actions
github-actions Bot force-pushed the merge-i18n-po-strings branch from 09e9512 to 6f2e4dd Compare August 13, 2026 15:27
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