Add Chinese language support to the overlays #500

Closed
zicrwang wants to merge 3 commits from upstream-pr/500 into main
zicrwang commented 2026-11-27 23:36:37 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by zicrwang on 2026-11-27T23:36:37Z.


Summary

This PR adds Windows display-language detection and Traditional Chinese to the F1 settings menu, F3 stats panel, and FPS overlay.

Changes

  • Keep the F1 setting labeled LANGUAGE in every locale. The options are Auto (Windows), English, 简体中文, and 繁體中文.
  • In Auto, use the first preferred Windows display language and fall back to English. Manual choices apply immediately and use F1's existing settings persistence.
  • Share Unicode rendering across the overlays and keep the selected F1 row and footer visible on small back buffers.

Verification

  • Built the Windows x64 MSVC release with Rust 1.98.1.
  • Passed 116 GPU host tests and one launcher test for reloading a saved language. The host suite reported 16 existing ignored tests.
  • Verified Windows language matching, manual overrides, immediate saving, layout and glyph rendering.

Overlay previews

These previews were rendered on Windows with the production F1 and F3 drawing code at the 1080p overlay scale. F3 uses the same sample values in all three images.

English F1 settings and F3 stats

Simplified Chinese F1 settings and F3 stats

Traditional Chinese F1 settings and F3 stats

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5534495240 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/500). Originally posted by [zicrwang](https://github.com/zicrwang) on 2026-11-27T23:36:37Z. --- ## Summary This PR adds Windows display-language detection and Traditional Chinese to the F1 settings menu, F3 stats panel, and FPS overlay. ## Changes - Keep the F1 setting labeled `LANGUAGE` in every locale. The options are Auto (Windows), English, 简体中文, and 繁體中文. - In Auto, use the first preferred Windows display language and fall back to English. Manual choices apply immediately and use F1's existing settings persistence. - Share Unicode rendering across the overlays and keep the selected F1 row and footer visible on small back buffers. ## Verification - Built the Windows x64 MSVC release with Rust 1.98.1. - Passed 116 GPU host tests and one launcher test for reloading a saved language. The host suite reported 16 existing ignored tests. - Verified Windows language matching, manual overrides, immediate saving, layout and glyph rendering. ## Overlay previews These previews were rendered on Windows with the production F1 and F3 drawing code at the 1080p overlay scale. F3 uses the same sample values in all three images. ![English F1 settings and F3 stats](https://github.com/user-attachments/assets/a647e56a-eb35-4d50-a5d2-c5ed7567b0c2) ![Simplified Chinese F1 settings and F3 stats](https://github.com/user-attachments/assets/30680109-dff6-46c6-9f33-81437e96834c) ![Traditional Chinese F1 settings and F3 stats](https://github.com/user-attachments/assets/40e4070c-727f-4670-9c5d-5aa09e78360d)

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

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