Reputation: 939
In my app I support 2 languages: English and Hebrew. I created a file strings.xml
inside the folder values/
and there are all the English strings. I also created a file strings.xml
inside values-he/
folder with the hebrew translations.
But when opening the app in a phone which locale is Israel/hebrew, the user doesn't receives the translation, but only the English texts..
Is there something I'm missing? Do I have to do another thing?
Thanks!
Upvotes: 2
Views: 787
Reputation: 38098
Not only you need the folder
values-he
You also need the folder
values-iw
Because some devices recognize he, some others iw.
So, put the very same files in both folders and you'll have no problems.
Upvotes: 2