Improve Vietnamese language pack with bundled fonts and i18n infrastructure#1564
Open
vigstudio wants to merge 13 commits into
Open
Improve Vietnamese language pack with bundled fonts and i18n infrastructure#1564vigstudio wants to merge 13 commits into
vigstudio wants to merge 13 commits into
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>
Member
|
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! |
Author
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.
Author
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back 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