Reputation: 17
I am trying to localise an app I wrote for french, german, spanish, and polish. For all strings I have achieved this by adding folders: values-de, values-fr, values-es and values-pl and translating the strings.xml in each folder into the respective languages. I am having trouble doing this with the images I am using, I have a tab host layout that displays an image for each tab. I have tried adding into resources the following folders: drawable-de-hdpi, drawbale-fr-hdpi, drawable-pl-hdpi, drawabel-es-hdpi(done for each pixed density respectively), and putting the correct images corresponding to the countries in each. However when I change the phone settings to French for example the strings translate fine on the app, but the images remain in the english setting.
Please note the possible previous solution @PedroHawk linked I had already tried and did not work for me thanks!
Upvotes: 1
Views: 2617
Reputation: 131
You can create different density-wise folders in similar way. Goodluck!
Upvotes: 5