问题
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.
回答1:
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.
回答2:
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.
来源:https://stackoverflow.com/questions/8393771/android-not-using-finding-my-hebrew-localization