What\'s the locale code for Hebrew in Android resources, like strings (values-XX)? And where to find other codes?
Thanks in advance.
I think that in practice, this is not the case. From the localization guide: "Note that Java uses several deprecated two-letter codes. The Hebrew ("he") language code is rewritten as "iw"..."
The language is defined by a two-letter ISO 639-1 language code, optionally followed by a two letter ISO 3166-1-alpha-2 region code (preceded by lowercase "r").
from Providing Resources
According to the linked table, he
is the qualifier for hebrew.
Note: Some devices use iw
instead, as Error 545 noted in the comments, so you better check for both cases. See this question for more information.