-
-
Notifications
You must be signed in to change notification settings - Fork 207
feat(i18n): add Traditional Chinese (zh-TW) language support and update related translations #1412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds support for Traditional Chinese (zh-TW) as a new language option in the project's internationalization system, complementing the existing Simplified Chinese (zh) support.
Key changes:
- Added a complete Traditional Chinese locale file with 978 lines of translations
- Updated all 12 existing locale files to include the Traditional Chinese language in their language selection lists
- Modified the i18n extraction configuration to recognize the new language key
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
vue-i18n-extract.config.js |
Added language.zh-TW to the list of recognized translation keys |
src/i18n/locales/zh-TW.json |
New complete Traditional Chinese locale file with all translations |
src/i18n/locales/zh.json |
Added Traditional Chinese language name in Simplified Chinese |
src/i18n/locales/de.json |
Added Traditional Chinese language name in German |
src/i18n/locales/en.json |
Added Traditional Chinese language name in English |
src/i18n/locales/es.json |
Added Traditional Chinese language name in Spanish |
src/i18n/locales/fr.json |
Added Traditional Chinese language name in French |
src/i18n/locales/hi.json |
Added Traditional Chinese language name in Hindi |
src/i18n/locales/it.json |
Added Traditional Chinese language name in Italian |
src/i18n/locales/ja.json |
Added Traditional Chinese language name in Japanese |
src/i18n/locales/pl.json |
Added Traditional Chinese language name in Polish |
src/i18n/locales/pt.json |
Added Traditional Chinese language name in Portuguese (Portugal) |
src/i18n/locales/pt-BR.json |
Added Traditional Chinese language name in Portuguese (Brazil) |
src/i18n/locales/ru.json |
Added Traditional Chinese language name in Russian |
src/i18n/locales/uk-UA.json |
Added Traditional Chinese language name in Ukrainian |
README.md |
Added Traditional Chinese to the list of supported languages in documentation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
8550192 to
1b7d3c2
Compare
…te related translations Signed-off-by: 翁晨庭Chenting <[email protected]>
doggy8088
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description:
This pull request adds support for Traditional Chinese (zh-TW) to the project's internationalization system. It updates the documentation to reflect this new language option and ensures that all supported languages reference Traditional Chinese appropriately in their language lists.
Additional Issue:
Additional Details:
zh-TW) as a supported language in the language selection lists across all locale files, providing the correct name for each language.vue-i18n-extract.config.js) to includelanguage.zh-TWas a recognized key.README.md.Checklist