Hi!!!

It's really easy!! you must have got one /res/values for default
language for you application and other folder "values" for each
language that you support, for example for spanish you must have one /
res/values-es  inside each values folder you must put your keys-values
files, for example strings.xml, in all files you have the same keys
but in each different  files, you have language sensible keys, for
example in /res/values/strings.xml you can have <string
name="settings">Settings</string> and in /res/values-es/strings.xml
you have got <string name="settings">Ajustes</string>

For more information (official android developers page) ==>
http://developer.android.com/guide/topics/resources/resources-i18n.html

I hope i helped,..

See u!!!

On 6 mar, 06:45, Bo Yan <[email protected]> wrote:
> Hi everyone,
>
> Is there a way to get the application label in different languages
> according to locale? For example, I can get the application label
> "Settings" of package com.android.settings in English, "Ajustes" in
> Spanish.

-- 
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

Reply via email to