Skip to content

Add Traditional Chinese (zh-TW) localization#292

Merged
Kyome22 merged 9 commits into
mainfrom
adjustment-localizations
Mar 8, 2026
Merged

Add Traditional Chinese (zh-TW) localization#292
Kyome22 merged 9 commits into
mainfrom
adjustment-localizations

Conversation

@Kyome22
Copy link
Copy Markdown
Collaborator

@Kyome22 Kyome22 commented Mar 8, 2026

Context of Contribution

  • Bug Fix
  • Refactoring
  • New Feature
  • Others

Summary of the Proposal

Adds Traditional Chinese (zh-TW) localization support, including a new Strings.zh-TW.resx resource file and detection logic to distinguish Traditional Chinese (zh-TW, zh-HK, zh-MO, zh-Hant-*) from Simplified Chinese (zh-CN).

Reason for the new feature

The previously merged Simplified Chinese support used TwoLetterISOLanguageName == "zh" for detection, which matched both Simplified and Traditional Chinese users. This PR separates the two by introducing TraditionalChinese alongside SimplifiedChinese in SupportedLanguage, and adds Strings.zh-TW.resx with Taiwan-standard translations (e.g. 記憶體, 網路, 使用者). This benefits Traditional Chinese users in Taiwan, Hong Kong, and Macao.

Checklist

  • This PR does not contain commits of multiple contexts.
  • Code follows proper indentation and naming conventions.
  • Implemented using only APIs that can be submitted to the Microsoft Store.
  • Works correctly in both dark theme and light theme.
  • Works correctly on any device.

Kyome22 and others added 6 commits March 8, 2026 23:27
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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 Traditional Chinese (zh-TW) localization support to RunCat365 by introducing a separate Traditional vs Simplified Chinese language variant and adding a Traditional Chinese resource file.

Changes:

  • Introduces ChineseTraditional and ChineseSimplified variants in SupportedLanguage, with detection logic for zh-TW/zh-HK/zh-MO/zh-Hant-*.
  • Adds Strings.zh-TW.resx Traditional Chinese translations.
  • Updates docs (README + CLAUDE) to reflect the new supported language and localization workflow.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
RunCat365/SupportedLanguage.cs Adds Chinese variant detection and new language enum values, plus default culture/font/full-width mappings.
RunCat365/Properties/Strings.zh-TW.resx New Traditional Chinese (zh-TW) string resources.
RunCat365/Properties/Strings.zh-CN.resx Re-indents/respaces existing Simplified Chinese resource XML (no string content changes shown).
README.md Updates supported language list to include Chinese (simplified/traditional).
CLAUDE.md Updates localization documentation to include zh-CN + zh-TW resources and font guidance.

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

Comment thread RunCat365/SupportedLanguage.cs
Kyome22 and others added 3 commits March 9, 2026 00:52
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Kyome22 Kyome22 merged commit 71a65c1 into main Mar 8, 2026
@Kyome22 Kyome22 deleted the adjustment-localizations branch March 8, 2026 16:13
@Sjshi763
Copy link
Copy Markdown

Sjshi763 commented Apr 30, 2026

@Kyome22 今天一打开就看到它变成了中文,看起来太肥美了!谢谢!!!

Woke up to see the Chinese interface today—it looks so juicy! Thank you so much!

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