Posts

Showing posts with the label Android - Localization Tutorial

Android - Localization Tutorial

Image
An android application can run on many devices in many different regions. In order to make your application more interactive, your application should handle text,numbers,files e.t.c in ways appropriate to the locales where your application will be used. The way of changing string into different languages is called as localization In this chapter we will explain , how you can localize your application according to different regions e.t.c. We will localize the strings used in the application, and in the same way other things can be localized. Localizing Strings In order to localize the strings used in your application , make a new folder under  res  with name of  values-local  where local would be the replaced with the region. For example, in the case of italy, the  values-it  folder would be made under res. It is shown in the image below − Once that folder is made, copy the  strings.xml from default folder to the folder you have created...