Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d05170a authored by Scott Rowe's avatar Scott Rowe
Browse files

docs: b/14510382 ISO language code, add link

Change-Id: Id78858743b453d9e44624f491db183d9a099a1ce
parent 0e286ab1
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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>