- add sources.
[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-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 additional attibution.
20 #    no-login: Spcified keyboard layout will not be used on login screen or lock
21 #              screen.
22 #
23 # Notes:
24 #   When adding a line to this list, please also add a mapping from the input
25 #   method ID to the keyboard overlay ID to INPUT_METHOD_ID_TO_OVERLAY_ID in
26 #
27 #    * tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py
28 #
29 #   and update the following files by running this script.
30 #
31 #    * chrome/app/generated_resources.grd
32 #    * chrome/browser/resources/chromeos/keyboard_overlay_data.js
33 #    * chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc
34 #
35 #   If you add an XKB layout which depends on X11's Mod3Mask (e.g. Germany Neo2
36 #   XKB layout), you should also update IsMod3UsedByCurrentInputMethod() method
37 #   in chrome/browser/ui/ash/event_rewriter.cc. Otherwise, Mod3Mask might be
38 #   removed unexpectedly by the rewriter.
39 #
40
41 # U.S. English
42 xkb:us::eng     us      en-US,en-AU,id,fil,ms login
43 xkb:us:intl:eng us(intl)        en-US,nl,pt-BR login
44 xkb:us:altgr-intl:eng   us(altgr-intl)  en-US login
45 xkb:us:dvorak:eng       us(dvorak)      en-US login
46 xkb:us:colemak:eng      us(colemak)     en-US login
47 # U.S. English entiries have to be above the Dutch entry so that xkb:us:intl:eng
48 # will be selected as the default keyboard when the UI language is set to Dutch.
49
50 # Dutch
51 xkb:be::nld     be      nl login
52 # We don't support xkb:nl::nld. See b/4430951.
53
54 # French
55 xkb:fr::fra     fr      fr login
56 xkb:be::fra     be      fr login
57 xkb:ca::fra     ca      fr login
58 xkb:ch:fr:fra   ch(fr)  fr login
59 xkb:ca:multix:fra ca(multix) fr login
60
61 # German
62 xkb:de::ger     de      de login
63 xkb:de:neo:ger  de(neo) de login
64 xkb:be::ger     be      de login
65 xkb:ch::ger     ch      de login
66
67 # Japanese
68 # |kMozcJaInputMethodIds| in ibus_ui_controller.cc should also be updated when
69 # a new Mozc Japanese IME for another keyboard layout is added.
70 xkb:jp::jpn     jp      ja login
71
72 # Russian
73 xkb:ru::rus     ru      ru
74 xkb:ru:phonetic:rus     ru(phonetic)    ru
75
76 # Keyboard layouts.
77 xkb:br::por     br      pt-BR login
78 xkb:bg::bul     bg      bg
79 xkb:bg:phonetic:bul     bg(phonetic)    bg
80 xkb:ca:eng:eng  ca(eng) en-CA login
81 xkb:cz::cze     cz      cs login
82 xkb:cz:qwerty:cze       cz(qwerty)      cs login
83 xkb:ee::est     ee      et login
84 xkb:es::spa     es      es login
85 xkb:es:cat:cat  es(cat) ca login
86 xkb:dk::dan     dk      da login
87 xkb:gr::gre     gr      el
88 xkb:il::heb     il      he
89 xkb:latam::spa  latam   es,es-419 login
90 xkb:lt::lit     lt      lt login
91 xkb:lv:apostrophe:lav   lv(apostrophe)  lv login
92 xkb:hr::scr     hr      hr login
93 xkb:gb:extd:eng gb(extd)        en-GB login
94 xkb:gb:dvorak:eng       gb(dvorak)      en-GB login
95 xkb:fi::fin     fi      fi login
96 xkb:hu::hun     hu      hu login
97 xkb:it::ita     it      it login
98 xkb:is::ice     is      is login
99 xkb:no::nob     no      nb login
100 xkb:pl::pol     pl      pl login
101 xkb:pt::por     pt      pt-PT login
102 xkb:ro::rum     ro      ro login
103 xkb:se::swe     se      sv login
104 xkb:sk::slo     sk      sk
105 xkb:si::slv     si      sl login
106 xkb:rs::srp     rs      sr
107 xkb:tr::tur     tr      tr login
108 xkb:ua::ukr     ua      uk login
109 xkb:by::bel     by      be
110 xkb:am:phonetic:arm     am      hy
111 xkb:ge::geo     ge      ka
112 xkb:mn::mon     mn      mn
113 # TODO(yusukes): Support xkb:latam:deadtilde:spa and/or xkb:latam:nodeadkeys:spa
114 # if necessary.