blob: 92778c62dec9ca22f3fe02b14425401c02a95543 [file] [log] [blame]
Tadashi G. Takaoka61351422011-02-24 14:49:27 +09001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
Tadashi G. Takaokac02a3652013-08-15 12:05:14 +09005** Copyright 2013, The Android Open Source Project
Tadashi G. Takaoka61351422011-02-24 14:49:27 +09006**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11** http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20
Tadashi G. Takaokac02a3652013-08-15 12:05:14 +090021<!-- TODO: Move these definitions to text resources and remove key_currency.xml. -->
Tadashi G. Takaoka61351422011-02-24 14:49:27 +090022<merge
23 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
24>
25 <switch>
Tadashi G. Takaoka20887c52011-02-24 18:11:48 +090026 <case
27 latin:passwordInput="true"
28 >
Tadashi G. Takaoka9426f7d2011-09-09 15:23:27 +090029 <include
Tadashi G. Takaokac02a3652013-08-15 12:05:14 +090030 latin:keyboardLayout="@xml/key_dollar" />
Tadashi G. Takaoka20887c52011-02-24 18:11:48 +090031 </case>
Tadashi G. Takaokac27e8992012-11-20 11:36:11 +090032 <!-- Countries using Euro currency, 23 countries as of November 2012.
Tadashi G. Takaoka58592052011-06-03 02:18:57 +090033 1. Andorra (ca_AD, ca_ES)
34 2. Austria (de_AT)
35 3. Belgium (nl_BE, fr_BE, de_BE)
36 4. Cyprus (el_CY, tr_CY)
37 5. Estonia (et_EE)
38 6. Finland (fi_FI, sv_FI)
39 7. France (fr_FR)
40 8. Germany (de_DE)
41 9. Greece (el_GR)
42 10. Ireland (ga_IE, en_IE)
43 11. Italy (it_IT)
Tadashi G. Takaokac27e8992012-11-20 11:36:11 +090044 12. Kosovo (sq_XK, sr_XK)
Tadashi G. Takaoka58592052011-06-03 02:18:57 +090045 13. Luxembourg (lb_LU, fr_LU, de_LU)
46 14. Malta (mt_MT, en_MT)
47 15. Monaco (fr_MO)
Tadashi G. Takaokac27e8992012-11-20 11:36:11 +090048 16. Montenegro (??_ME)
Tadashi G. Takaoka58592052011-06-03 02:18:57 +090049 17. Netherlands (nl_NL)
50 18. Portugal (pt_PT)
51 19. San Marino (it_SM)
52 20. Slovakia (sk_SK)
53 21. Slovenia (sl_SI)
54 22. Spain (es_ES, ca_ES)
Tadashi G. Takaokac27e8992012-11-20 11:36:11 +090055 23. Vatican City (it_VA) -->
Tadashi G. Takaoka61351422011-02-24 14:49:27 +090056 <case
Tadashi G. Takaoka58592052011-06-03 02:18:57 +090057 latin:countryCode="AD|AT|BE|CY|EE|FI|FR|DE|GR|IE|IT|XK|LU|MT|MO|ME|NL|PT|SM|SK|SI|ES|VA"
Tadashi G. Takaoka61351422011-02-24 14:49:27 +090058 >
Tadashi G. Takaoka9426f7d2011-09-09 15:23:27 +090059 <include
Tadashi G. Takaokac02a3652013-08-15 12:05:14 +090060 latin:keyboardLayout="@xml/key_euro" />
Tadashi G. Takaoka61351422011-02-24 14:49:27 +090061 </case>
Tadashi G. Takaokac27e8992012-11-20 11:36:11 +090062 <!-- Note: Some subtype locale may not have country code, and it it supposed to indicate the
63 country where the language originally/mainly spoken. -->
64 <!-- Though Denmark, Sweden and Turkey don't use Euro as their currency, having the Euro
65 sign on the symbol keyboard might be useful. Especially Danish krone (kr), Swedish
66 krona (kr) and Turkish lira (TL) can be represented by usual alphabet letters. -->
67 <!-- TODO: The currency sign of Turkish Lira was created in 2012 and assigned U+20BA for
68 its unicode, although there is no font glyph for it as of November 2012. -->
69 <!-- da: Denmark (da_DK)
70 de: Germany (de_DE)
71 es: Spain (es_ES)
72 fi: Finland (fi_FI)
73 fr: France(fr_FR)
74 it: Italy (it_IT)
75 nl: Netherlands (nl_NL)
76 sk: Slovakia (sk_SK)
77 sl: Slovenia (sl_SL)
78 sv: Sweden (sv_SV)
79 tr: Trukey (tr_TR) -->
Tadashi G. Takaoka1a552862011-07-12 20:47:12 -070080 <case
Tadashi G. Takaokac27e8992012-11-20 11:36:11 +090081 latin:localeCode="da|de|es|el|fi|fr|it|nl|sk|sl|sv|tr"
Tadashi G. Takaoka1a552862011-07-12 20:47:12 -070082 >
Tadashi G. Takaokac27e8992012-11-20 11:36:11 +090083 <include
Tadashi G. Takaokac02a3652013-08-15 12:05:14 +090084 latin:keyboardLayout="@xml/key_euro" />
Tadashi G. Takaokac27e8992012-11-20 11:36:11 +090085 </case>
86 <!-- ca: Catalan (Andorra, Spain)
87 et: Estonian (Estonia)
88 lb: Luxembougish (Luxembourg)
89 mt: Maltese (Malta) -->
90 <case
91 latin:languageCode="ca|et|lb|mt"
92 >
93 <include
Tadashi G. Takaokac02a3652013-08-15 12:05:14 +090094 latin:keyboardLayout="@xml/key_euro" />
Tadashi G. Takaokac27e8992012-11-20 11:36:11 +090095 </case>
96 <!-- fa: Persian (Rial and Afgahni)
97 hi: Hindi (Indian Rupee)
98 iw: Hebrew (New Sheqel)
99 mn: Mongolian (Tugrik)
100 th: Thai (Baht)
101 uk: Ukrainian (Hryvnia)
102 vi: Vietnamese (Dong) -->
103 <!-- TODO: The currency sign of Turkish Lira was created in 2012 and assigned U+20BA for
104 its unicode, although there is no font glyph for it as of November 2012. -->
105 <case
106 latin:languageCode="fa|hi|iw|mn|th|uk|vi"
107 >
108 <!-- U+00A3: "£" POUND SIGN
Tadashi G. Takaoka41b33142012-03-26 18:21:25 +0900109 U+20AC: "€" EURO SIGN
110 U+00A2: "¢" CENT SIGN -->
Tadashi G. Takaokac02a3652013-08-15 12:05:14 +0900111 <Key
Tadashi G. Takaokac27e8992012-11-20 11:36:11 +0900112 latin:keyLabel="!text/keylabel_for_currency_generic"
113 latin:moreKeys="!text/more_keys_for_currency_generic" />
Tadashi G. Takaoka1a552862011-07-12 20:47:12 -0700114 </case>
Tadashi G. Takaokac27e8992012-11-20 11:36:11 +0900115 <!-- GB: United Kingdom (Pound) -->
Tadashi G. Takaoka61351422011-02-24 14:49:27 +0900116 <case
117 latin:countryCode="GB"
118 >
Tadashi G. Takaoka41b33142012-03-26 18:21:25 +0900119 <!-- U+00A3: "£" POUND SIGN
120 U+20AC: "€" EURO SIGN
121 U+00A5: "¥" YEN SIGN
Tadashi G. Takaokac27e8992012-11-20 11:36:11 +0900122 U+00A2: "¢" CENT SIGN
123 U+20B1: "₱" PESO SIGN -->
Tadashi G. Takaokac02a3652013-08-15 12:05:14 +0900124 <Key
Tadashi G. Takaoka41b33142012-03-26 18:21:25 +0900125 latin:keyLabel="&#x00A3;"
Tadashi G. Takaokac27e8992012-11-20 11:36:11 +0900126 latin:moreKeys="&#x00A2;,$,&#x20AC;,&#x00A5;,&#x20B1;" />
Tadashi G. Takaoka61351422011-02-24 14:49:27 +0900127 </case>
Tadashi G. Takaokac27e8992012-11-20 11:36:11 +0900128 <!-- ar: Arabic (Dollar and Rial) -->
Tadashi G. Takaoka61351422011-02-24 14:49:27 +0900129 <default>
Tadashi G. Takaoka9426f7d2011-09-09 15:23:27 +0900130 <include
Tadashi G. Takaokac02a3652013-08-15 12:05:14 +0900131 latin:keyboardLayout="@xml/key_dollar" />
Tadashi G. Takaoka61351422011-02-24 14:49:27 +0900132 </default>
133 </switch>
Tadashi G. Takaoka58592052011-06-03 02:18:57 +0900134</merge>