2

My default app language is English so strings.xml is located under res\values.

My app should also support Hebrew, so I put a Hebrew copy of strings.xml under res\values-he.

My problem is that on some devices, Hebrew is defined as "iw" (instead of "he").

Is there a way to save me the trouble of another copy of strings.xml under res\values-iw, but to have one folder to handle he,iw and use the default values folder for all the rest?

Rahmathullah M
  • 2,676
  • 2
  • 27
  • 44
Asaf Pinhassi
  • 15,177
  • 12
  • 106
  • 130
  • 1
    Create symbolic link as described in answer for this question: [How to re-use strings in multi-language resources](http://stackoverflow.com/a/4334241/716075) – StenaviN Aug 15 '12 at 10:15

1 Answers1

0

It's a known issue and already answered here: CyanogenMod: Translate a Project

So if you want full support on all devices, you have to include both versions. It's just copy & paste, where's the trouble? :)

Community
  • 1
  • 1
jenzz
  • 7,239
  • 6
  • 49
  • 69