From 6d05170a55ac6a9401e6089ba49d675857c3c25d Mon Sep 17 00:00:00 2001 From: Scott Rowe Date: Fri, 16 May 2014 14:31:46 -0700 Subject: docs: b/14510382 ISO language code, add link Change-Id: Id78858743b453d9e44624f491db183d9a099a1ce --- docs/html/training/basics/supporting-devices/languages.jd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/html/training/basics/supporting-devices/languages.jd b/docs/html/training/basics/supporting-devices/languages.jd index 057103a..a2df2b8 100644 --- a/docs/html/training/basics/supporting-devices/languages.jd +++ b/docs/html/training/basics/supporting-devices/languages.jd @@ -40,10 +40,11 @@ your string values.

Create Locale Directories and String Files

To add support for more languages, create additional values directories inside -res/ that include a hyphen and the ISO country code at the end of the +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.

+according to the locale settings of the device at run time. For more information, see + Providing Alternative Resources.

Once you’ve decided on the languages you will support, create the resource subdirectories and string resource files. For example:

-- cgit v1.1