mirror of
https://github.com/wger-project/flutter.git
synced 2026-11-30 01:41:05 +01:00
fix: address review comments (fix syntax and update README)
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:enableOnBackInvokedCallback="true"
|
||||
android:networkSecurityConfig="@xml/network_security_config"
|
||||
android:localeConfig="@xml/locales_config"> ```
|
||||
android:localeConfig="@xml/locales_config">
|
||||
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
|
||||
@@ -18,4 +18,12 @@ Remove unused keys from the arb files (this removes both `key` as well as `@key`
|
||||
```bash
|
||||
cd lib/l10n
|
||||
dart remove_keys.dart arbKey1 anotherArbKey
|
||||
```
|
||||
```
|
||||
|
||||
## Android 13+ Per-App Language Support
|
||||
|
||||
When adding a new language (e.g. adding a new `app_<locale>.arb` file), please ensure that the new locale is also registered in:
|
||||
|
||||
`android/app/src/main/res/xml/locales_config.xml`
|
||||
|
||||
This is required so the new language appears in the Android system settings for per-app language preferences.
|
||||
Reference in New Issue
Block a user