Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: base/android/java/src/org/chromium/base/LocaleUtils.java

Issue 2615753004: Android: Stop including unsupport locales in resources.arsc (Closed)
Patch Set: Make monochrome include all locales Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/system_webview_apk_tmpl.gni ('k') | build/android/gyp/package_resources.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/java/src/org/chromium/base/LocaleUtils.java
diff --git a/base/android/java/src/org/chromium/base/LocaleUtils.java b/base/android/java/src/org/chromium/base/LocaleUtils.java
index e0af2e267e30a0f0000dc6e01b3cdbeffb0dbb59..2f514556e9705bb3521ee99618c3d6e1acb190fe 100644
--- a/base/android/java/src/org/chromium/base/LocaleUtils.java
+++ b/base/android/java/src/org/chromium/base/LocaleUtils.java
@@ -31,6 +31,8 @@ public class LocaleUtils {
private static final Map<String, String> LANGUAGE_MAP_FOR_ANDROID;
static {
+ // A variation of this mapping also exists in:
+ // build/android/gyp/package_resources.py
HashMap<String, String> mapForChromium = new HashMap<>();
mapForChromium.put("iw", "he"); // Hebrew
mapForChromium.put("ji", "yi"); // Yiddish
« no previous file with comments | « android_webview/system_webview_apk_tmpl.gni ('k') | build/android/gyp/package_resources.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698