diff options
author | Scott Rowe <scottrowe@google.com> | 2014-05-16 14:31:46 -0700 |
---|---|---|
committer | Scott Rowe <scottrowe@google.com> | 2014-05-16 22:33:12 +0000 |
commit | 6d05170a55ac6a9401e6089ba49d675857c3c25d (patch) | |
tree | de9915971cfbbad66f323369c9f74d9b09fe08f2 /docs/html/training/basics | |
parent | 0e286ab1f0eaeb2bb75c7a76ff8f3d08267e7fc3 (diff) | |
download | frameworks_base-6d05170a55ac6a9401e6089ba49d675857c3c25d.zip frameworks_base-6d05170a55ac6a9401e6089ba49d675857c3c25d.tar.gz frameworks_base-6d05170a55ac6a9401e6089ba49d675857c3c25d.tar.bz2 |
docs: b/14510382 ISO language code, add link
Change-Id: Id78858743b453d9e44624f491db183d9a099a1ce
Diffstat (limited to 'docs/html/training/basics')
-rw-r--r-- | docs/html/training/basics/supporting-devices/languages.jd | 5 |
1 files changed, 3 insertions, 2 deletions
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.</p> <h2 id="CreateDirs">Create Locale Directories and String Files</h2> <p>To add support for more languages, create additional <code>values</code> directories inside -<code>res/</code> that include a hyphen and the ISO country code at the end of the +<code>res/</code> that include a hyphen and the ISO language code at the end of the directory name. For example, <code>values-es/</code> 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.</p> +according to the locale settings of the device at run time. For more information, see + <a href="{@docRoot}guide/topics/resources/providing-resources.html#AlternativeResources">Providing Alternative Resources</a>.</p> <p>Once you’ve decided on the languages you will support, create the resource subdirectories and string resource files. For example:</p> |