not quite get your question.
selection of the resource folder should be automatic, as indicated in
android-sdk-windows/docs/guide/topics/resources/resources-
i18n.html
the current locale of your phone/emulator can be learned by
Locale.getDefault();
hope this helpful to you.
On Dec 12, 11:25 pm, Kit <[email protected]> wrote:
> i want to create an application which supports both simplified and
> traditional chinese. so i created 2 strings.xml in values-zh-rCN (sim.
> chi) and values-zh-rTW (tra. chi). but then i run the application in
> the emulator, it seems that only the default strings.xml is loaded.
>
> i tried to use values-zh as the strings.xml folder. it will be loaded
> for both zh-CN and zh-TW locales. so is that i cannot add region code
> for the strings.xml?
>
> Thanks for your answer
>
> Regards,
> Kit
--
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