mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-18 20:29:44 -05:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user