Skip to content

fix(i18n): localize the remaining hardcoded screen headers - #115

Merged
os-zhuang merged 1 commit into
mainfrom
fix/i18n-screen-headers
Jun 11, 2026
Merged

fix(i18n): localize the remaining hardcoded screen headers#115
os-zhuang merged 1 commit into
mainfrom
fix/i18n-screen-headers

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Found on the iPhone 17 simulator: the Language screen rendered a hardcoded English "Language" header while the rest of the app was Chinese. The same gap existed on Account, Packages, and Flow-detail.

Route those ScreenHeader titles through i18next:

  • language.tsxcommon.language
  • account.tsxmore.sectionAccount
  • flows/[name]more.flows
  • packages.tsx → new common.packages (en/zh/ar)

Verified on device: the Language header now reads "语言". 1298 tests pass, typecheck + lint clean.

🤖 Generated with Claude Code

Found on the iPhone 17 simulator: the Language screen showed a hardcoded
English "Language" header while the rest of the app was Chinese. The same gap
existed on the Account, Packages, and Flow-detail screens. Route their
ScreenHeader titles through i18next (reusing `common.language`,
`more.sectionAccount`, `more.flows`; new `common.packages` in en/zh/ar).

Verified on device: the Language header now reads "语言". 1298 tests pass,
typecheck + lint clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@os-zhuang
os-zhuang merged commit a577d56 into main Jun 11, 2026
4 checks passed
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