问题
I have the next localization in my app:
values
values-es
values-es-rMX
When I have locale of the device set to es_EC (Ecuador), I see strings from MX folder! But accordingly to this tutorial, I should see strings from base ES folder (actually, this is the goal).
Why is it happening and how can I get correct app behavior?
I'm using an emulator with API level 28.
回答1:
Okay, the answer is on another StackOverflow question, the reason is the same, this is intended behavior for Android system.
来源:https://stackoverflow.com/questions/61544679/android-wrong-locale-resolution-for-es-ec-language