Repository navigation
Offering a Simplified Chinese (zh-Hans) localization #735
Replies: 1 comment
|
Hi cfanmaoli, Thanks for looking into this! For sure it's a large change that has to be done cautiously. On the LLM topic - with translations it's a bit easier than with vibe-code, though of course all strings need to be verified by a human eye... Regarding the user-visible strings that "leaked" into the source code - let's fix that first, so that the translation is confined to the Once this preparation is done, I think a normal PR would be just fine. Of course I'll need to figure out how to somehow verify the translation, since I personally don't know this language... |
Uh oh!
There was an error while loading. Please reload this page.
Hi Michael,
CONTRIBUTING.md asks people who want to translate to reach out first, so this is me reaching out before opening anything.
The offer: a Simplified Chinese (
zh-Hans) localization of Nimble Commander.What exists so far, on a local branch based on
main(034b970):zh-Hansadded to all 54 String Catalogs — 1402 entries, covering both the programmatic strings and the XIB-extracted ones (including the ~1300 that already have Russian).knownRegionsof the six projects that carry localizable resources: NimbleCommander, Panel, Operations, Viewer, CUI, RoutedIO.PreferencesWindowThemesTabModel.mm, i.e. every label in Preferences → Themes, which is English-only today even in Russian. This part is easy to drop if you'd rather not take code changes.Scripts/run_clang_format.sh --checkpasses.A few samples:
To check that it actually renders, I also built a throwaway preview: compiled the catalogs into
zh-Hans.lproj/*.strings, injected them into the installed 1.9.0 app and re-signed it ad-hoc. All 1402 entries resolve, and 1304 of them hit keys the shipped binary genuinely looks up.Full disclosure: the bulk of the text was produced with substantial LLM assistance — I directed it and reviewed the terminology and the diff, but I'm not going to pretend I typed 1402 strings by hand. I did read the note in CONTRIBUTING.md that LLM-generated pull requests are not welcome, which is exactly why I'm asking first instead of just opening one.
What I'd like to know:
zh-Hanslocalization something you want in the project at all?.xcstringsand project changes as a patch, leaving the code files to you, orA plain "not interested" or "not right now" is a perfectly fine answer — I'd just rather ask than drop a large PR on you.
Thanks for Nimble Commander.
All reactions