Dear Mark,
Thank you for your advice.
If I anderstand correctly I only have to create the forders under res/ and
the strings I want to use; and the android platform will choose the correct
one based on the phones settings...
How can I make my application to ask the user in wich language should
provide the menu and all the information and then accept this setting as
default?
I used the following on my main Activity but it allways displays the
res/values-en strings (not even the default res/values).
Locale newLocale = *new* Locale("fr");
Locale.setDefault(newLocale);
2009/1/24 Mark Murphy <[email protected]>
>
> Yiannis santorini wrote:
> > I am new on programming and my first task is to make my application
> > show the main menu (and later all info) in at least two languages.
> > I found something about "locale" but i don't know how to use it.
> > Do I need to create different files or folders?
>
> See:
>
> http://code.google.com/android/devel/resources-i18n.html#AlternateResources
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
>
> Android Training on the Ranch! -- Mar 16-20, 2009
> http://www.bignerdranch.com/schedule.shtml
>
> >
>
--
Yiannis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---