Skip to content

feat(settings): add in-app language switcher - #175

Merged
yuga-hashimoto merged 2 commits into
mainfrom
fix/language-settings
Aug 2, 2026
Merged

feat(settings): add in-app language switcher#175
yuga-hashimoto merged 2 commits into
mainfrom
fix/language-settings

Conversation

@yuga-hashimoto

Copy link
Copy Markdown
Owner

The language preference already existed in the settings repository but was never surfaced in the UI or applied at runtime.

Changes

  • Settings UI: new Language row (Appearance section) with a radio dialog listing all supported locales, defaulting to System default.
  • Runtime application: the chosen locale is now applied via attachBaseContext in AndCodeApplication, MainActivity, and QuickInputActivity through a new AppLanguage helper; selecting a language recreates the activity so it takes effect immediately.
  • README: replaced the stale Bilingual — English and Japanese UI claim with the actual 8 supported locales (en, ja, zh-CN, ru, es, fr, pt-BR, ar) in both README.md and README.ja.md.

AndCode Bot added 2 commits August 2, 2026 01:23
The language preference already existed in the settings repository but was
never surfaced in the UI or applied at runtime. Add a Language row to the
settings screen backed by a radio dialog, apply the chosen locale in the
Application and both Activities via attachBaseContext, and recreate the
activity so the change takes effect immediately.

Also correct the README, which claimed a bilingual (EN/JA) UI while the app
ships eight localized string sets (en, ja, zh-CN, ru, es, fr, pt-BR, ar).
The translation check requires every source key to exist in all values-*
files. Add the language selector strings (translated row/dialog/system
labels, plus native display names) to all seven locales.
@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Debug APK built successfully

Download APK artifact
View workflow run

Commit: b7983be5c7c2 | Artifact expires in 14 days.

@yuga-hashimoto
yuga-hashimoto merged commit d71beca into main Aug 2, 2026
5 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