Discussion in 'Android Development' started by oror494, Jul 21, 2010.
i want to Localize the android ui to a diffrent language
how I do it?
what program do I need to use?
In your res folder in your project, create another folder called values-it for example, substituting the two letter language code of your choice for "it". Optionally, you could do something like values-en-uk which not only specifies the language, but also the region (in this case, uk), you can find a full list of supported languages and regions on the android developer site. once you have that then you just create a copy of your stings.xml etc... into your new directory (keepin the names the same) and changine the strings to whatever language you want. The android os will automatically pick the best option based on your phone's local settings.
ok how do i open the .xml file?
Have you made the app yet? You open it the same way you open ylur layout files. Lol however the strings.xml will probably need created as eclipse doesnt create it for you.