Skip to content

Add Vietnamese language support and update locale files#421

Merged
LucaRonin merged 20 commits into
refactoringhq:mainfrom
khanhthanhdev:main
Apr 29, 2026
Merged

Add Vietnamese language support and update locale files#421
LucaRonin merged 20 commits into
refactoringhq:mainfrom
khanhthanhdev:main

Conversation

@khanhthanhdev
Copy link
Copy Markdown
Contributor

  • Added 'vi' (Vietnamese) to the list of supported app locales in i18n.ts.
  • Updated locale definitions to include Vietnamese translations for various keys.
  • Modified existing locale files (de-DE, en, es-419, es-ES, fr-FR, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, ru-RU, zh-CN) to include Vietnamese translations for Vietnamese and ensure consistency.

- Added 'vi' (Vietnamese) to the list of supported app locales in i18n.ts.
- Updated locale definitions to include Vietnamese translations for various keys.
- Modified existing locale files (de-DE, en, es-419, es-ES, fr-FR, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, ru-RU, zh-CN) to include Vietnamese translations for Vietnamese and ensure consistency.
Copilot AI review requested due to automatic review settings April 29, 2026 06:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Vietnamese (vi) as a first-class UI locale and introduces a Vietnamese translation catalog, while updating other locale catalogs to expose Vietnamese as a selectable language in the language picker.

Changes:

  • Added vi to APP_LOCALES and registered a vi locale definition (date locale, label key, aliases, search keywords).
  • Added a new src/lib/locales/vi.json translation catalog.
  • Updated existing locale catalogs to include the new locale.vi label.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/lib/i18n.ts Registers vi as a supported app locale and defines its metadata (label key, date locale, aliases, search keywords).
src/lib/locales/vi.json Adds the Vietnamese translation catalog.
src/lib/locales/en.json Adds locale.vi so Vietnamese can be labeled in the English UI.
src/lib/locales/de-DE.json Adds locale.vi for German UI language picker.
src/lib/locales/ru-RU.json Adds locale.vi for Russian UI language picker.
src/lib/locales/it-IT.json Adds locale.vi for Italian UI language picker.
src/lib/locales/fr-FR.json Adds locale.vi for French UI language picker.
src/lib/locales/es-ES.json Adds locale.vi for Spanish (ES) UI language picker.
src/lib/locales/es-419.json Adds locale.vi for Spanish (LatAm) UI language picker.
src/lib/locales/pt-BR.json Adds locale.vi for Portuguese (BR) UI language picker.
src/lib/locales/pt-PT.json Adds locale.vi for Portuguese (PT) UI language picker.
src/lib/locales/ja-JP.json Adds locale.vi for Japanese UI language picker.
src/lib/locales/ko-KR.json Adds locale.vi for Korean UI language picker.
src/lib/locales/zh-CN.json Adds locale.vi for Simplified Chinese UI language picker.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/lib/locales/de-DE.json
Comment thread src/lib/locales/ru-RU.json
Comment thread src/lib/locales/it-IT.json
Comment thread src/lib/locales/ja-JP.json
Comment thread src/lib/locales/ko-KR.json
@LucaRonin LucaRonin merged commit 4c4f01a into refactoringhq:main Apr 29, 2026
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.

3 participants