Add build-time localization for the HUD and launcher #3617

Closed
github-bot wants to merge 2 commits from github-bot/gh-3617 into main AGit
Owner

@⁠H-Bole on GitHub · 2026-11-30 01:50 UTC · original
H-Bole:feat/runtime-i18n → main · +2490 −590 · 21 files · 2 commits · closed without merging

What it changes

  • Shares English and Simplified Chinese JSON catalogs across the HUD, CLI and Windows launcher. F1 switches immediately and remembers the selection. The CLI accepts --language, and the launcher accepts -Language.
  • Compiles Rust messages into static tables at build time. Plain lookups borrow text, formatting can write into an existing buffer, and the FPS line is formatted only when the displayed reading or language changes.
  • Keeps the upstream HUD layout and the English diagnostics and progress lines used by scripts. The shader translator’s inputs are unchanged.

How it was tested

  • At 424caf36, the Windows build, all-features check, seven focused Rust tests and repository asset policy passed.
  • Checked bilingual CLI help and errors, language precedence, and PowerShell 5.1 progress parsing. Windows GDI found no missing glyphs in 358 Chinese HUD strings, and the shortened FPS line fit at the tested scales.
  • No game was launched. Full workspace tests were not run.

Checked for overlap

  • Checked related F1 localization work in #2244, #2352, #1997, #1977 and #2755. This update also covers the CLI and launcher through shared, compiled catalogs. Precompile controls remain separate in #3622.
**@⁠H-Bole** on GitHub · 2026-11-30 01:50 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3617) `H-Bole:feat/runtime-i18n` → `main` · +2490 −590 · 21 files · 2 commits · closed without merging ## What it changes - Shares English and Simplified Chinese JSON catalogs across the HUD, CLI and Windows launcher. F1 switches immediately and remembers the selection. The CLI accepts `--language`, and the launcher accepts `-Language`. - Compiles Rust messages into static tables at build time. Plain lookups borrow text, formatting can write into an existing buffer, and the FPS line is formatted only when the displayed reading or language changes. - Keeps the upstream HUD layout and the English diagnostics and progress lines used by scripts. The shader translator’s inputs are unchanged. ## How it was tested - At `424caf36`, the Windows build, all-features check, seven focused Rust tests and repository asset policy passed. - Checked bilingual CLI help and errors, language precedence, and PowerShell 5.1 progress parsing. Windows GDI found no missing glyphs in 358 Chinese HUD strings, and the shortened FPS line fit at the tested scales. - No game was launched. Full workspace tests were not run. ## Checked for overlap - [x] Checked related F1 localization work in #2244, #2352, #1997, #1977 and #2755. This update also covers the CLI and launcher through shared, compiled catalogs. Precompile controls remain separate in #3622.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 01:53:59 +00:00
Author
Owner

@⁠copilot-pull-request-reviewer[bot] on GitHub · 2026-11-30 02:14 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-11-30 02:14 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3617#pullrequestreview-6106142093) · **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.
github-bot changed title from Add Fluent runtime localization to Add build-time localization for the HUD and launcher 2026-12-01 10:07:57 +00:00
github-bot force-pushed github-bot/gh-3617 from 125225f392 to 424caf3642 2026-12-01 10:07:58 +00:00 Compare
Author
Owner

@⁠trustno1-coder on GitHub · 2026-12-01 18:50 UTC · original

Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

**@⁠trustno1-coder** on GitHub · 2026-12-01 18:50 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3617#issuecomment-7321647529) Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
github-bot closed this pull request 2026-12-01 18:58:09 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!3617
No description provided.