Skip to content

feat(i18n): add pt-PT locale support and browser locale detection#729

Open
Blackspirits wants to merge 5 commits into
jely2002:mainfrom
Blackspirits:main
Open

feat(i18n): add pt-PT locale support and browser locale detection#729
Blackspirits wants to merge 5 commits into
jely2002:mainfrom
Blackspirits:main

Conversation

@Blackspirits

Copy link
Copy Markdown
  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant