Hi,
All you need to do is place your resources in locale specific
directories. For instance:
res\
drawable-en\
values-fr\
layout-jp\
In your example to localize the app in English and German, you would have:
res\
values\
strings.xml
values-de\
strings.xml
And Android will automatically pick up the right strings.xml at
runtime, depending on the locale. If you want to know more about
resources and configurations, please read
http://code.google.com/android/devel/resources-i18n.html
On Fri, Jan 23, 2009 at 10:10 PM, Raja Nagendra Kumar
<[email protected]> wrote:
>
> Is there any good example to show how a single compiled application
> could support both english and say germany..
>
> The aapt approach and Resource R.java approach seems to me that, we
> may need to have one binary for english and one for germany etc..and
> so on..
>
> Like in J2ME, could we switch the language at runtime..
>
> Regards,
> Raja Nagendra Kumar,
> C.T.O
> www.tejasoft.com
> >
>
--
Romain Guy
Android framework engineer
[email protected]
Note: please don't send private questions to me, as I don't have time
to provide private support. All such questions should be posted on
public forums, where I and others can see and answer them
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---