* commit '3d55247a3f8e488b13f7f467cbc70ac4864d2dd2': docs: b/14510382 ISO language code, add link
This commit is contained in:
@@ -40,10 +40,11 @@ your string values.</p>
|
|||||||
<h2 id="CreateDirs">Create Locale Directories and String Files</h2>
|
<h2 id="CreateDirs">Create Locale Directories and String Files</h2>
|
||||||
|
|
||||||
<p>To add support for more languages, create additional <code>values</code> directories inside
|
<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
|
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
|
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
|
<p>Once you’ve decided on the languages you will support, create the resource subdirectories and
|
||||||
string resource files. For example:</p>
|
string resource files. For example:</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user