Finally OS-Level Per-App Language Settings Are Supported!
summary
Android 13 and AppCompat 1.6.0 alpha04 add OS-level per-app language support using android:localeConfig XML and the ACTION_APP_LOCALE_SETTINGS UI, plus new APIs. Use AppCompatDelegate.setApplicationLocales(...) or setApplicationLocale(s) to switch locales (activities auto-recreate); enable the AppLocales metadata service with autoStoreLocales=true in the manifest to persist choices. Migration requires reading legacy prefs and calling the new API, and notification channels must be re-created manually to update their labels.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:22Per-app language switching
- 3:31Multilocalization in Android
- 5:16Past struggles with per-app language
- 12:19Power Language Preferences
- 13:43Language switching via settings
- 15:51In-app language switching with Up-Compact
- 17:33Storing language settings
- 19:42Migration from older versions
- 20:45Notifications language
- 21:08Live demo: language switching
- 21:49Summary
related talks
10mAndroid app internationalization: users can now choose their application language
15mGoing global: building for a multilingual world
38mTricky Backwards-Compatible Localization
48mTips for Multilingual Support in 17 Countries
27mTexts, dates, numbers, currencies, plurals, etc. App internationalization guide
14mBuilding for a multilingual world
52mAndroid Internationalization: How to Design an App at Global Scale
46mWhen in Rome, speak... maybe not Italian?
