summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Eric Schmidt <erschmid@google.com> 2016-09-19 19:51:56 +0000
committer android-build-merger <android-build-merger@google.com> 2016-09-19 19:51:56 +0000
commit92de673e07943bd22c01c6c1d19a9e98feff7d70 (patch)
treebadea807b30e68bcc8a672c6311e09d0df0f3531
parent731918e7694d1c8f6e09172e51dea9e59ca4ffca (diff)
parent8350cbf824fb56302eae2d5b02197055fc6a848c (diff)
docs: Fixed language directory issue localization
am: 8350cbf824 Change-Id: I7dccff2f3cee2468131497723b8fefbf7e7e99bb
-rw-r--r--docs/html/guide/topics/resources/multilingual-support.jd18
1 files changed, 10 insertions, 8 deletions
diff --git a/docs/html/guide/topics/resources/multilingual-support.jd b/docs/html/guide/topics/resources/multilingual-support.jd
index 8d8484b262e9..28699fe01a06 100644
--- a/docs/html/guide/topics/resources/multilingual-support.jd
+++ b/docs/html/guide/topics/resources/multilingual-support.jd
@@ -88,15 +88,17 @@ today.</p>
<h2 id="postN">Improvements to Resource-Resolution Strategy</h2>
<p>Android 7.0 (API level 24) brings more robust resource resolution, and
- finds better fallbacks automatically. However, to speed up resolution and
- improve
+ finds better fallbacks automatically.
+ However, to speed up resolution and improve
maintainability, you should store resources in the most common parent dialect.
- For example, if you were storing Spanish resources in the {@code es-US}
- directory
- before, move them into the {@code es-419} directory, which contains Latin
- American Spanish.
- Similarly, if you have resource strings in a folder named {@code en-GB}, rename
- the folder to {@code en-001} (international English), because the most common
+ For example, if you were storing Spanish resources
+ in the {@code values-es-rUS} directory
+ before, move them into the {@code values-b+es+419} directory,
+ which contains Latin American Spanish.
+ Similarly, if you have resource strings in a
+ directory named {@code values-en-rGB}, rename
+ the directory to {@code values-b+en+001} (International
+ English), because the most common
parent for <code>en-GB</code> strings is {@code en-001}.
The following examples explain why these practices improve performance and
reliability of resource resolution.</p>