Repository navigation
Add Simplified Chinese (zh_cn) localization - #301
Merged
Merged
Conversation
Full zh_cn translation covering every key generated by ModLanguageProvider, 2805 entries in total, matching en_us.json key-for-key. Naming conventions: - Materials follow the shape <material><form> (Aluminum Ingot -> 铝锭) - Buckets read 桶装<fluid> (Steam Bucket -> 桶装蒸汽) - Fission fuels keep the classic NC scheme, e.g. Fuel Uranium HEU-235 OX -> 高浓度铀-235-氧化物燃料 - Isotope cladding uses hyphen separators for readability (Uranium 235 Ni -> 铀-235-氮化物) Hard-coded English strings kept as-is: TRISO, QNP, FLiBe, HEV, 3x3 and the jukebox song titles. Format specifiers (%s, %d, %1$s, %%) verified to match en_us.json one-to-one.
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.
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
Adds a complete Simplified Chinese localization:
src/main/resources/assets/nuclearcraft/lang/zh_cn.json.2805 entries, matching
en_us.jsonone-to-one — every key generated byModLanguageProvideris covered, with no missing and no extra keys.The file lives next to
ru_ru.jsoninsrc/main/resourcesrather thansrc/generated, since it is a hand-maintained translation rather than datagen output (same reasoning as the Russian file).Coverage
Uranium 235 Ni→ 铀-235-氮化物Molten Uranium 238 Ox→ 熔融铀-238-氧化物Active Water Heat Sink→ 运行中水散热器Naming conventions
Translations follow the shapes already established by the older zh_cn file that existed up to 1.20, so existing players' muscle memory still works:
<material><form>—Aluminum Ingot→ 铝锭,Boron Dust→ 硼粉Steam Bucket→ 桶装蒸汽Fuel Uranium HEU-235 OX→ 高浓度铀-235-氧化物燃料,Depleted Uranium LEU-233→ 枯竭低浓度铀-233燃料Uranium 235 Za→ 铀-235-锆合金Plate Elite→ 精英板,Solar Panel Advanced→ 高级太阳能板Deliberately left in English
TRISO,QNP,FLiBe,HEV, grid sizes like3x3, and the jukebox song titles — all are proper nouns or notation where a translation would hurt readability.Verification
%s,%d,%1$s,%%): verified as an exact multiset match againsten_us.jsonfor all 2805 keysFE/t,H/t,keV,MK, …) preserved verbatim./gradlew clean buildpasses; the file is packaged into the jar atassets/nuclearcraft/lang/zh_cn.json(md5 verified against source)Note on a pre-existing gap (not touched by this PR)
While cross-checking I noticed that 75 keys referenced from Java (e.g.
multiblock.validation.wrong_outer,multiblock.turbine.bearing_count) have no English entry inen_us.json— so English players currently see raw key strings for multiblock validation failures. The same gap exists inru_ru.json. I left this alone to keep this PR a pure translation change; happy to submit a follow-up if you'd like.Translated with careful attention to the nuclear terminology (α/β decay, isotopes, cladding forms) and to preserving the mod's dry humour in the Ponder tutorials and the Resonite crystal patron anecdotes.