Improve Vietnamese language pack with bundled fonts and i18n infrastructure#1564
Conversation
Expand Vietnamese translations, add per-language font support (Be Vietnam Pro + Roboto), UTF-8 language file I/O, native display names in the language picker, and text cache refresh on language change. Co-authored-by: Cursor <cursoragent@cursor.com>
Theme font settings were showing raw FontPurpose enum names. Look up labels from fontPurposeSizes in language JSON with readable English defaults. Co-authored-by: Cursor <cursoragent@cursor.com>
Add Language helpers for labels, enums, booleans, and controller inputs. Wire theme settings, WiFi/Bluetooth, activity tracker, main menu, and popup menus through language packs with Vietnamese and English translations. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Thanks for the PR! Unfortunately we need it to be targeted against the Development branch instead of Main. once you update it I’m happy to merge! |
Yes, thank you, I'll do it right away. |
Resolve theme_settings_system_select_menu conflict: keep vertical carousel behavior from Development with Language.label i18n for dynamic labels. Co-authored-by: Cursor <cursoragent@cursor.com>
…evelopment merge.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Drop bundled Roboto files that were never referenced by Vietnamese.json, and translate delete ROM/boxart confirmation and success messages.
Update for reviewersThanks for asking to retarget this PR to Development — branch is rebased/merged and pushed. What this PR addsVietnamese language pack
i18n infrastructure (PyUI)
Bundled fonts (Vietnamese diacritics)
Latest commit (
Merge status
Suggested device test (TrimUI Smart Pro S)
Happy to adjust anything before merge. Thanks again for reviewing! |
Route spruce-config category labels, option names, descriptions, and values through Language helpers, and localize power/WiFi/ROM/theme prompts still shown in English.
Finish remaining user-visible English in box art download flow, ROM count labels, activity duration text, and related WiFi helper messages.
Co-authored-by: Cursor <cursoragent@cursor.com>
Load Language right after config init so per-language fonts are available when Theme and Display first render, avoiding mixed startup state on non-English locales. Co-authored-by: Cursor <cursoragent@cursor.com>
Move Display and Language imports back into methods so theme loading does not crash before the main menu opens.
|
@vigstudio here is where PyUI's primary source is located. If you want to show in the githistory / repo there please make a duplicate PR : https://github.com/chrisj951/MainPyUI Otherwise i'll sync it later |
Summary
Vietnamese.json) translations and add native display name "Tiếng Việt"fontsin language JSON (Be Vietnam Pro + Roboto for Vietnamese diacritics)App/PyUI/fonts/with license texts inLicenses/fonts/Test plan