diff options
author | 2012-07-25 12:48:03 +0900 | |
---|---|---|
committer | 2012-07-25 14:39:11 +0900 | |
commit | 42208100d87769006d0448db604a2efa1048b5d3 (patch) | |
tree | 8270831f7d978f33189a010454abdebf9dc9b0eb /java | |
parent | 369e54cc338d8115d63138663b882f56208d7ec3 (diff) | |
download | latinime-42208100d87769006d0448db604a2efa1048b5d3.tar.gz latinime-42208100d87769006d0448db604a2efa1048b5d3.tar.xz latinime-42208100d87769006d0448db604a2efa1048b5d3.zip |
Use obsolete language code of Indonesian
The java.lang.Locale will transform the official language code "id" to
the obsolete "in". (new Locale("id")).getLanguageCode() returns
"in". To keep String representation and Locale compatible, we should
use the obsolete "in" as string representation.
This is exactly the same situation of Hebrew ("he" and "iw").
Bug: 6867914
Change-Id: I1a6ea6336d55cbf8a214f025aecf65308fb76140
Diffstat (limited to 'java')
-rw-r--r-- | java/res/xml/method.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/java/res/xml/method.xml b/java/res/xml/method.xml index 41d439e95..b1315c002 100644 --- a/java/res/xml/method.xml +++ b/java/res/xml/method.xml @@ -42,10 +42,10 @@ hi: Hindi/hindi hr: Croatian/qwertz hu: Hungarian/qwertz - id: Indonesian/qwerty + in: Indonesian/qwerty # "id" is official language code of Indonesian. is: Icelandic/qwerty it: Italian/qwerty - iw: Hebrew/hebrew + iw: Hebrew/hebrew # "he" is official language code of Hebrew. ka: Georgian/georgian ky: Kyrgyz/east_slavic lt: Lithuanian/qwerty @@ -197,9 +197,10 @@ android:imeSubtypeMode="keyboard" android:imeSubtypeExtraValue="AsciiCapable,SupportTouchPositionCorrection" /> + <!-- Java uses the deprecated "in" code instead of the standard "id" code for Indonesian. --> <subtype android:icon="@drawable/ic_subtype_keyboard" android:label="@string/subtype_generic" - android:imeSubtypeLocale="id" + android:imeSubtypeLocale="in" android:imeSubtypeMode="keyboard" android:imeSubtypeExtraValue="KeyboardLayoutSet=qwerty,AsciiCapable" /> |