I'm working to localize my app for a number of language. Spanish is working great but Hebrew isn't showing up.
What confuses me is if I put the contents of my Hebrew strings folder in the Spanish folder(values-es) it works great. Spanish in my Hebrew folder(values-he) does not work though...
Any thoughts would be greatly appreciated.
To add multi language support, add additional values directories inside the res/ directory. Once you've decided on the languages you will support, create the resource sub directories and string resource files. For example: Now, add the string values for each locale into the appropriate file.
rogcg is right for most Android devices, but apparently the Samsung Galaxy S2 incompatibly uses locale "he" for Hebrew and ignores values-iw/. If you want to be compatible with those devices too, you need to store duplicate copies in both values-iw/ and values-he/. See also https://stackoverflow.com/a/8573059/405214.
Hebrew is locale like 'iw', and also 'he'.
As the @klausw mentioned in his answer:
you better store duplicate copies in both values-iw/ and values-he/ just to make sure it works in all devices.
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