I would like to enable "English (XA)" and "عربى" (XB) locales en-XA and ar-XB to make sure my app layouts are ready for translation, similar to what the article describes here. However, it is not available in the official Android emulator settings. I have tried several images and cannot find these pseudo-localization languages. Is there a setting or trick to enable them?
Try this:
Developer Options
, by tapping on Build number 7+ times.Restart
option.Add Language
page. Choose your psuedolocale.pseudoLocalesEnabled true
to your build.gradle
and build your app.app/build.gradle:
android {
...
buildTypes {
debug {
pseudoLocalesEnabled true
}
}
from https://developer.android.com/guide/topics/resources/pseudolocales
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