feat(i18n): add Portuguese (pt) locale and translation scaffold

Register Português in LANGUAGES and normalize pt-BR/pt-PT (and similar)
to pt in _normalize_locale so Accept-Language and stored preferences resolve
to translations/pt/.

Add translations/pt/LC_MESSAGES/messages.po seeded from English msgids;
translators can fill msgstr incrementally.

Extend i18n tests for pt presence and catalog file. Update translation
docs (TRANSLATION_SYSTEM, CONTRIBUTING_TRANSLATIONS, implementation note).
This commit is contained in:
Dries Peeters
2026-04-29 06:53:24 +02:00
parent 6b771537d4
commit eb7b1be05f
7 changed files with 29655 additions and 13 deletions
@@ -203,7 +203,7 @@ To test the translation system:
Potential improvements for the future:
1. Add more languages (Spanish, Portuguese, Japanese, Chinese)
1. Add more languages (Japanese, Chinese, etc.)
2. Implement RTL support for Arabic and Hebrew
3. Add translation management UI in admin panel
4. Integrate with translation services (Crowdin, Lokalise)