Skip to content

fix: fresh installs rendered Traditional Chinese on zh-Hans devices - #12

Merged
ghostcoder42 merged 1 commit into
mainfrom
fix/initial-language-script
Sep 8, 2026
Merged

ghostcoder42 merged 1 commit into
mainfrom
fix/initial-language-script

Conversation

@ghostcoder42

Copy link
Copy Markdown
Owner

The i18n bootstrap matched the bare languageCode ('zh' for every Chinese locale) while the settings selector resolved via languageTag, so the two disagreed on first launch. The locale mapping now lives only in index.ts's initialLanguage; utils.getDefaultLanguage reads the resulting i18n.language instead of re-deriving it.

The i18n bootstrap matched the bare languageCode ('zh' for every
Chinese locale) while the settings selector resolved via languageTag,
so the two disagreed on first launch. The locale mapping now lives only
in index.ts's initialLanguage; utils.getDefaultLanguage reads the
resulting i18n.language instead of re-deriving it.
@ghostcoder42
ghostcoder42 merged commit c0d9729 into main Sep 8, 2026
1 check passed
@ghostcoder42
ghostcoder42 deleted the fix/initial-language-script branch September 8, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant