Translations:Android Training/Supporting Different Languages/3/en

From Android Wiki
Jump to navigation Jump to search

Create Locale Directories and String Files[edit source]

To add support for more languages, create additional values directories inside res/ that include a hyphen and the ISO language code at the end of the directory name. For example, values-es/ is the directory containing simple resourcess for the Locales with the language code "es". Android loads the appropriate resources according to the locale settings of the device at run time. For more information, see Providing Alternative Resources.