Skip to content

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

Merged
amilcarlucas merged 2 commits into
masterfrom
merge-i18n-po-strings
Oct 10, 2026
Merged

amilcarlucas merged 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: 20
  • Successfully translated: 20
  • 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.

@amilcarlucas
amilcarlucas merged commit 833844b into master Oct 10, 2026
1 check passed
@amilcarlucas
amilcarlucas deleted the merge-i18n-po-strings branch October 10, 2026 14:16
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