Skip to content

[codex] Add Traditional Chinese localization#126

Draft
Benchan691 wants to merge 1 commit into
Ed1s0nZ:mainfrom
Benchan691:codex/traditional-chinese-i18n
Draft

[codex] Add Traditional Chinese localization#126
Benchan691 wants to merge 1 commit into
Ed1s0nZ:mainfrom
Benchan691:codex/traditional-chinese-i18n

Conversation

@Benchan691
Copy link
Copy Markdown

Summary

Adds a Traditional Chinese (zh-TW) frontend language option.

Changes

  • Adds web/static/i18n/zh-TW.json with Traditional Chinese translations generated from the Simplified Chinese source.
  • Wires zh-TW into the language dropdown on the dashboard and API docs pages.
  • Updates i18n label handling and frontend i18n documentation for the new language.
  • Adds a small OpenCC-based helper for regenerating the Traditional Chinese locale file.

Validation

  • git diff --cached --check
  • python3 -m compileall tools/convert_i18n_zh_tw.py
  • Custom JSON key/placeholder parity check between zh-CN.json and zh-TW.json
  • go test ./...

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.

1 participant