Dear clever Android coders,
I'm in the process of making one of my applications more localization
aware, and basically I know how I *CAN* make it work, but it seems
somewhat suboptimal. What I'm after is really to make an alias from one
values-xxx/strings.xml to another values-yyy/strings.xml - doing this
for drawables and layouts is no problem, but for "simple" values it
doesn't work the same as far as I can tell. (Yes, I've googled these
groups too, but didn't come up with anything useful.)
For my scenario I need to have a base language (values/strings.xml) that
works for many places, but a handful of the others need to be the same
(both actual languages and mccXXX depending on the device and the SIM
etc) in several groups (per country basically). Obviously I can simply
symlink (though it may confuse Eclipse) or even copy the files, but they
are reasonably large (a few 100 strings each) so I'd prefer to store
them only once in the APK if possible. To my understanding there is fair
optimization going on at runtime, but I still suspect copied files will
also eat memory at that stage compared to a true alias.
I suspect going for just mccXXX would work for 90+% of the users, but
I'd really want to do better than that - especially since I consider
mccXXX somewhat of a hack while waiting for "true local" phones to
arrive to most smaller countries.
Advice appreciated / Jonas
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en