Skip to content

feat(i18n): add Traditional Chinese (Taiwan) zh-TW locale - #1214

Open
mixflavor wants to merge 1 commit into
community-archive:mainfrom
mixflavor:feat/zh-tw-locale
Open

feat(i18n): add Traditional Chinese (Taiwan) zh-TW locale#1214
mixflavor wants to merge 1 commit into
community-archive:mainfrom
mixflavor:feat/zh-tw-locale

Conversation

@mixflavor

Copy link
Copy Markdown

What

Fills in the previously-empty src/lang/locale/zh-tw.ts with a complete Traditional Chinese (Taiwan) translation — all 163 UI strings.

Why

zh-tw.ts was an empty {} stub, so Obsidian users whose display language is set to 繁體中文 (zh-TW) had the plugin silently fall back to English (even though helpers.ts already wires up 'zh-TW': zhTW). This gives those users full coverage.

Notes

  • Terminology follows Taiwan conventions (看板 / 卡片 / 清單 / 封存 / 儲存庫 / 中繼資料 …), distinct from the existing Simplified zh-cn locale.
  • All keys match en.ts exactly; typed as Partial<Lang>.
  • Formatted with the repo's Prettier config (prettier --check passes).

🤖 Generated with Claude Code

The zh-tw locale was an empty stub, so Obsidian users with display
language set to 繁體中文 (zh-TW) saw the plugin fall back to English.
This fills it in with a complete set of Traditional Chinese (Taiwan)
translations for all UI strings.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mixflavor
mixflavor force-pushed the feat/zh-tw-locale branch from be908ee to 7f0808c Compare June 5, 2026 23:46
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