Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chromeos / ime / input_methods.txt
1 # The list of keyboard layouts that we support. The keyboard layout metadata is
2 # also defined here.
3 #
4 # Each non-comment line contains the following tab-or-space-separated columns.
5 #
6 # 1) The input method ID used by Chrome. (ex. "xkb:ca::fra") You should *NEVER*
7 #    change the ID since the ID might be written in user's ~/Preferences. For
8 #    example, three-letter ISO 639-2/B codes are used for IDs start with "xkb:"
9 #    for histrical reason, but we should not replace them with two-letter 639-1
10 #    codes that are currently in use in the 3rd column.
11 # 2) The keyboard layout ID used by XKB. (ex. "us", "us(dvorak)", "ca",
12 #    "handwriting-vk,jp"). See also: /usr/share/X11/xkb/symbols.
13 # 3) The language code (ex. "fr"). Only one format, ISO 639-1 compliant two-
14 #    letter language code which can be recognized by ICU, is allowed. Do not use
15 #    three-letter ones (ISO 639-2/T and 639-2/B) here. For "en", "pt", and "zh",
16 #    two-letter upper-case country code should be added (ex. "en-US", "zh-TW").
17 #    See http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for details.
18 #    We can specify multiple language code with comma separator.
19 # 4) The indicator string (ex. INTL for xkb:us:intl:eng). This string will be
20 #    shown in system tray or indicator window.
21 # 5) The additional attibution.
22 #    login: Specified keyboard layout will be used on login screen or lock
23 #    screen.
24 #
25 # Notes:
26 #   When adding a line to this list, please also add a mapping from the input
27 #   method ID to the keyboard overlay ID to INPUT_METHOD_ID_TO_OVERLAY_ID in
28 #
29 #    * tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py
30 #
31 #   and update the following files by running this script.
32 #
33 #    * chrome/app/generated_resources.grd
34 #    * chrome/browser/resources/chromeos/keyboard_overlay_data.js
35 #    * chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc
36 #
37 #   If you add an XKB layout which depends on X11's Mod3Mask (e.g. Germany Neo2
38 #   XKB layout), you should also update IsMod3UsedByCurrentInputMethod() method
39 #   in chrome/browser/ui/ash/event_rewriter.cc. Otherwise, Mod3Mask might be
40 #   removed unexpectedly by the rewriter.
41 #
42
43 # U.S. English
44 xkb:us::eng           us             en-US,en-AU,id,fil,ms US   login
45 xkb:us:intl:eng       us(intl)       en-US,nl,pt-BR        INTL login
46 xkb:us:altgr-intl:eng us(altgr-intl) en-US                 EXTD login
47 xkb:us:dvorak:eng     us(dvorak)     en-US                 DV   login
48 xkb:us:colemak:eng    us(colemak)    en-US                 CO   login
49 # U.S. English entiries have to be above the Dutch entry so that xkb:us:intl:eng
50 # will be selected as the default keyboard when the UI language is set to Dutch.
51
52 # Dutch
53 xkb:be::nld  be nl BE login
54 # We don't support xkb:nl::nld. See b/4430951.
55
56 # French
57 xkb:fr::fra    fr     fr FR login
58 xkb:be::fra    be     fr BE login
59 xkb:ca::fra    ca     fr CA login
60 xkb:ch:fr:fra  ch(fr) fr CH login
61 xkb:ca:multix:fra ca(multix) fr CA login
62
63 # German
64 xkb:de::ger     de      de DE  login
65 xkb:de:neo:ger  de(neo) de NEO login
66 xkb:be::ger     be      de BE  login
67 xkb:ch::ger     ch      de CH  login
68
69 # Japanese
70 # |kMozcJaInputMethodIds| in ibus_ui_controller.cc should also be updated when
71 # a new Mozc Japanese IME for another keyboard layout is added.
72 xkb:jp::jpn  jp ja JA login
73
74 # Russian
75 xkb:ru::rus          ru           ru RU
76 xkb:ru:phonetic:rus  ru(phonetic) ru RU
77
78 # Keyboard layouts.
79 xkb:br::por           br             pt-BR     BR login
80 xkb:bg::bul           bg             bg        BG
81 xkb:bg:phonetic:bul   bg(phonetic)   bg        BG
82 xkb:ca:eng:eng        ca(eng)        en-CA     CA login
83 xkb:cz::cze           cz             cs        CZ login
84 xkb:cz:qwerty:cze     cz(qwerty)     cs        CS login
85 xkb:ee::est           ee             et        EE login
86 xkb:es::spa           es             es        ES login
87 xkb:es:cat:cat        es(cat)        ca        CAS login
88 xkb:dk::dan           dk             da        DK login
89 xkb:gr::gre           gr             el        GR
90 xkb:il::heb           il             he        IL
91 xkb:latam::spa        latam          es,es-419 LA login
92 xkb:lt::lit           lt             lt        LT login
93 xkb:lv:apostrophe:lav lv(apostrophe) lv        LV login
94 xkb:hr::scr           hr             hr        HR login
95 xkb:gb:extd:eng       gb(extd)       en-GB     GB login
96 xkb:gb:dvorak:eng     gb(dvorak)     en-GB     DV login
97 xkb:fi::fin           fi             fi        FI login
98 xkb:hu::hun           hu             hu        HU login
99 xkb:it::ita           it             it        IT login
100 xkb:is::ice           is             is        IS login
101 xkb:no::nob           no             nb        NO login
102 xkb:pl::pol           pl             pl        PL login
103 xkb:pt::por           pt             pt-PT     PT login
104 xkb:ro::rum           ro             ro        RO login
105 xkb:se::swe           se             sv        SE login
106 xkb:sk::slo           sk             sk        SK
107 xkb:si::slv           si             sl        SI login
108 xkb:rs::srp           rs             sr        RS
109 xkb:tr::tur           tr             tr        TR login
110 xkb:ua::ukr           ua             uk        UA
111 xkb:by::bel           by             be        BY
112 xkb:am:phonetic:arm   am             hy        AM
113 xkb:ge::geo           ge             ka        GE
114 xkb:mn::mon           mn             mn        MN
115 # TODO(yusukes): Support xkb:latam:deadtilde:spa and/or xkb:latam:nodeadkeys:spa
116 # if necessary.