feat(i18n): add Traditional Chinese (zh-TW) locale support - #2708
Open
leonoxo wants to merge 8 commits into
Open
feat(i18n): add Traditional Chinese (zh-TW) locale support#2708leonoxo wants to merge 8 commits into
leonoxo wants to merge 8 commits into
Conversation
- Add zh-TW.ts locale bundle with full Traditional Chinese (Taiwan) translations - Register zh-TW in i18n index, locale audit, and default locale resolver - Add zh-TW to TDesign component locale mapping in App.vue - Add zh-TW language option in Login, General Settings, and Embed Channel panels - Add zh-TW/zh-Hant detection in embed locale normalizer - Align terminology with Taiwan usage (帳號, 伺服器, 佇列, 閘道器, 權杖, etc.)
leonoxo
force-pushed
the
feat/locale-zh-TW
branch
from
August 14, 2026 12:32
52d8c53 to
fcb961c
Compare
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.
Summary
Add full Traditional Chinese (Taiwan / zh-TW) language support to WeKnora.
Changes
New Files
frontend/src/i18n/locales/zh-TW.ts— Complete zh-TW locale bundle (6,358 lines, ~5,700 keys) with Taiwan terminologyModified Files (8)
frontend/src/i18n/index.tsfrontend/src/i18n/resolveDefaultLocale.tsfrontend/src/i18n/localeKeyAudit.tsfrontend/src/i18n/embed.tsfrontend/src/App.vuefrontend/src/views/auth/Login.vuefrontend/src/views/settings/GeneralSettings.vuefrontend/src/components/AgentEmbedChannelPanel.vueTaiwan Terminology Alignment
The translation uses Taiwan-standard terminology (not Simplified-Chinese-derived Traditional):
Maintenance
The project's built-in
localeKeyAudit.tsscript is already configured to manage zh-TW alongside existing locales. Future developers can runnpm run regenerate-pruned-localesto automatically keep zh-TW keys aligned with new features.