Commit e8fb3078 by olly Committed by Oliver Woodman

Normalize language code independently of device language

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=184120873
parent 696ebf3d
......@@ -262,7 +262,7 @@ public final class Util {
try {
return language == null ? null : new Locale(language).getISO3Language();
} catch (MissingResourceException e) {
return language.toLowerCase();
return toLowerInvariant(language);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment