1
// ***************************************************************************
3
// * Copyright (C) 1997-2002, International Business Machines
4
// * Corporation and others. All Rights Reserved.
6
// ***************************************************************************
14
DateTimeElements:intvector {
61
// LocaleString { "it" }
103
// ShortLanguage { "ita" }
115
// "Latn", // ISO 15924 Name
117
ExemplarCharacters { "[a-z \u00e9 \u00f3 \u00e0 \u00e8 \u00ec \u00f2 \u00ed \u00fa \u00f9 \u00ef]" }
119
//------------------------------------------------------------
120
// Rule Based Number Format Support
121
//------------------------------------------------------------
123
// * Spellout rules for Italian. Like German, most Italian numbers are
124
// * written as single words. What makes these rules complicated is the rule
125
// * that says that when a word ending in a vowel and a word beginning with
126
// * a vowel are combined into a compound, the vowel is dropped from the
127
// * end of the first word: 180 is "centottanta," not "centoottanta."
128
// * The complexity of this rule set is to produce this behavior.
130
// Can someone confirm that I did the vowel-eliding thing right? I'm
131
// not 100% sure I'm doing it in all the right places, or completely
132
// correctly. Also, I don't have information for negatives and decimals,
133
// and I lack words fror values from 1,000,000 on up.
136
// main rule set. Follows the patterns of the preceding rule sets,
137
// except that the final vowel is omitted from words ending in
138
// vowels when they are followed by another word; instead, we have
139
// separate rule sets that are identical to this one, except that
140
// all the words that don't begin with a vowel have a vowel tacked
141
// onto them at the front. A word ending in a vowel calls a
142
// substitution that will supply that vowel, unless that vowel is to
146
" x.x: << virgola >>;\n"
147
" zero; uno; due; tre; quattro; cinque; sei; sette; otto;\n"
149
" dieci; undici; dodici; tredici; quattordici; quindici; sedici;\n"
150
" diciasette; diciotto; diciannove;\n"
151
" 20: venti; vent>%%with-i>;\n"
152
" 30: trenta; trent>%%with-i>;\n"
153
" 40: quaranta; quarant>%%with-a>;\n"
154
" 50: cinquanta; cinquant>%%with-a>;\n"
155
" 60: sessanta; sessant>%%with-a>;\n"
156
" 70: settanta; settant>%%with-a>;\n"
157
" 80: ottanta; ottant>%%with-a>;\n"
158
" 90: novanta; novant>%%with-a>;\n"
159
" 100: cento; cent[>%%with-o>];\n"
160
" 200: <<cento; <<cent[>%%with-o>];\n"
161
" 1000: mille; mill[>%%with-i>];\n"
162
" 2000: <<mila; <<mil[>%%with-a>];\n"
163
" 100,000>>: <<mila[ >>];\n"
164
" 1,000,000: =#,##0= (incomplete data);\n"
166
" azero; uno; adue; atre; aquattro; acinque; asei; asette; otto;\n"
168
" adieci; undici; adodici; atredici; aquattordici; aquindici; asedici;\n"
169
" adiciasette; adiciotto; adiciannove;\n"
170
" 20: aventi; avent>%%with-i>;\n"
171
" 30: atrenta; atrent>%%with-i>;\n"
172
" 40: aquaranta; aquarant>%%with-a>;\n"
173
" 50: acinquanta; acinquant>%%with-a>;\n"
174
" 60: asessanta; asessant>%%with-a>;\n"
175
" 70: asettanta; asettant>%%with-a>;\n"
176
" 80: ottanta; ottant>%%with-a>;\n"
177
" 90: anovanta; anovant>%%with-a>;\n"
178
" 100: acento; acent[>%%with-o>];\n"
179
" 200: <%%with-a<cento; <%%with-a<cent[>%%with-o>];\n"
180
" 1000: amille; amill[>%%with-i>];\n"
181
" 2000: <%%with-a<mila; <%%with-a<mil[>%%with-a>];\n"
182
" 100,000: =%main=;\n"
184
" izero; uno; idue; itre; iquattro; icinque; isei; isette; otto;\n"
186
" idieci; undici; idodici; itredici; iquattordici; iquindici; isedici;\n"
187
" idiciasette; idiciotto; idiciannove;\n"
188
" 20: iventi; ivent>%%with-i>;\n"
189
" 30: itrenta; itrent>%%with-i>;\n"
190
" 40: iquaranta; iquarant>%%with-a>;\n"
191
" 50: icinquanta; icinquant>%%with-a>;\n"
192
" 60: isessanta; isessant>%%with-a>;\n"
193
" 70: isettanta; isettant>%%with-a>;\n"
194
" 80: ottanta; ottant>%%with-a>;\n"
195
" 90: inovanta; inovant>%%with-a>;\n"
196
" 100: icento; icent[>%%with-o>];\n"
197
" 200: <%%with-i<cento; <%%with-i<cent[>%%with-o>];\n"
198
" 1000: imille; imill[>%%with-i>];\n"
199
" 2000: <%%with-i<mila; <%%with-i<mil[>%%with-a>];\n"
200
" 100,000: =%main=;\n"
202
" ozero; uno; odue; otre; oquattro; ocinque; osei; osette; otto;\n"
204
" odieci; undici; ododici; otredici; oquattordici; oquindici; osedici;\n"
205
" odiciasette; odiciotto; odiciannove;\n"
206
" 20: oventi; ovent>%%with-i>;\n"
207
" 30: otrenta; otrent>%%with-i>;\n"
208
" 40: oquaranta; oquarant>%%with-a>;\n"
209
" 50: ocinquanta; ocinquant>%%with-a>;\n"
210
" 60: osessanta; osessant>%%with-a>;\n"
211
" 70: osettanta; osettant>%%with-a>;\n"
212
" 80: ottanta; ottant>%%with-a>;\n"
213
" 90: onovanta; onovant>%%with-a>;\n"
214
" 100: ocento; ocent[>%%with-o>];\n"
215
" 200: <%%with-o<cento; <%%with-o<cent[>%%with-o>];\n"
216
" 1000: omille; omill[>%%with-i>];\n"
217
" 2000: <%%with-o<mila; <%%with-o<mil[>%%with-a>];\n"
218
" 100,000: =%main=;\n"