Skip to content

Add Traditional Chinese (zh_TW) translation - #2770

Merged
OmarHatem28 merged 1 commit into
cake-tech:mainfrom
ImL1s:feature/add-traditional-chinese-translation
Dec 29, 2025
Merged

Add Traditional Chinese (zh_TW) translation#2770
OmarHatem28 merged 1 commit into
cake-tech:mainfrom
ImL1s:feature/add-traditional-chinese-translation

Conversation

@ImL1s

@ImL1s ImL1s commented Dec 27, 2025

Copy link
Copy Markdown
Contributor

Summary

This PR adds Traditional Chinese (zh_TW / Taiwan) translation support to Cake Wallet.

Changes

  • ✅ Created \strings_zh_TW.arb\ with complete Traditional Chinese translation (1173 strings)
  • ✅ Added \zh_TW\ to \language_service.dart\ in both \supportedLocales\ and \localeCountryCode\
  • ✅ Added \zh-tw\ to \ ranslation_constants.dart\

Notes

  • All strings have been translated to Traditional Chinese with Taiwan-specific terminology
  • Uses proper Traditional Chinese characters (繁體字), not simplified
  • Key terminology adapted for Taiwan usage (e.g., 啟用, 新增, 進階設定, 簽帳金融卡)
  • Follows the same structure as other language files
  • Uses ISO 3166-1 alpha-3 code \ wn\ for Taiwan

Checklist

  • Created translation file
  • Updated language service
  • Updated translation constants
  • Flag image (twn.png) already exists

Copilot AI review requested due to automatic review settings December 27, 2025 14:02
@ImL1s
ImL1s force-pushed the feature/add-traditional-chinese-translation branch from dae5526 to 0a3eae1 Compare December 27, 2025 14:05
@ImL1s ImL1s changed the title feat: add Traditional Chinese (繁體中文) translation Add Traditional Chinese (zh_TW) translation Dec 27, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds Traditional Chinese (Taiwan) language support to Cake Wallet, including a new translation file with 1,173 localized strings and corresponding configuration updates to enable the zh_TW locale.

Key changes:

  • Adds complete Traditional Chinese translation file with Taiwan-specific terminology
  • Updates language service to recognize zh_TW locale with Taiwan country code
  • Extends translation constants to include zh-tw for translation tooling

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 20 comments.

File Description
res/values/strings_zh_TW.arb New Traditional Chinese translation file with 1,173 localized strings using Taiwan-specific terminology
lib/entities/language_service.dart Adds zh_TW locale mapping with Taiwan country code (twn) and clarifies zh as Simplified Chinese
tool/utils/translation/translation_constants.dart Includes zh-tw in supported language list for translation tools

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

Comment thread res/values/strings_zh_TW.arb
Comment thread res/values/strings_zh_TW.arb
Comment thread res/values/strings_zh_TW.arb
Comment thread res/values/strings_zh_TW.arb
Comment thread res/values/strings_zh_TW.arb Outdated
Comment thread res/values/strings_zh_TW.arb
Comment thread res/values/strings_zh_TW.arb Outdated
Comment thread res/values/strings_zh_TW.arb Outdated
Comment thread res/values/strings_zh_TW.arb Outdated
Comment thread res/values/strings_zh_TW.arb Outdated
@ImL1s
ImL1s force-pushed the feature/add-traditional-chinese-translation branch 2 times, most recently from 00a2fec to 6a05fdf Compare December 27, 2025 14:16
- Add res/values/strings_zh_TW.arb with Traditional Chinese translations
- Update lib/entities/language_service.dart to include zh_TW locale
- Update tool/utils/translation/translation_constants.dart to include zh-tw

This adds full Traditional Chinese (Taiwan) language support with proper
Taiwan-specific terminology (e.g., 啟用, 新增, 進階設定, 簽帳金融卡, etc.)

All simplified Chinese characters have been converted to traditional Chinese.
@ImL1s
ImL1s force-pushed the feature/add-traditional-chinese-translation branch from 6a05fdf to 278ddac Compare December 27, 2025 14:19
@OmarHatem28
OmarHatem28 merged commit 478cb53 into cake-tech:main Dec 29, 2025
7 checks passed
@OmarHatem28

Copy link
Copy Markdown
Contributor

Thank you for the contribution

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