Repository navigation
Conversation
Add an optional Korean slot to catalog messages. Keys without a Korean translation render in English, while zh-CN and zh-TW stay required. Translate the common and composer catalogs. Korean applies when the system locale is ko or ko-*. Rust-owned copy stays English during the rollout. Refs apache#3975 Generated-by: Claude Code (claude-opus-5-5) Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
First Rust-side Korean localization PR, following the scope agreed in #3975.
Messagegains an optional fourth slot:[en, zhCN, zhTW, ko?]. A key without Korean renders in English.zh-CNandzh-TWstay required by the type, and there are no English stubs in thekoslot.languageIndexmatcheskoandko-*, but not tags such askok-IN.displayTextfalls back throughkoas well.locale-commonandlocale-composerare translated, including the shared messages they reference. That is 63 of the 1,505 keys used by the workbench.Refs #3975
Behavior during the rollout
Rust-owned copy stays English in Korean, as discussed in #3975.
LanguageandLanguagePreferenceare unchanged, so:autoand the system locale is Korean. Korean is not in the language picker yet, and the wire format doesn't change.en,zh-CNorzh-TWpreference still wins.ko-*still normalizes toenthroughLanguagePreference::from_locale, so it doesn't select Korean. I confirmed this by reading the code and didn't run it.Unused exports in
plugins/sharedare left untranslated.Verification
After rebasing onto
8a83fcff8:node --test products/maka/workbench/tests/*.test.mjs: 86 passedtsc -p products/maka/bundle/tsconfig.json: passedBefore the rebase, on
fa1b92765:node scripts/ci.mjs run contracts,node scripts/ci.mjs run productandnode scripts/rust/build-cli.mjs: passedplugins/shared/locale.tsmakes 2 of the 4 new tests failLANG=ko_KR.UTF-8 maka terminal-shellwith a temporaryHOMEand Root, captured through a PTY and rendered with pyte:Not run:
clippy,node scripts/ci.mjs run rootand the desktop app. This change has no Rust source edits, but the catalogs are embedded in the build, so I'd rely on CI for those. The desktop app is untested, and this draft has text output rather than a screenshot.AI use
Select exactly one:
Tool(s) and scope: Claude Code implemented the catalog change and test and drafted the translations. I reviewed the translations.
Checklist
Does this PR entail a change in behavior?
🤖 Generated with Claude Code