Reputation: 493
It is really strange since I have made a few apps with the same structure and it always have worked before.
The thing is I have an app in some languages, Spanish, English, etc, with the proper res/values-es , res/values, etc
Default language is English in the google play app section and res/values is in english, but I'm receiving complaining for user that say they are viewing the app in Spanish, having the phone in English and being in the USA.
And the even more strange is that I am in Spain, and I configure the phone in English and I can view the app in English ...
So weird.
Any tips on this?
Upvotes: 1
Views: 3266
Reputation: 9375
I'm not sure what the problem is, but if the fix needed is urgent. A quick workaround would be to create a res/values-en-rUS/strings.xml
resource until you can figure out what's truly causing this issue.
If the locale is ‘en-US’, Android will look for a value of “R.string.title” by searching the files in the following order:
- ‘res/values-en-rUS/strings.xml’
- ‘res/values-en/strings.xml’
- ‘res/values/strings.xml’
Upvotes: 1