feat(i18n): add pt-PT locale support and browser locale detection#729
Open
Blackspirits wants to merge 5 commits into
Open
feat(i18n): add pt-PT locale support and browser locale detection#729Blackspirits wants to merge 5 commits into
Blackspirits wants to merge 5 commits into
Conversation
Blackspirits
commented
Apr 4, 2026
- add pt-PT locale files for frontend and Tauri
- register pt-PT in Vue i18n
- improve browser locale detection for pt-PT
- keep compatibility with pt-BR and zh-TW expanded locales
- validate translation keys against en.json
- no missing or extra keys detected
- add pt-PT locale files for frontend and Tauri - register pt-PT in Vue i18n - improve browser locale detection for pt-PT - keep compatibility with pt-BR and zh-TW expanded locales - validate translation keys against en.json - no missing or extra keys detected
- remove explicit I18n annotation from src/i18n.ts - let createI18n infer the correct locale-aware type - keep pt-PT, pt-BR and zh-TW locale support intact - fix CI build/lint failure caused by vue-i18n type mismatch
- add pt-PT locale support - fix Vue i18n locale typing - update browser locale detection - resolve related lint issues
- assign Vue i18n locale directly instead of using .value - fix regional locale helper lint issue - add missing trailing newlines - resolve remaining TypeScript and lint failures
- fix locale assignment in src/main.ts - fix locale assignment in src/stores/settings.ts - use typed Locale value before assigning to vue-i18n - remove remaining invalid locale.value usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.