Simplified Chinese for the in-game menu? #2157
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot#2157
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The idea
I've translated the Insert/F1 menu into Simplified Chinese on my own build
(items, tooltips, Debug page, control bindings — 413 strings). Screenshot attached.
Before doing it properly I'd like to ask:
separate header per language?
third_party/fonts (SIL OFL, like Libertinus) should be enough. Any objection?
Happy to do the work and keep it English-by-default.
The menu is drawn with Dear ImGui 1.92, which rasterizes glyphs on demand (ImFontBaked_BuildLoadGlyph), so no GlyphRanges work is needed — a source font with CJK coverage is enough. All menu text lives as literals in gpu/vk/vk_menu.cpp: the Row rows[] table (71 entries, name + help) and the MENU_HINTS tables. I've gone through them row by row and have 413 strings ready — all four tabs, the Debug page with its 12 tools, the item list, the teleport list and the control bindings.
Anything else
No response
Thanks for the report. Reports of the same problem are now collected in #1007, which lists this one with your details and links back here, so one fix closes them together and the open list stays readable. Follow #1007 for the fix, and add new details there (or here). If this turns out to be a separate problem it will be reopened.