Skip to content

feat(cjk): pass the full locale to the CJK plugin - #1089

Merged
LeanBitLab merged 1 commit into
mainfrom
feat/zh-traditional
Dec 4, 2026
Merged

LeanBitLab merged 1 commit into
mainfrom
feat/zh-traditional

Conversation

@LeanBitLab

Copy link
Copy Markdown
Owner

The CJK plugin only received the language (zh), so it could not tell Traditional from Simplified Chinese. It now receives the full language tag (e.g. zh-TW). The plugin already splits the language off, so released versions keep working.

Needed for Traditional output in LeanBitLab/LeanType-CJK-Plugin.

Tested: CJK unit tests, standard debug build, and Traditional output on a device with the matching plugin build.

Lets the plugin tell Traditional Chinese (zh-TW, zh-HK) from Simplified.
@LeanBitLab
LeanBitLab merged commit 8ad003b into main Dec 4, 2026
1 check passed
@LeanBitLab
LeanBitLab deleted the feat/zh-traditional branch December 4, 2026 20:14
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