Add Simplified Chinese localization and precompile controls #265

Closed
github-bot wants to merge 0 commits from github-bot/gh-265 into main AGit
Owner

@⁠H-Bole on GitHub · 2026-12-01 05:17 UTC · original
H-Bole:feat/localization-main → main · +91 −38 · 3 files · 73 commits · closed without merging

Follow-up to #119, rebased onto the current main. This is available for review whenever the next release is ready. I can rebase again and translate any strings added before then.

Summary

  • Add English and Simplified Chinese to the launcher, Rust CLI, and Windows scripts using shared UTF-8 language packs with English fallback.
  • Generate the Rust message tables at build time so pipeline worker processes can use them without parsing JSON or allocating catalog maps at startup.
  • Expose precompile worker count and pipeline scope in the launcher and PowerShell, with the existing defaults.
  • Use neutral wording throughout the new text. Preserve the English FPS, shader-cache, and pipeline progress lines that existing tools read.

Verification

  • Built the Rust release and Windows launcher. Passed the existing victory tests, Clippy with diagnostics enabled, and the repository asset policy check.
  • Checked English and Simplified Chinese help, language discovery and fallback, matching placeholders, PowerShell syntax, and the runner output formats against upstream.
**@⁠H-Bole** on GitHub · 2026-12-01 05:17 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/265) `H-Bole:feat/localization-main` → `main` · +91 −38 · 3 files · 73 commits · closed without merging Follow-up to #119, rebased onto the current `main`. This is available for review whenever the next release is ready. I can rebase again and translate any strings added before then. ## Summary - Add English and Simplified Chinese to the launcher, Rust CLI, and Windows scripts using shared UTF-8 language packs with English fallback. - Generate the Rust message tables at build time so pipeline worker processes can use them without parsing JSON or allocating catalog maps at startup. - Expose precompile worker count and pipeline scope in the launcher and PowerShell, with the existing defaults. - Use neutral wording throughout the new text. Preserve the English FPS, shader-cache, and pipeline progress lines that existing tools read. ## Verification - Built the Rust release and Windows launcher. Passed the existing `victory` tests, Clippy with diagnostics enabled, and the repository asset policy check. - Checked English and Simplified Chinese help, language discovery and fallback, matching placeholders, PowerShell syntax, and the runner output formats against upstream.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 05:20:59 +00:00
Author
Owner

@⁠copilot-pull-request-reviewer[bot] on GitHub · 2026-12-01 05:18 UTC · original · reviewed

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

**@⁠copilot-pull-request-reviewer[bot]** on GitHub · 2026-12-01 05:18 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/265#pullrequestreview-6125562544) · **reviewed** Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
Author
Owner

@⁠readmet3xt-lab on GitHub · 2026-12-01 10:50 UTC · original

Checked: nothing harmful in it, it merges on main and passes the lint check, and the new dependency (serde_json, build time) is fine. It is not merged yet for a timing reason only: it rewrites the launcher's and the command line's text paths while a release is being tested through exactly those (the test scripts read the command line's progress lines). It goes in right after that release. It will need a rebase then, since #284 and #277 touch Launcher.cs, run.rs and play-foxhound.ps1 too.

**@⁠readmet3xt-lab** on GitHub · 2026-12-01 10:50 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/265#issuecomment-7308797174) Checked: nothing harmful in it, it merges on main and passes the lint check, and the new dependency (`serde_json`, build time) is fine. It is not merged yet for a timing reason only: it rewrites the launcher's and the command line's text paths while a release is being tested through exactly those (the test scripts read the command line's progress lines). It goes in right after that release. It will need a rebase then, since #284 and #277 touch `Launcher.cs`, `run.rs` and `play-foxhound.ps1` too.
github-bot force-pushed github-bot/gh-265 from 732bbc5bdb to 9734e3241f 2026-12-01 11:37:38 +00:00 Compare
Author
Owner

@⁠H-Bole on GitHub · 2026-12-01 11:39 UTC · original

Thanks, @⁠readmet3xt-lab! I rebased #265 onto ca686ed, resolved the #284 conflicts, and kept the English progress lines your release tests read. The Windows launcher build, 15 Rust tests, and diagnostics build check passed locally. It’s ready to merge when your release testing is done.

**@⁠H-Bole** on GitHub · 2026-12-01 11:39 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/265#issuecomment-7309948846) Thanks, @⁠readmet3xt-lab! I rebased #265 onto `ca686ed`, resolved the #284 conflicts, and kept the English progress lines your release tests read. The Windows launcher build, 15 Rust tests, and diagnostics build check passed locally. It’s ready to merge when your release testing is done.
github-bot closed this pull request 2026-12-02 07:54:55 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.