Repository navigation
Add zh-CN redesigned homepage translations, prune unused keys - #1312
Merged
Merged
Conversation
Add the new hero, launcher and server feature copy, localize the join dialog sample name and NPC state labels, and refresh the reused homepage strings for zh-CN.
Drop 57 stale keys from the locale files: legacy footer and navbar keys, the removed announcement strings, old homepage and feature copy, and two retired UI labels. Removes 1,258 entries across the 24 code.json files.
Add a README section on how code.json is generated and what description is for. Normalize zh-CN's translator descriptions to English, make the remaining strings statically extractable, drop the stale navbar Donate label, and sync the locale with the complete extracted key set so write-translations is a no-op afterward.
Remove duplicated install and development instructions, correct the single-locale build command, and organize the remaining sections by task.
dockfries
requested review from
a team,
NermanLegacy,
Woscript,
daddyDOT,
itsneufox,
midosvt and
ulasbayraktar
as code owners
November 25, 2026 16:09
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.
zh-CN homepage
legend, meta description, social labels, join-dialog sample name, and NPC state labels.
Translation cleanup
code.jsonkeys (1,258 entries across 24 locales): 16 legacy footerlabels, 6 navbar labels, 14 old homepage announcement strings, 10 previous feature-card
strings, 7 old homepage hero/CTA strings, 2 retired
serverInfofields, and 2 obsoletelabels (
partners.note.dismiss,servers.filter.showPartnersOnly).description/key set.
noscript.*,serverRow.addressColumn).Extraction and docs
write-translationsextraction warnings: use the defaultTranslateimport insteadof
{ default as Translate }, make the homepage social labels statically extractable,and drop the stale
item.label.Donatenavbar key.npm run write-translations -- --locale zh-CNnow leaves the worktree clean on a secondrun.
frontend/README.md: document thecode.jsonworkflow, clarify thatstarttakes one locale while
buildaccepts several, and explain single-locale builds andagent-buildbehavior.