I used this manual to enable per-app language preferences in my Flutter app: https://developer.android.com/guide/topics/resources/app-languages
Language selector appears in the settings, but how to connect it to the FLutter app?
It seems like Flutter does not support this yet, there's an open issue in the code repository about it, in case you want to look.
But, if you really need to add this feature, you can do it manually by adding the configurations in the android project. You can do this by following instructions here. In summarizing, you have to create a new XML file, add a localeConfig tag to your app manifest, and declare supported locales in build.gradle of your app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With