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

Aus Android Wiki
Wechseln zu: Navigation, Suche

Create Locale Directories and String Files[Quelltext bearbeiten]

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.