meplato-money 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,18 @@
1
+ # 0.1.3, released 2011-10-11
2
+
3
+ * Published gem as meplato-money.
4
+
5
+ # 0.1.2, released 2011-05-26
6
+
7
+ * Added Money.parse(...) method for returning amount
8
+ from (locale-specific) string
9
+
10
+ # 0.1.1, released 2011-04-30
11
+
12
+ * Removed version from sources and put it into gemspec only
13
+
14
+ # 0.1.0, released 2011-04-28
15
+
16
+ * Added a gemspec
17
+ * Initial release on GitHub
18
+
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ Copyright (c) 2007-2011 Oliver Eilhard
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
+
@@ -0,0 +1,16 @@
1
+ # Money
2
+
3
+ ## Description
4
+
5
+ Money makes working with monetary values quite easy. It supports
6
+ localized formatting as well as currency exchange.
7
+
8
+ ## Installation
9
+
10
+ $ gem install money
11
+
12
+ ## License
13
+
14
+ Released under the MIT License. See the LICENSE file for further
15
+ details.
16
+
@@ -0,0 +1,15 @@
1
+ # Copyright (C) 2009-2011 Oliver Eilhard
2
+ #
3
+ # This Money library is freely distributable under
4
+ # the terms of an MIT-style license.
5
+ # See COPYING or http://www.opensource.org/licenses/mit-license.php.
6
+
7
+ # This library is for parsing and formatting monetary values.
8
+
9
+ module Money
10
+ autoload :CoreExt, 'money/core_ext.rb'
11
+ autoload :Money, 'money/money.rb'
12
+ autoload :MoneyFormatter, 'money/money_formatter.rb'
13
+ autoload :FixedBank, 'money/fixed_bank.rb'
14
+ autoload :MeplatoBank, 'money/meplato_bank.rb'
15
+ end
@@ -0,0 +1,2 @@
1
+ require 'money/core_ext/try.rb'
2
+ require 'money/core_ext/string_ext.rb'
@@ -0,0 +1,5 @@
1
+ class String
2
+ def to_money
3
+ raise "Not implemented yet"
4
+ end
5
+ end
@@ -0,0 +1,9 @@
1
+ class Object
2
+ alias_method :try, :__send__
3
+ end
4
+
5
+ class NilClass
6
+ def try(*args)
7
+ nil
8
+ end
9
+ end
@@ -0,0 +1,110 @@
1
+ # encoding: utf-8
2
+
3
+ module Money
4
+ CURRENCIES = {
5
+ 'AED' => {:symbol => 'د.إ.‏', :decimal_digits => 2 },
6
+ 'AFN' => {:symbol => '؋', :decimal_digits => 2 },
7
+ 'ALL' => {:symbol => 'Lek', :decimal_digits => 2 },
8
+ 'AMD' => {:symbol => 'դր.', :decimal_digits => 2 },
9
+ 'ARS' => {:symbol => '$', :decimal_digits => 2 },
10
+ 'AUD' => {:symbol => '$', :decimal_digits => 2 },
11
+ 'AZM' => {:symbol => 'man.', :decimal_digits => 2 },
12
+ 'BAM' => {:symbol => 'KM', :decimal_digits => 2 },
13
+ 'BDT' => {:symbol => '৳', :decimal_digits => 2 },
14
+ 'BGL' => {:symbol => 'лв', :decimal_digits => 2 },
15
+ 'BHD' => {:symbol => 'د.ب.‏', :decimal_digits => 3 },
16
+ 'BND' => {:symbol => '$', :decimal_digits => 0 },
17
+ 'BOB' => {:symbol => '$b', :decimal_digits => 2 },
18
+ 'BRL' => {:symbol => 'R$', :decimal_digits => 2 },
19
+ 'BYB' => {:symbol => 'р.', :decimal_digits => 2 },
20
+ 'BZD' => {:symbol => 'BZ$', :decimal_digits => 2 },
21
+ 'CAD' => {:symbol => '$', :decimal_digits => 2 },
22
+ 'CHF' => {:symbol => 'SFr.', :decimal_digits => 2 },
23
+ 'CLP' => {:symbol => '$', :decimal_digits => 2 },
24
+ 'CNY' => {:symbol => '¥', :decimal_digits => 2 },
25
+ 'COP' => {:symbol => '$', :decimal_digits => 2 },
26
+ 'CRC' => {:symbol => '₡', :decimal_digits => 2 },
27
+ 'CSD' => {:symbol => 'Din.', :decimal_digits => 2 },
28
+ 'CZK' => {:symbol => 'Kč', :decimal_digits => 2 },
29
+ 'DKK' => {:symbol => 'kr', :decimal_digits => 2 },
30
+ 'DOP' => {:symbol => 'RD$', :decimal_digits => 2 },
31
+ 'DZD' => {:symbol => 'د.ج.‏', :decimal_digits => 2 },
32
+ 'EEK' => {:symbol => 'kr', :decimal_digits => 2 },
33
+ 'EGP' => {:symbol => 'ج.م.‏', :decimal_digits => 3 },
34
+ 'ETB' => {:symbol => 'ETB', :decimal_digits => 2 },
35
+ 'EUR' => {:symbol => '€', :decimal_digits => 2 },
36
+ 'GBP' => {:symbol => '£', :decimal_digits => 2 },
37
+ 'GEL' => {:symbol => 'Lari', :decimal_digits => 2 },
38
+ 'GTQ' => {:symbol => 'Q', :decimal_digits => 2 },
39
+ 'HKD' => {:symbol => 'HK$', :decimal_digits => 2 },
40
+ 'HNL' => {:symbol => 'L.', :decimal_digits => 2 },
41
+ 'HRK' => {:symbol => 'kn', :decimal_digits => 2 },
42
+ 'HUF' => {:symbol => 'Ft', :decimal_digits => 2 },
43
+ 'IDR' => {:symbol => 'Rp', :decimal_digits => 0 },
44
+ 'ILS' => {:symbol => '₪', :decimal_digits => 2 },
45
+ 'INR' => {:symbol => 'रु', :decimal_digits => 2 },
46
+ 'IQD' => {:symbol => 'د.ع.‏', :decimal_digits => 2 },
47
+ 'IRR' => {:symbol => 'ريال', :decimal_digits => 2 },
48
+ 'ISK' => {:symbol => 'kr.', :decimal_digits => 0 },
49
+ 'JMD' => {:symbol => 'J$', :decimal_digits => 2 },
50
+ 'JOD' => {:symbol => 'د.ا.‏', :decimal_digits => 3 },
51
+ 'JPY' => {:symbol => '¥', :decimal_digits => 0 },
52
+ 'KES' => {:symbol => 'S', :decimal_digits => 2 },
53
+ 'KGS' => {:symbol => 'сом', :decimal_digits => 2 },
54
+ 'KHR' => {:symbol => '៛', :decimal_digits => 2 },
55
+ 'KRW' => {:symbol => '₩', :decimal_digits => 0 },
56
+ 'KWD' => {:symbol => 'د.ك.‏', :decimal_digits => 3 },
57
+ 'KZT' => {:symbol => 'Т', :decimal_digits => 2 },
58
+ 'LAK' => {:symbol => '₭', :decimal_digits => 2 },
59
+ 'LBP' => {:symbol => 'ل.ل.‏', :decimal_digits => 2 },
60
+ 'LKR' => {:symbol => 'රු.', :decimal_digits => 2 },
61
+ 'LTL' => {:symbol => 'Lt', :decimal_digits => 2 },
62
+ 'LVL' => {:symbol => 'Ls', :decimal_digits => 2 },
63
+ 'LYD' => {:symbol => 'د.ل.‏', :decimal_digits => 2 },
64
+ 'MAD' => {:symbol => 'د.م.‏', :decimal_digits => 2 },
65
+ 'MKD' => {:symbol => 'ден.', :decimal_digits => 2 },
66
+ 'MNT' => {:symbol => '₮', :decimal_digits => 2 },
67
+ 'MOP' => {:symbol => 'MOP', :decimal_digits => 2 },
68
+ 'MVR' => {:symbol => 'ރ.', :decimal_digits => 2 },
69
+ 'MXN' => {:symbol => '$', :decimal_digits => 2 },
70
+ 'MYR' => {:symbol => 'R', :decimal_digits => 0 },
71
+ 'NIO' => {:symbol => 'C$', :decimal_digits => 2 },
72
+ 'NOK' => {:symbol => 'kr', :decimal_digits => 2 },
73
+ 'NPR' => {:symbol => 'रु', :decimal_digits => 2 },
74
+ 'NZD' => {:symbol => '$', :decimal_digits => 2 },
75
+ 'OMR' => {:symbol => 'ر.ع.‏', :decimal_digits => 2 },
76
+ 'PAB' => {:symbol => 'B/.', :decimal_digits => 2 },
77
+ 'PEN' => {:symbol => 'S/.', :decimal_digits => 2 },
78
+ 'PHP' => {:symbol => 'Php', :decimal_digits => 2 },
79
+ 'PKR' => {:symbol => 'Rs', :decimal_digits => 2 },
80
+ 'PLN' => {:symbol => 'zł', :decimal_digits => 2 },
81
+ 'PYG' => {:symbol => 'Gs', :decimal_digits => 2 },
82
+ 'QAR' => {:symbol => 'ر.ق.‏', :decimal_digits => 2 },
83
+ 'ROL' => {:symbol => 'lei', :decimal_digits => 2 },
84
+ 'RSD' => {:symbol => 'Din.', :decimal_digits => 2 },
85
+ 'RUB' => {:symbol => 'с.', :decimal_digits => 2 },
86
+ 'RUR' => {:symbol => 'р.', :decimal_digits => 2 },
87
+ 'RWF' => {:symbol => 'RWF', :decimal_digits => 2 },
88
+ 'SAR' => {:symbol => 'ر.س.‏', :decimal_digits => 2 },
89
+ 'SEK' => {:symbol => 'kr', :decimal_digits => 2 },
90
+ 'SGD' => {:symbol => '$', :decimal_digits => 2 },
91
+ 'SYP' => {:symbol => 'ل.س.‏', :decimal_digits => 2 },
92
+ 'THB' => {:symbol => '฿', :decimal_digits => 2 },
93
+ 'TJS' => {:symbol => 'т.р.', :decimal_digits => 2 },
94
+ 'TMT' => {:symbol => 'm.', :decimal_digits => 2 },
95
+ 'TND' => {:symbol => 'د.ت.‏', :decimal_digits => 3 },
96
+ 'TRY' => {:symbol => 'TL', :decimal_digits => 2 },
97
+ 'TTD' => {:symbol => 'TT$', :decimal_digits => 2 },
98
+ 'TWD' => {:symbol => 'NT$', :decimal_digits => 2 },
99
+ 'UAH' => {:symbol => 'грн.', :decimal_digits => 2 },
100
+ 'USD' => {:symbol => '$', :decimal_digits => 2 },
101
+ 'UYU' => {:symbol => '$U', :decimal_digits => 2 },
102
+ 'UZS' => {:symbol => 'su\'m', :decimal_digits => 0 },
103
+ 'VEB' => {:symbol => 'Bs', :decimal_digits => 2 },
104
+ 'VND' => {:symbol => '₫', :decimal_digits => 2 },
105
+ 'XOF' => {:symbol => 'XOF', :decimal_digits => 2 },
106
+ 'YER' => {:symbol => 'ر.ي.‏', :decimal_digits => 2 },
107
+ 'ZAR' => {:symbol => 'R', :decimal_digits => 2 },
108
+ 'ZWD' => {:symbol => 'Z$', :decimal_digits => 2 },
109
+ }
110
+ end
@@ -0,0 +1,28 @@
1
+ # encoding: utf-8
2
+
3
+ require 'singleton'
4
+ require 'thread'
5
+
6
+ module Money
7
+ class FixedBank
8
+ include Singleton
9
+
10
+ def initialize
11
+ @rates = {}
12
+ @mutex = Mutex.new
13
+ end
14
+
15
+ def add_rate(source, target, rate)
16
+ @mutex.synchronize do
17
+ @rates["#{source}_#{target}".upcase] = rate
18
+ end
19
+ end
20
+
21
+ def get_rate(source, target)
22
+ @mutex.synchronize do
23
+ @rates["#{source}_#{target}".upcase]
24
+ end
25
+ end
26
+
27
+ end
28
+ end
@@ -0,0 +1,2490 @@
1
+ # encoding: utf-8
2
+
3
+ module Money
4
+ FORMATS = {
5
+ 'af' => {
6
+ :decimal_sep => '.',
7
+ :decimal_digits => 2,
8
+ :group_sep => ',',
9
+ :group_sizes => [3],
10
+ :pos_pattern => '$ n',
11
+ :neg_pattern => '$-n',
12
+ :def_currency => 'ZAR',
13
+ },
14
+ 'af-ZA' => {
15
+ :decimal_sep => '.',
16
+ :decimal_digits => 2,
17
+ :group_sep => ',',
18
+ :group_sizes => [3],
19
+ :pos_pattern => '$ n',
20
+ :neg_pattern => '$-n',
21
+ :def_currency => 'ZAR',
22
+ },
23
+ 'am-ET' => {
24
+ :decimal_sep => '.',
25
+ :decimal_digits => 2,
26
+ :group_sep => ',',
27
+ :group_sizes => [3,0],
28
+ :pos_pattern => '$n',
29
+ :neg_pattern => '-$n',
30
+ :def_currency => 'ETB',
31
+ },
32
+ 'ar' => {
33
+ :decimal_sep => '.',
34
+ :decimal_digits => 2,
35
+ :group_sep => ',',
36
+ :group_sizes => [3],
37
+ :pos_pattern => '$ n',
38
+ :neg_pattern => '$n-',
39
+ :def_currency => 'SAR',
40
+ },
41
+ 'ar-AE' => {
42
+ :decimal_sep => '.',
43
+ :decimal_digits => 2,
44
+ :group_sep => ',',
45
+ :group_sizes => [3],
46
+ :pos_pattern => '$ n',
47
+ :neg_pattern => '$n-',
48
+ :def_currency => 'AED',
49
+ },
50
+ 'ar-BH' => {
51
+ :decimal_sep => '.',
52
+ :decimal_digits => 3,
53
+ :group_sep => ',',
54
+ :group_sizes => [3],
55
+ :pos_pattern => '$ n',
56
+ :neg_pattern => '$n-',
57
+ :def_currency => 'BHD',
58
+ },
59
+ 'ar-DZ' => {
60
+ :decimal_sep => '.',
61
+ :decimal_digits => 2,
62
+ :group_sep => ',',
63
+ :group_sizes => [3],
64
+ :pos_pattern => '$ n',
65
+ :neg_pattern => '$n-',
66
+ :def_currency => 'DZD',
67
+ },
68
+ 'ar-EG' => {
69
+ :decimal_sep => '.',
70
+ :decimal_digits => 3,
71
+ :group_sep => ',',
72
+ :group_sizes => [3],
73
+ :pos_pattern => '$ n',
74
+ :neg_pattern => '$n-',
75
+ :def_currency => 'EGP',
76
+ },
77
+ 'ar-IQ' => {
78
+ :decimal_sep => '.',
79
+ :decimal_digits => 2,
80
+ :group_sep => ',',
81
+ :group_sizes => [3],
82
+ :pos_pattern => '$ n',
83
+ :neg_pattern => '$n-',
84
+ :def_currency => 'IQD',
85
+ },
86
+ 'ar-JO' => {
87
+ :decimal_sep => '.',
88
+ :decimal_digits => 3,
89
+ :group_sep => ',',
90
+ :group_sizes => [3],
91
+ :pos_pattern => '$ n',
92
+ :neg_pattern => '$n-',
93
+ :def_currency => 'JOD',
94
+ },
95
+ 'ar-KW' => {
96
+ :decimal_sep => '.',
97
+ :decimal_digits => 3,
98
+ :group_sep => ',',
99
+ :group_sizes => [3],
100
+ :pos_pattern => '$ n',
101
+ :neg_pattern => '$n-',
102
+ :def_currency => 'KWD',
103
+ },
104
+ 'ar-LB' => {
105
+ :decimal_sep => '.',
106
+ :decimal_digits => 2,
107
+ :group_sep => ',',
108
+ :group_sizes => [3],
109
+ :pos_pattern => '$ n',
110
+ :neg_pattern => '$n-',
111
+ :def_currency => 'LBP',
112
+ },
113
+ 'ar-LY' => {
114
+ :decimal_sep => '.',
115
+ :decimal_digits => 2,
116
+ :group_sep => ',',
117
+ :group_sizes => [3],
118
+ :pos_pattern => '$ n',
119
+ :neg_pattern => '$n-',
120
+ :def_currency => 'LYD',
121
+ },
122
+ 'ar-MA' => {
123
+ :decimal_sep => '.',
124
+ :decimal_digits => 2,
125
+ :group_sep => ',',
126
+ :group_sizes => [3],
127
+ :pos_pattern => '$ n',
128
+ :neg_pattern => '$n-',
129
+ :def_currency => 'MAD',
130
+ },
131
+ 'arn-CL' => {
132
+ :decimal_sep => ',',
133
+ :decimal_digits => 2,
134
+ :group_sep => '.',
135
+ :group_sizes => [3],
136
+ :pos_pattern => '$ n',
137
+ :neg_pattern => '-$ n',
138
+ :def_currency => 'CLP',
139
+ },
140
+ 'ar-OM' => {
141
+ :decimal_sep => '.',
142
+ :decimal_digits => 2,
143
+ :group_sep => ',',
144
+ :group_sizes => [3],
145
+ :pos_pattern => '$ n',
146
+ :neg_pattern => '$n-',
147
+ :def_currency => 'OMR',
148
+ },
149
+ 'ar-QA' => {
150
+ :decimal_sep => '.',
151
+ :decimal_digits => 2,
152
+ :group_sep => ',',
153
+ :group_sizes => [3],
154
+ :pos_pattern => '$ n',
155
+ :neg_pattern => '$n-',
156
+ :def_currency => 'QAR',
157
+ },
158
+ 'ar-SA' => {
159
+ :decimal_sep => '.',
160
+ :decimal_digits => 2,
161
+ :group_sep => ',',
162
+ :group_sizes => [3],
163
+ :pos_pattern => '$ n',
164
+ :neg_pattern => '$n-',
165
+ :def_currency => 'SAR',
166
+ },
167
+ 'ar-SY' => {
168
+ :decimal_sep => '.',
169
+ :decimal_digits => 2,
170
+ :group_sep => ',',
171
+ :group_sizes => [3],
172
+ :pos_pattern => '$ n',
173
+ :neg_pattern => '$n-',
174
+ :def_currency => 'SYP',
175
+ },
176
+ 'ar-TN' => {
177
+ :decimal_sep => '.',
178
+ :decimal_digits => 3,
179
+ :group_sep => ',',
180
+ :group_sizes => [3],
181
+ :pos_pattern => '$ n',
182
+ :neg_pattern => '$n-',
183
+ :def_currency => 'TND',
184
+ },
185
+ 'ar-YE' => {
186
+ :decimal_sep => '.',
187
+ :decimal_digits => 2,
188
+ :group_sep => ',',
189
+ :group_sizes => [3],
190
+ :pos_pattern => '$ n',
191
+ :neg_pattern => '$n-',
192
+ :def_currency => 'YER',
193
+ },
194
+ 'as-IN' => {
195
+ :decimal_sep => '.',
196
+ :decimal_digits => 2,
197
+ :group_sep => ',',
198
+ :group_sizes => [3,2],
199
+ :pos_pattern => 'n$',
200
+ :neg_pattern => '$ -n',
201
+ :def_currency => 'INR',
202
+ },
203
+ 'az' => {
204
+ :decimal_sep => ',',
205
+ :decimal_digits => 2,
206
+ :group_sep => ' ',
207
+ :group_sizes => [3],
208
+ :pos_pattern => 'n $',
209
+ :neg_pattern => '-n $',
210
+ :def_currency => 'AZM',
211
+ },
212
+ 'az-Cyrl-AZ' => {
213
+ :decimal_sep => ',',
214
+ :decimal_digits => 2,
215
+ :group_sep => ' ',
216
+ :group_sizes => [3],
217
+ :pos_pattern => 'n $',
218
+ :neg_pattern => '-n $',
219
+ :def_currency => 'AZM',
220
+ },
221
+ 'az-Latn-AZ' => {
222
+ :decimal_sep => ',',
223
+ :decimal_digits => 2,
224
+ :group_sep => ' ',
225
+ :group_sizes => [3],
226
+ :pos_pattern => 'n $',
227
+ :neg_pattern => '-n $',
228
+ :def_currency => 'AZM',
229
+ },
230
+ 'ba-RU' => {
231
+ :decimal_sep => ',',
232
+ :decimal_digits => 2,
233
+ :group_sep => ' ',
234
+ :group_sizes => [3,0],
235
+ :pos_pattern => 'n $',
236
+ :neg_pattern => '-n $',
237
+ :def_currency => 'RUB',
238
+ },
239
+ 'be' => {
240
+ :decimal_sep => ',',
241
+ :decimal_digits => 2,
242
+ :group_sep => ' ',
243
+ :group_sizes => [3],
244
+ :pos_pattern => 'n $',
245
+ :neg_pattern => '-n $',
246
+ :def_currency => 'BYB',
247
+ },
248
+ 'be-BY' => {
249
+ :decimal_sep => ',',
250
+ :decimal_digits => 2,
251
+ :group_sep => ' ',
252
+ :group_sizes => [3],
253
+ :pos_pattern => 'n $',
254
+ :neg_pattern => '-n $',
255
+ :def_currency => 'BYB',
256
+ },
257
+ 'bg' => {
258
+ :decimal_sep => ',',
259
+ :decimal_digits => 2,
260
+ :group_sep => ' ',
261
+ :group_sizes => [3],
262
+ :pos_pattern => 'n $',
263
+ :neg_pattern => '-n $',
264
+ :def_currency => 'BGL',
265
+ },
266
+ 'bg-BG' => {
267
+ :decimal_sep => ',',
268
+ :decimal_digits => 2,
269
+ :group_sep => ' ',
270
+ :group_sizes => [3],
271
+ :pos_pattern => 'n $',
272
+ :neg_pattern => '-n $',
273
+ :def_currency => 'BGL',
274
+ },
275
+ 'bn-BD' => {
276
+ :decimal_sep => '.',
277
+ :decimal_digits => 2,
278
+ :group_sep => ',',
279
+ :group_sizes => [3,2],
280
+ :pos_pattern => '$ n',
281
+ :neg_pattern => '$ -n',
282
+ :def_currency => 'BDT',
283
+ },
284
+ 'bn-IN' => {
285
+ :decimal_sep => '.',
286
+ :decimal_digits => 2,
287
+ :group_sep => ',',
288
+ :group_sizes => [3,2],
289
+ :pos_pattern => '$ n',
290
+ :neg_pattern => '$ -n',
291
+ :def_currency => 'INR',
292
+ },
293
+ 'bo-CN' => {
294
+ :decimal_sep => '.',
295
+ :decimal_digits => 2,
296
+ :group_sep => ',',
297
+ :group_sizes => [3,0],
298
+ :pos_pattern => '$n',
299
+ :neg_pattern => '$-n',
300
+ :def_currency => 'CNY',
301
+ },
302
+ 'br-FR' => {
303
+ :decimal_sep => ',',
304
+ :decimal_digits => 2,
305
+ :group_sep => ' ',
306
+ :group_sizes => [3],
307
+ :pos_pattern => 'n $',
308
+ :neg_pattern => '-n $',
309
+ :def_currency => 'EUR',
310
+ },
311
+ 'bs-Cyrl-BA' => {
312
+ :decimal_sep => ',',
313
+ :decimal_digits => 2,
314
+ :group_sep => '.',
315
+ :group_sizes => [3],
316
+ :pos_pattern => 'n $',
317
+ :neg_pattern => '-n $',
318
+ :def_currency => 'BAM',
319
+ },
320
+ 'bs-Latn-BA' => {
321
+ :decimal_sep => ',',
322
+ :decimal_digits => 2,
323
+ :group_sep => '.',
324
+ :group_sizes => [3],
325
+ :pos_pattern => 'n $',
326
+ :neg_pattern => '-n $',
327
+ :def_currency => 'BAM',
328
+ },
329
+ 'ca' => {
330
+ :decimal_sep => ',',
331
+ :decimal_digits => 2,
332
+ :group_sep => '.',
333
+ :group_sizes => [3],
334
+ :pos_pattern => 'n $',
335
+ :neg_pattern => '-n $',
336
+ :def_currency => 'EUR',
337
+ },
338
+ 'ca-ES' => {
339
+ :decimal_sep => ',',
340
+ :decimal_digits => 2,
341
+ :group_sep => '.',
342
+ :group_sizes => [3],
343
+ :pos_pattern => 'n $',
344
+ :neg_pattern => '-n $',
345
+ :def_currency => 'EUR',
346
+ },
347
+ 'co-FR' => {
348
+ :decimal_sep => ',',
349
+ :decimal_digits => 2,
350
+ :group_sep => ' ',
351
+ :group_sizes => [3],
352
+ :pos_pattern => 'n $',
353
+ :neg_pattern => '-n $',
354
+ :def_currency => 'EUR',
355
+ },
356
+ 'cs' => {
357
+ :decimal_sep => ',',
358
+ :decimal_digits => 2,
359
+ :group_sep => ' ',
360
+ :group_sizes => [3],
361
+ :pos_pattern => 'n $',
362
+ :neg_pattern => '-n $',
363
+ :def_currency => 'CZK',
364
+ },
365
+ 'cs-CZ' => {
366
+ :decimal_sep => ',',
367
+ :decimal_digits => 2,
368
+ :group_sep => ' ',
369
+ :group_sizes => [3],
370
+ :pos_pattern => 'n $',
371
+ :neg_pattern => '-n $',
372
+ :def_currency => 'CZK',
373
+ },
374
+ 'cy-GB' => {
375
+ :decimal_sep => '.',
376
+ :decimal_digits => 2,
377
+ :group_sep => ',',
378
+ :group_sizes => [3],
379
+ :pos_pattern => '$n',
380
+ :neg_pattern => '-$n',
381
+ :def_currency => 'GBP',
382
+ },
383
+ 'da' => {
384
+ :decimal_sep => ',',
385
+ :decimal_digits => 2,
386
+ :group_sep => '.',
387
+ :group_sizes => [3],
388
+ :pos_pattern => '$ n',
389
+ :neg_pattern => '$ -n',
390
+ :def_currency => 'DKK',
391
+ },
392
+ 'da-DK' => {
393
+ :decimal_sep => ',',
394
+ :decimal_digits => 2,
395
+ :group_sep => '.',
396
+ :group_sizes => [3],
397
+ :pos_pattern => '$ n',
398
+ :neg_pattern => '$ -n',
399
+ :def_currency => 'DKK',
400
+ },
401
+ 'de' => {
402
+ :decimal_sep => ',',
403
+ :decimal_digits => 2,
404
+ :group_sep => '.',
405
+ :group_sizes => [3],
406
+ :pos_pattern => 'n $',
407
+ :neg_pattern => '-n $',
408
+ :def_currency => 'EUR',
409
+ },
410
+ 'de-AT' => {
411
+ :decimal_sep => ',',
412
+ :decimal_digits => 2,
413
+ :group_sep => '.',
414
+ :group_sizes => [3],
415
+ :pos_pattern => '$ n',
416
+ :neg_pattern => '-$ n',
417
+ :def_currency => 'EUR',
418
+ },
419
+ 'de-CH' => {
420
+ :decimal_sep => '.',
421
+ :decimal_digits => 2,
422
+ :group_sep => '\'',
423
+ :group_sizes => [3],
424
+ :pos_pattern => '$ n',
425
+ :neg_pattern => '$-n',
426
+ :def_currency => 'CHF',
427
+ },
428
+ 'de-DE' => {
429
+ :decimal_sep => ',',
430
+ :decimal_digits => 2,
431
+ :group_sep => '.',
432
+ :group_sizes => [3],
433
+ :pos_pattern => 'n $',
434
+ :neg_pattern => '-n $',
435
+ :def_currency => 'EUR',
436
+ },
437
+ 'de-LI' => {
438
+ :decimal_sep => '.',
439
+ :decimal_digits => 2,
440
+ :group_sep => '\'',
441
+ :group_sizes => [3],
442
+ :pos_pattern => '$ n',
443
+ :neg_pattern => '$-n',
444
+ :def_currency => 'CHF',
445
+ },
446
+ 'de-LU' => {
447
+ :decimal_sep => ',',
448
+ :decimal_digits => 2,
449
+ :group_sep => '.',
450
+ :group_sizes => [3],
451
+ :pos_pattern => 'n $',
452
+ :neg_pattern => '-n $',
453
+ :def_currency => 'EUR',
454
+ },
455
+ 'dsb-DE' => {
456
+ :decimal_sep => ',',
457
+ :decimal_digits => 2,
458
+ :group_sep => '.',
459
+ :group_sizes => [3],
460
+ :pos_pattern => 'n $',
461
+ :neg_pattern => '-n $',
462
+ :def_currency => 'EUR',
463
+ },
464
+ 'dv' => {
465
+ :decimal_sep => '.',
466
+ :decimal_digits => 2,
467
+ :group_sep => ',',
468
+ :group_sizes => [3],
469
+ :pos_pattern => 'n $',
470
+ :neg_pattern => 'n $-',
471
+ :def_currency => 'MVR',
472
+ },
473
+ 'dv-MV' => {
474
+ :decimal_sep => '.',
475
+ :decimal_digits => 2,
476
+ :group_sep => ',',
477
+ :group_sizes => [3],
478
+ :pos_pattern => 'n $',
479
+ :neg_pattern => 'n $-',
480
+ :def_currency => 'MVR',
481
+ },
482
+ 'el' => {
483
+ :decimal_sep => ',',
484
+ :decimal_digits => 2,
485
+ :group_sep => '.',
486
+ :group_sizes => [3],
487
+ :pos_pattern => 'n $',
488
+ :neg_pattern => '-n $',
489
+ :def_currency => 'EUR',
490
+ },
491
+ 'el-GR' => {
492
+ :decimal_sep => ',',
493
+ :decimal_digits => 2,
494
+ :group_sep => '.',
495
+ :group_sizes => [3],
496
+ :pos_pattern => 'n $',
497
+ :neg_pattern => '-n $',
498
+ :def_currency => 'EUR',
499
+ },
500
+ 'en' => {
501
+ :decimal_sep => '.',
502
+ :decimal_digits => 2,
503
+ :group_sep => ',',
504
+ :group_sizes => [3],
505
+ :pos_pattern => '$n',
506
+ :neg_pattern => '($n)',
507
+ :def_currency => 'USD',
508
+ },
509
+ 'en-029' => {
510
+ :decimal_sep => '.',
511
+ :decimal_digits => 2,
512
+ :group_sep => ',',
513
+ :group_sizes => [3],
514
+ :pos_pattern => '$n',
515
+ :neg_pattern => '-$n',
516
+ :def_currency => 'USD',
517
+ },
518
+ 'en-AU' => {
519
+ :decimal_sep => '.',
520
+ :decimal_digits => 2,
521
+ :group_sep => ',',
522
+ :group_sizes => [3],
523
+ :pos_pattern => '$n',
524
+ :neg_pattern => '-$n',
525
+ :def_currency => 'AUD',
526
+ },
527
+ 'en-BZ' => {
528
+ :decimal_sep => '.',
529
+ :decimal_digits => 2,
530
+ :group_sep => ',',
531
+ :group_sizes => [3,0],
532
+ :pos_pattern => '$n',
533
+ :neg_pattern => '($n)',
534
+ :def_currency => 'BZD',
535
+ },
536
+ 'en-CA' => {
537
+ :decimal_sep => '.',
538
+ :decimal_digits => 2,
539
+ :group_sep => ',',
540
+ :group_sizes => [3],
541
+ :pos_pattern => '$n',
542
+ :neg_pattern => '-$n',
543
+ :def_currency => 'CAD',
544
+ },
545
+ 'en-GB' => {
546
+ :decimal_sep => '.',
547
+ :decimal_digits => 2,
548
+ :group_sep => ',',
549
+ :group_sizes => [3],
550
+ :pos_pattern => '$n',
551
+ :neg_pattern => '-$n',
552
+ :def_currency => 'GBP',
553
+ },
554
+ 'en-IE' => {
555
+ :decimal_sep => '.',
556
+ :decimal_digits => 2,
557
+ :group_sep => ',',
558
+ :group_sizes => [3],
559
+ :pos_pattern => '$n',
560
+ :neg_pattern => '-$n',
561
+ :def_currency => 'EUR',
562
+ },
563
+ 'en-IN' => {
564
+ :decimal_sep => '.',
565
+ :decimal_digits => 2,
566
+ :group_sep => ',',
567
+ :group_sizes => [3,2],
568
+ :pos_pattern => '$ n',
569
+ :neg_pattern => '$ -n',
570
+ :def_currency => 'INR',
571
+ },
572
+ 'en-JM' => {
573
+ :decimal_sep => '.',
574
+ :decimal_digits => 2,
575
+ :group_sep => ',',
576
+ :group_sizes => [3],
577
+ :pos_pattern => '$n',
578
+ :neg_pattern => '-$n',
579
+ :def_currency => 'JMD',
580
+ },
581
+ 'en-MY' => {
582
+ :decimal_sep => '.',
583
+ :decimal_digits => 2,
584
+ :group_sep => ',',
585
+ :group_sizes => [3],
586
+ :pos_pattern => '$n',
587
+ :neg_pattern => '($n)',
588
+ :def_currency => 'MYR',
589
+ },
590
+ 'en-NZ' => {
591
+ :decimal_sep => '.',
592
+ :decimal_digits => 2,
593
+ :group_sep => ',',
594
+ :group_sizes => [3],
595
+ :pos_pattern => '$n',
596
+ :neg_pattern => '-$n',
597
+ :def_currency => 'NZD',
598
+ },
599
+ 'en-PH' => {
600
+ :decimal_sep => '.',
601
+ :decimal_digits => 2,
602
+ :group_sep => ',',
603
+ :group_sizes => [3],
604
+ :pos_pattern => '$n',
605
+ :neg_pattern => '($n)',
606
+ :def_currency => 'PHP',
607
+ },
608
+ 'en-SG' => {
609
+ :decimal_sep => '.',
610
+ :decimal_digits => 2,
611
+ :group_sep => ',',
612
+ :group_sizes => [3],
613
+ :pos_pattern => '$n',
614
+ :neg_pattern => '($n)',
615
+ :def_currency => 'SGD',
616
+ },
617
+ 'en-TT' => {
618
+ :decimal_sep => '.',
619
+ :decimal_digits => 2,
620
+ :group_sep => ',',
621
+ :group_sizes => [3,0],
622
+ :pos_pattern => '$n',
623
+ :neg_pattern => '($n)',
624
+ :def_currency => 'TTD',
625
+ },
626
+ 'en-US' => {
627
+ :decimal_sep => '.',
628
+ :decimal_digits => 2,
629
+ :group_sep => ',',
630
+ :group_sizes => [3],
631
+ :pos_pattern => '$n',
632
+ :neg_pattern => '($n)',
633
+ :def_currency => 'USD',
634
+ },
635
+ 'en-ZA' => {
636
+ :decimal_sep => '.',
637
+ :decimal_digits => 2,
638
+ :group_sep => ',',
639
+ :group_sizes => [3],
640
+ :pos_pattern => '$ n',
641
+ :neg_pattern => '$-n',
642
+ :def_currency => 'ZAR',
643
+ },
644
+ 'en-ZW' => {
645
+ :decimal_sep => '.',
646
+ :decimal_digits => 2,
647
+ :group_sep => ',',
648
+ :group_sizes => [3],
649
+ :pos_pattern => '$n',
650
+ :neg_pattern => '($n)',
651
+ :def_currency => 'ZWD',
652
+ },
653
+ 'es' => {
654
+ :decimal_sep => ',',
655
+ :decimal_digits => 2,
656
+ :group_sep => '.',
657
+ :group_sizes => [3],
658
+ :pos_pattern => 'n $',
659
+ :neg_pattern => '-n $',
660
+ :def_currency => 'EUR',
661
+ },
662
+ 'es-AR' => {
663
+ :decimal_sep => ',',
664
+ :decimal_digits => 2,
665
+ :group_sep => '.',
666
+ :group_sizes => [3],
667
+ :pos_pattern => '$ n',
668
+ :neg_pattern => '$-n',
669
+ :def_currency => 'ARS',
670
+ },
671
+ 'es-BO' => {
672
+ :decimal_sep => ',',
673
+ :decimal_digits => 2,
674
+ :group_sep => '.',
675
+ :group_sizes => [3],
676
+ :pos_pattern => '$ n',
677
+ :neg_pattern => '($ n)',
678
+ :def_currency => 'BOB',
679
+ },
680
+ 'es-CL' => {
681
+ :decimal_sep => ',',
682
+ :decimal_digits => 2,
683
+ :group_sep => '.',
684
+ :group_sizes => [3],
685
+ :pos_pattern => '$ n',
686
+ :neg_pattern => '-$ n',
687
+ :def_currency => 'CLP',
688
+ },
689
+ 'es-CO' => {
690
+ :decimal_sep => ',',
691
+ :decimal_digits => 2,
692
+ :group_sep => '.',
693
+ :group_sizes => [3],
694
+ :pos_pattern => '$ n',
695
+ :neg_pattern => '($ n)',
696
+ :def_currency => 'COP',
697
+ },
698
+ 'es-CR' => {
699
+ :decimal_sep => ',',
700
+ :decimal_digits => 2,
701
+ :group_sep => '.',
702
+ :group_sizes => [3],
703
+ :pos_pattern => '$n',
704
+ :neg_pattern => '($n)',
705
+ :def_currency => 'CRC',
706
+ },
707
+ 'es-DO' => {
708
+ :decimal_sep => '.',
709
+ :decimal_digits => 2,
710
+ :group_sep => ',',
711
+ :group_sizes => [3],
712
+ :pos_pattern => '$n',
713
+ :neg_pattern => '($n)',
714
+ :def_currency => 'DOP',
715
+ },
716
+ 'es-EC' => {
717
+ :decimal_sep => ',',
718
+ :decimal_digits => 2,
719
+ :group_sep => '.',
720
+ :group_sizes => [3],
721
+ :pos_pattern => '$ n',
722
+ :neg_pattern => '($ n)',
723
+ :def_currency => 'USD',
724
+ },
725
+ 'es-ES' => {
726
+ :decimal_sep => ',',
727
+ :decimal_digits => 2,
728
+ :group_sep => '.',
729
+ :group_sizes => [3],
730
+ :pos_pattern => 'n $',
731
+ :neg_pattern => '-n $',
732
+ :def_currency => 'EUR',
733
+ },
734
+ 'es-GT' => {
735
+ :decimal_sep => '.',
736
+ :decimal_digits => 2,
737
+ :group_sep => ',',
738
+ :group_sizes => [3],
739
+ :pos_pattern => '$n',
740
+ :neg_pattern => '($n)',
741
+ :def_currency => 'GTQ',
742
+ },
743
+ 'es-HN' => {
744
+ :decimal_sep => '.',
745
+ :decimal_digits => 2,
746
+ :group_sep => ',',
747
+ :group_sizes => [3,0],
748
+ :pos_pattern => '$ n',
749
+ :neg_pattern => '$ -n',
750
+ :def_currency => 'HNL',
751
+ },
752
+ 'es-MX' => {
753
+ :decimal_sep => '.',
754
+ :decimal_digits => 2,
755
+ :group_sep => ',',
756
+ :group_sizes => [3],
757
+ :pos_pattern => '$n',
758
+ :neg_pattern => '-$n',
759
+ :def_currency => 'MXN',
760
+ },
761
+ 'es-NI' => {
762
+ :decimal_sep => '.',
763
+ :decimal_digits => 2,
764
+ :group_sep => ',',
765
+ :group_sizes => [3,0],
766
+ :pos_pattern => '$ n',
767
+ :neg_pattern => '($ n)',
768
+ :def_currency => 'NIO',
769
+ },
770
+ 'es-PA' => {
771
+ :decimal_sep => '.',
772
+ :decimal_digits => 2,
773
+ :group_sep => ',',
774
+ :group_sizes => [3],
775
+ :pos_pattern => '$ n',
776
+ :neg_pattern => '($ n)',
777
+ :def_currency => 'PAB',
778
+ },
779
+ 'es-PE' => {
780
+ :decimal_sep => '.',
781
+ :decimal_digits => 2,
782
+ :group_sep => ',',
783
+ :group_sizes => [3],
784
+ :pos_pattern => '$ n',
785
+ :neg_pattern => '$ -n',
786
+ :def_currency => 'PEN',
787
+ },
788
+ 'es-PR' => {
789
+ :decimal_sep => '.',
790
+ :decimal_digits => 2,
791
+ :group_sep => ',',
792
+ :group_sizes => [3,0],
793
+ :pos_pattern => '$ n',
794
+ :neg_pattern => '($ n)',
795
+ :def_currency => 'USD',
796
+ },
797
+ 'es-PY' => {
798
+ :decimal_sep => ',',
799
+ :decimal_digits => 2,
800
+ :group_sep => '.',
801
+ :group_sizes => [3],
802
+ :pos_pattern => '$ n',
803
+ :neg_pattern => '($ n)',
804
+ :def_currency => 'PYG',
805
+ },
806
+ 'es-SV' => {
807
+ :decimal_sep => '.',
808
+ :decimal_digits => 2,
809
+ :group_sep => ',',
810
+ :group_sizes => [3,0],
811
+ :pos_pattern => '$n',
812
+ :neg_pattern => '($n)',
813
+ :def_currency => 'USD',
814
+ },
815
+ 'es-US' => {
816
+ :decimal_sep => '.',
817
+ :decimal_digits => 2,
818
+ :group_sep => ',',
819
+ :group_sizes => [3],
820
+ :pos_pattern => '$n',
821
+ :neg_pattern => '($n)',
822
+ :def_currency => 'USD',
823
+ },
824
+ 'es-UY' => {
825
+ :decimal_sep => ',',
826
+ :decimal_digits => 2,
827
+ :group_sep => '.',
828
+ :group_sizes => [3],
829
+ :pos_pattern => '$ n',
830
+ :neg_pattern => '($ n)',
831
+ :def_currency => 'UYU',
832
+ },
833
+ 'es-VE' => {
834
+ :decimal_sep => ',',
835
+ :decimal_digits => 2,
836
+ :group_sep => '.',
837
+ :group_sizes => [3],
838
+ :pos_pattern => '$ n',
839
+ :neg_pattern => '$ -n',
840
+ :def_currency => 'VEB',
841
+ },
842
+ 'et' => {
843
+ :decimal_sep => '.',
844
+ :decimal_digits => 2,
845
+ :group_sep => ' ',
846
+ :group_sizes => [3],
847
+ :pos_pattern => 'n $',
848
+ :neg_pattern => '-n $',
849
+ :def_currency => 'EEK',
850
+ },
851
+ 'et-EE' => {
852
+ :decimal_sep => '.',
853
+ :decimal_digits => 2,
854
+ :group_sep => ' ',
855
+ :group_sizes => [3],
856
+ :pos_pattern => 'n $',
857
+ :neg_pattern => '-n $',
858
+ :def_currency => 'EEK',
859
+ },
860
+ 'eu' => {
861
+ :decimal_sep => ',',
862
+ :decimal_digits => 2,
863
+ :group_sep => '.',
864
+ :group_sizes => [3],
865
+ :pos_pattern => 'n $',
866
+ :neg_pattern => '-n $',
867
+ :def_currency => 'EUR',
868
+ },
869
+ 'eu-ES' => {
870
+ :decimal_sep => ',',
871
+ :decimal_digits => 2,
872
+ :group_sep => '.',
873
+ :group_sizes => [3],
874
+ :pos_pattern => 'n $',
875
+ :neg_pattern => '-n $',
876
+ :def_currency => 'EUR',
877
+ },
878
+ 'fa' => {
879
+ :decimal_sep => '/',
880
+ :decimal_digits => 2,
881
+ :group_sep => ',',
882
+ :group_sizes => [3],
883
+ :pos_pattern => '$ n',
884
+ :neg_pattern => '$n-',
885
+ :def_currency => 'IRR',
886
+ },
887
+ 'fa-IR' => {
888
+ :decimal_sep => '/',
889
+ :decimal_digits => 2,
890
+ :group_sep => ',',
891
+ :group_sizes => [3],
892
+ :pos_pattern => '$ n',
893
+ :neg_pattern => '$n-',
894
+ :def_currency => 'IRR',
895
+ },
896
+ 'fi' => {
897
+ :decimal_sep => ',',
898
+ :decimal_digits => 2,
899
+ :group_sep => ' ',
900
+ :group_sizes => [3],
901
+ :pos_pattern => 'n $',
902
+ :neg_pattern => '-n $',
903
+ :def_currency => 'EUR',
904
+ },
905
+ 'fi-FI' => {
906
+ :decimal_sep => ',',
907
+ :decimal_digits => 2,
908
+ :group_sep => ' ',
909
+ :group_sizes => [3],
910
+ :pos_pattern => 'n $',
911
+ :neg_pattern => '-n $',
912
+ :def_currency => 'EUR',
913
+ },
914
+ 'fil-PH' => {
915
+ :decimal_sep => '.',
916
+ :decimal_digits => 2,
917
+ :group_sep => ',',
918
+ :group_sizes => [3],
919
+ :pos_pattern => '$n',
920
+ :neg_pattern => '($n)',
921
+ :def_currency => 'PHP',
922
+ },
923
+ 'fo' => {
924
+ :decimal_sep => ',',
925
+ :decimal_digits => 2,
926
+ :group_sep => '.',
927
+ :group_sizes => [3],
928
+ :pos_pattern => '$ n',
929
+ :neg_pattern => '$ -n',
930
+ :def_currency => 'DKK',
931
+ },
932
+ 'fo-FO' => {
933
+ :decimal_sep => ',',
934
+ :decimal_digits => 2,
935
+ :group_sep => '.',
936
+ :group_sizes => [3],
937
+ :pos_pattern => '$ n',
938
+ :neg_pattern => '$ -n',
939
+ :def_currency => 'DKK',
940
+ },
941
+ 'fr' => {
942
+ :decimal_sep => ',',
943
+ :decimal_digits => 2,
944
+ :group_sep => ' ',
945
+ :group_sizes => [3],
946
+ :pos_pattern => 'n $',
947
+ :neg_pattern => '-n $',
948
+ :def_currency => 'EUR',
949
+ },
950
+ 'fr-BE' => {
951
+ :decimal_sep => ',',
952
+ :decimal_digits => 2,
953
+ :group_sep => '.',
954
+ :group_sizes => [3],
955
+ :pos_pattern => '$ n',
956
+ :neg_pattern => '$ -n',
957
+ :def_currency => 'EUR',
958
+ },
959
+ 'fr-CA' => {
960
+ :decimal_sep => ',',
961
+ :decimal_digits => 2,
962
+ :group_sep => ' ',
963
+ :group_sizes => [3],
964
+ :pos_pattern => 'n $',
965
+ :neg_pattern => '(n $)',
966
+ :def_currency => 'CAD',
967
+ },
968
+ 'fr-CH' => {
969
+ :decimal_sep => '.',
970
+ :decimal_digits => 2,
971
+ :group_sep => '\'',
972
+ :group_sizes => [3],
973
+ :pos_pattern => '$ n',
974
+ :neg_pattern => '$-n',
975
+ :def_currency => 'CHF',
976
+ },
977
+ 'fr-FR' => {
978
+ :decimal_sep => ',',
979
+ :decimal_digits => 2,
980
+ :group_sep => ' ',
981
+ :group_sizes => [3],
982
+ :pos_pattern => 'n $',
983
+ :neg_pattern => '-n $',
984
+ :def_currency => 'EUR',
985
+ },
986
+ 'fr-LU' => {
987
+ :decimal_sep => ',',
988
+ :decimal_digits => 2,
989
+ :group_sep => ' ',
990
+ :group_sizes => [3],
991
+ :pos_pattern => 'n $',
992
+ :neg_pattern => '-n $',
993
+ :def_currency => 'EUR',
994
+ },
995
+ 'fr-MC' => {
996
+ :decimal_sep => ',',
997
+ :decimal_digits => 2,
998
+ :group_sep => ' ',
999
+ :group_sizes => [3],
1000
+ :pos_pattern => 'n $',
1001
+ :neg_pattern => '-n $',
1002
+ :def_currency => 'EUR',
1003
+ },
1004
+ 'fy-NL' => {
1005
+ :decimal_sep => ',',
1006
+ :decimal_digits => 2,
1007
+ :group_sep => '.',
1008
+ :group_sizes => [3],
1009
+ :pos_pattern => '$ n',
1010
+ :neg_pattern => '$ -n',
1011
+ :def_currency => 'EUR',
1012
+ },
1013
+ 'ga-IE' => {
1014
+ :decimal_sep => '.',
1015
+ :decimal_digits => 2,
1016
+ :group_sep => ',',
1017
+ :group_sizes => [3],
1018
+ :pos_pattern => '$n',
1019
+ :neg_pattern => '-$n',
1020
+ :def_currency => 'EUR',
1021
+ },
1022
+ 'gd-GB' => {
1023
+ :decimal_sep => '.',
1024
+ :decimal_digits => 2,
1025
+ :group_sep => ',',
1026
+ :group_sizes => [3],
1027
+ :pos_pattern => '$n',
1028
+ :neg_pattern => '-$n',
1029
+ :def_currency => 'GBP',
1030
+ },
1031
+ 'gl' => {
1032
+ :decimal_sep => ',',
1033
+ :decimal_digits => 2,
1034
+ :group_sep => '.',
1035
+ :group_sizes => [3],
1036
+ :pos_pattern => 'n $',
1037
+ :neg_pattern => '-n $',
1038
+ :def_currency => 'EUR',
1039
+ },
1040
+ 'gl-ES' => {
1041
+ :decimal_sep => ',',
1042
+ :decimal_digits => 2,
1043
+ :group_sep => '.',
1044
+ :group_sizes => [3],
1045
+ :pos_pattern => 'n $',
1046
+ :neg_pattern => '-n $',
1047
+ :def_currency => 'EUR',
1048
+ },
1049
+ 'gsw-FR' => {
1050
+ :decimal_sep => ',',
1051
+ :decimal_digits => 2,
1052
+ :group_sep => ' ',
1053
+ :group_sizes => [3],
1054
+ :pos_pattern => 'n $',
1055
+ :neg_pattern => '-n $',
1056
+ :def_currency => 'EUR',
1057
+ },
1058
+ 'gu' => {
1059
+ :decimal_sep => '.',
1060
+ :decimal_digits => 2,
1061
+ :group_sep => ',',
1062
+ :group_sizes => [3,2],
1063
+ :pos_pattern => '$ n',
1064
+ :neg_pattern => '$ -n',
1065
+ :def_currency => 'INR',
1066
+ },
1067
+ 'gu-IN' => {
1068
+ :decimal_sep => '.',
1069
+ :decimal_digits => 2,
1070
+ :group_sep => ',',
1071
+ :group_sizes => [3,2],
1072
+ :pos_pattern => '$ n',
1073
+ :neg_pattern => '$ -n',
1074
+ :def_currency => 'INR',
1075
+ },
1076
+ 'ha-Latn-NG' => {
1077
+ :decimal_sep => '.',
1078
+ :decimal_digits => 2,
1079
+ :group_sep => ',',
1080
+ :group_sizes => [3],
1081
+ :pos_pattern => '$ n',
1082
+ :neg_pattern => '$-n',
1083
+ :def_currency => 'NIO',
1084
+ },
1085
+ 'he' => {
1086
+ :decimal_sep => '.',
1087
+ :decimal_digits => 2,
1088
+ :group_sep => ',',
1089
+ :group_sizes => [3],
1090
+ :pos_pattern => '$ n',
1091
+ :neg_pattern => '$-n',
1092
+ :def_currency => 'ILS',
1093
+ },
1094
+ 'he-IL' => {
1095
+ :decimal_sep => '.',
1096
+ :decimal_digits => 2,
1097
+ :group_sep => ',',
1098
+ :group_sizes => [3],
1099
+ :pos_pattern => '$ n',
1100
+ :neg_pattern => '$-n',
1101
+ :def_currency => 'ILS',
1102
+ },
1103
+ 'hi' => {
1104
+ :decimal_sep => '.',
1105
+ :decimal_digits => 2,
1106
+ :group_sep => ',',
1107
+ :group_sizes => [3,2],
1108
+ :pos_pattern => '$ n',
1109
+ :neg_pattern => '$ -n',
1110
+ :def_currency => 'INR',
1111
+ },
1112
+ 'hi-IN' => {
1113
+ :decimal_sep => '.',
1114
+ :decimal_digits => 2,
1115
+ :group_sep => ',',
1116
+ :group_sizes => [3,2],
1117
+ :pos_pattern => '$ n',
1118
+ :neg_pattern => '$ -n',
1119
+ :def_currency => 'INR',
1120
+ },
1121
+ 'hr' => {
1122
+ :decimal_sep => ',',
1123
+ :decimal_digits => 2,
1124
+ :group_sep => '.',
1125
+ :group_sizes => [3],
1126
+ :pos_pattern => 'n $',
1127
+ :neg_pattern => '-n $',
1128
+ :def_currency => 'HRK',
1129
+ },
1130
+ 'hr-BA' => {
1131
+ :decimal_sep => ',',
1132
+ :decimal_digits => 2,
1133
+ :group_sep => '.',
1134
+ :group_sizes => [3],
1135
+ :pos_pattern => 'n $',
1136
+ :neg_pattern => '-n $',
1137
+ :def_currency => 'BAM',
1138
+ },
1139
+ 'hr-HR' => {
1140
+ :decimal_sep => ',',
1141
+ :decimal_digits => 2,
1142
+ :group_sep => '.',
1143
+ :group_sizes => [3],
1144
+ :pos_pattern => 'n $',
1145
+ :neg_pattern => '-n $',
1146
+ :def_currency => 'HRK',
1147
+ },
1148
+ 'hsb-DE' => {
1149
+ :decimal_sep => ',',
1150
+ :decimal_digits => 2,
1151
+ :group_sep => '.',
1152
+ :group_sizes => [3],
1153
+ :pos_pattern => 'n $',
1154
+ :neg_pattern => '-n $',
1155
+ :def_currency => 'EUR',
1156
+ },
1157
+ 'hu' => {
1158
+ :decimal_sep => ',',
1159
+ :decimal_digits => 2,
1160
+ :group_sep => ' ',
1161
+ :group_sizes => [3],
1162
+ :pos_pattern => 'n $',
1163
+ :neg_pattern => '-n $',
1164
+ :def_currency => 'HUF',
1165
+ },
1166
+ 'hu-HU' => {
1167
+ :decimal_sep => ',',
1168
+ :decimal_digits => 2,
1169
+ :group_sep => ' ',
1170
+ :group_sizes => [3],
1171
+ :pos_pattern => 'n $',
1172
+ :neg_pattern => '-n $',
1173
+ :def_currency => 'HUF',
1174
+ },
1175
+ 'hy' => {
1176
+ :decimal_sep => '.',
1177
+ :decimal_digits => 2,
1178
+ :group_sep => ',',
1179
+ :group_sizes => [3],
1180
+ :pos_pattern => 'n $',
1181
+ :neg_pattern => '-n $',
1182
+ :def_currency => 'AMD',
1183
+ },
1184
+ 'hy-AM' => {
1185
+ :decimal_sep => '.',
1186
+ :decimal_digits => 2,
1187
+ :group_sep => ',',
1188
+ :group_sizes => [3],
1189
+ :pos_pattern => 'n $',
1190
+ :neg_pattern => '-n $',
1191
+ :def_currency => 'AMD',
1192
+ },
1193
+ 'id' => {
1194
+ :decimal_sep => ',',
1195
+ :decimal_digits => 0,
1196
+ :group_sep => '.',
1197
+ :group_sizes => [3],
1198
+ :pos_pattern => '$n',
1199
+ :neg_pattern => '($n)',
1200
+ :def_currency => 'IDR',
1201
+ },
1202
+ 'id-ID' => {
1203
+ :decimal_sep => ',',
1204
+ :decimal_digits => 0,
1205
+ :group_sep => '.',
1206
+ :group_sizes => [3],
1207
+ :pos_pattern => '$n',
1208
+ :neg_pattern => '($n)',
1209
+ :def_currency => 'IDR',
1210
+ },
1211
+ 'ig-NG' => {
1212
+ :decimal_sep => '.',
1213
+ :decimal_digits => 2,
1214
+ :group_sep => ',',
1215
+ :group_sizes => [3],
1216
+ :pos_pattern => '$ n',
1217
+ :neg_pattern => '$-n',
1218
+ :def_currency => 'NIO',
1219
+ },
1220
+ 'ii-CN' => {
1221
+ :decimal_sep => '.',
1222
+ :decimal_digits => 2,
1223
+ :group_sep => ',',
1224
+ :group_sizes => [3],
1225
+ :pos_pattern => '$n',
1226
+ :neg_pattern => '$-n',
1227
+ :def_currency => 'CNY',
1228
+ },
1229
+ 'is' => {
1230
+ :decimal_sep => ',',
1231
+ :decimal_digits => 0,
1232
+ :group_sep => '.',
1233
+ :group_sizes => [3],
1234
+ :pos_pattern => 'n $',
1235
+ :neg_pattern => '-n $',
1236
+ :def_currency => 'ISK',
1237
+ },
1238
+ 'is-IS' => {
1239
+ :decimal_sep => ',',
1240
+ :decimal_digits => 0,
1241
+ :group_sep => '.',
1242
+ :group_sizes => [3],
1243
+ :pos_pattern => 'n $',
1244
+ :neg_pattern => '-n $',
1245
+ :def_currency => 'ISK',
1246
+ },
1247
+ 'it' => {
1248
+ :decimal_sep => ',',
1249
+ :decimal_digits => 2,
1250
+ :group_sep => '.',
1251
+ :group_sizes => [3],
1252
+ :pos_pattern => '$ n',
1253
+ :neg_pattern => '-$ n',
1254
+ :def_currency => 'EUR',
1255
+ },
1256
+ 'it-CH' => {
1257
+ :decimal_sep => '.',
1258
+ :decimal_digits => 2,
1259
+ :group_sep => '\'',
1260
+ :group_sizes => [3],
1261
+ :pos_pattern => '$ n',
1262
+ :neg_pattern => '$-n',
1263
+ :def_currency => 'CHF',
1264
+ },
1265
+ 'it-IT' => {
1266
+ :decimal_sep => ',',
1267
+ :decimal_digits => 2,
1268
+ :group_sep => '.',
1269
+ :group_sizes => [3],
1270
+ :pos_pattern => '$ n',
1271
+ :neg_pattern => '-$ n',
1272
+ :def_currency => 'EUR',
1273
+ },
1274
+ 'iu-Cans-CA' => {
1275
+ :decimal_sep => '.',
1276
+ :decimal_digits => 2,
1277
+ :group_sep => ',',
1278
+ :group_sizes => [3,0],
1279
+ :pos_pattern => '$n',
1280
+ :neg_pattern => '($n)',
1281
+ :def_currency => 'CAD',
1282
+ },
1283
+ 'iu-Latn-CA' => {
1284
+ :decimal_sep => '.',
1285
+ :decimal_digits => 2,
1286
+ :group_sep => ',',
1287
+ :group_sizes => [3],
1288
+ :pos_pattern => '$n',
1289
+ :neg_pattern => '($n)',
1290
+ :def_currency => 'CAD',
1291
+ },
1292
+ 'ja' => {
1293
+ :decimal_sep => '.',
1294
+ :decimal_digits => 0,
1295
+ :group_sep => ',',
1296
+ :group_sizes => [3],
1297
+ :pos_pattern => '$n',
1298
+ :neg_pattern => '-$n',
1299
+ :def_currency => 'JPY',
1300
+ },
1301
+ 'ja-JP' => {
1302
+ :decimal_sep => '.',
1303
+ :decimal_digits => 0,
1304
+ :group_sep => ',',
1305
+ :group_sizes => [3],
1306
+ :pos_pattern => '$n',
1307
+ :neg_pattern => '-$n',
1308
+ :def_currency => 'JPY',
1309
+ },
1310
+ 'ka' => {
1311
+ :decimal_sep => ',',
1312
+ :decimal_digits => 2,
1313
+ :group_sep => ' ',
1314
+ :group_sizes => [3],
1315
+ :pos_pattern => 'n $',
1316
+ :neg_pattern => '-n $',
1317
+ :def_currency => 'GEL',
1318
+ },
1319
+ 'ka-GE' => {
1320
+ :decimal_sep => ',',
1321
+ :decimal_digits => 2,
1322
+ :group_sep => ' ',
1323
+ :group_sizes => [3],
1324
+ :pos_pattern => 'n $',
1325
+ :neg_pattern => '-n $',
1326
+ :def_currency => 'GEL',
1327
+ },
1328
+ 'kk' => {
1329
+ :decimal_sep => '-',
1330
+ :decimal_digits => 2,
1331
+ :group_sep => ' ',
1332
+ :group_sizes => [3],
1333
+ :pos_pattern => '$n',
1334
+ :neg_pattern => '-$n',
1335
+ :def_currency => 'KZT',
1336
+ },
1337
+ 'kk-KZ' => {
1338
+ :decimal_sep => '-',
1339
+ :decimal_digits => 2,
1340
+ :group_sep => ' ',
1341
+ :group_sizes => [3],
1342
+ :pos_pattern => '$n',
1343
+ :neg_pattern => '-$n',
1344
+ :def_currency => 'KZT',
1345
+ },
1346
+ 'kl-GL' => {
1347
+ :decimal_sep => ',',
1348
+ :decimal_digits => 2,
1349
+ :group_sep => '.',
1350
+ :group_sizes => [3,0],
1351
+ :pos_pattern => '$ n',
1352
+ :neg_pattern => '$ -n',
1353
+ :def_currency => 'DKK',
1354
+ },
1355
+ 'km-KH' => {
1356
+ :decimal_sep => '.',
1357
+ :decimal_digits => 2,
1358
+ :group_sep => ',',
1359
+ :group_sizes => [3],
1360
+ :pos_pattern => 'n$',
1361
+ :neg_pattern => '-n$',
1362
+ :def_currency => 'KHR',
1363
+ },
1364
+ 'kn' => {
1365
+ :decimal_sep => '.',
1366
+ :decimal_digits => 2,
1367
+ :group_sep => ',',
1368
+ :group_sizes => [3,2],
1369
+ :pos_pattern => '$ n',
1370
+ :neg_pattern => '$ -n',
1371
+ :def_currency => 'INR',
1372
+ },
1373
+ 'kn-IN' => {
1374
+ :decimal_sep => '.',
1375
+ :decimal_digits => 2,
1376
+ :group_sep => ',',
1377
+ :group_sizes => [3,2],
1378
+ :pos_pattern => '$ n',
1379
+ :neg_pattern => '$ -n',
1380
+ :def_currency => 'INR',
1381
+ },
1382
+ 'ko' => {
1383
+ :decimal_sep => '.',
1384
+ :decimal_digits => 0,
1385
+ :group_sep => ',',
1386
+ :group_sizes => [3],
1387
+ :pos_pattern => '$n',
1388
+ :neg_pattern => '-$n',
1389
+ :def_currency => 'KRW',
1390
+ },
1391
+ 'kok' => {
1392
+ :decimal_sep => '.',
1393
+ :decimal_digits => 2,
1394
+ :group_sep => ',',
1395
+ :group_sizes => [3,2],
1396
+ :pos_pattern => '$ n',
1397
+ :neg_pattern => '$ -n',
1398
+ :def_currency => 'INR',
1399
+ },
1400
+ 'kok-IN' => {
1401
+ :decimal_sep => '.',
1402
+ :decimal_digits => 2,
1403
+ :group_sep => ',',
1404
+ :group_sizes => [3,2],
1405
+ :pos_pattern => '$ n',
1406
+ :neg_pattern => '$ -n',
1407
+ :def_currency => 'INR',
1408
+ },
1409
+ 'ko-KR' => {
1410
+ :decimal_sep => '.',
1411
+ :decimal_digits => 0,
1412
+ :group_sep => ',',
1413
+ :group_sizes => [3],
1414
+ :pos_pattern => '$n',
1415
+ :neg_pattern => '-$n',
1416
+ :def_currency => 'KRW',
1417
+ },
1418
+ 'ky' => {
1419
+ :decimal_sep => '-',
1420
+ :decimal_digits => 2,
1421
+ :group_sep => ' ',
1422
+ :group_sizes => [3],
1423
+ :pos_pattern => 'n $',
1424
+ :neg_pattern => '-n $',
1425
+ :def_currency => 'KGS',
1426
+ },
1427
+ 'ky-KG' => {
1428
+ :decimal_sep => '-',
1429
+ :decimal_digits => 2,
1430
+ :group_sep => ' ',
1431
+ :group_sizes => [3],
1432
+ :pos_pattern => 'n $',
1433
+ :neg_pattern => '-n $',
1434
+ :def_currency => 'KGS',
1435
+ },
1436
+ 'lb-LU' => {
1437
+ :decimal_sep => ',',
1438
+ :decimal_digits => 2,
1439
+ :group_sep => ' ',
1440
+ :group_sizes => [3],
1441
+ :pos_pattern => 'n $',
1442
+ :neg_pattern => '-n $',
1443
+ :def_currency => 'EUR',
1444
+ },
1445
+ 'lo-LA' => {
1446
+ :decimal_sep => '.',
1447
+ :decimal_digits => 2,
1448
+ :group_sep => ',',
1449
+ :group_sizes => [3,0],
1450
+ :pos_pattern => 'n$',
1451
+ :neg_pattern => '(n$)',
1452
+ :def_currency => 'LAK',
1453
+ },
1454
+ 'lt' => {
1455
+ :decimal_sep => ',',
1456
+ :decimal_digits => 2,
1457
+ :group_sep => '.',
1458
+ :group_sizes => [3],
1459
+ :pos_pattern => 'n $',
1460
+ :neg_pattern => '-n $',
1461
+ :def_currency => 'LTL',
1462
+ },
1463
+ 'lt-LT' => {
1464
+ :decimal_sep => ',',
1465
+ :decimal_digits => 2,
1466
+ :group_sep => '.',
1467
+ :group_sizes => [3],
1468
+ :pos_pattern => 'n $',
1469
+ :neg_pattern => '-n $',
1470
+ :def_currency => 'LTL',
1471
+ },
1472
+ 'lv' => {
1473
+ :decimal_sep => ',',
1474
+ :decimal_digits => 2,
1475
+ :group_sep => ' ',
1476
+ :group_sizes => [3],
1477
+ :pos_pattern => '$ n',
1478
+ :neg_pattern => '-$ n',
1479
+ :def_currency => 'LVL',
1480
+ },
1481
+ 'lv-LV' => {
1482
+ :decimal_sep => ',',
1483
+ :decimal_digits => 2,
1484
+ :group_sep => ' ',
1485
+ :group_sizes => [3],
1486
+ :pos_pattern => '$ n',
1487
+ :neg_pattern => '-$ n',
1488
+ :def_currency => 'LVL',
1489
+ },
1490
+ 'mi-NZ' => {
1491
+ :decimal_sep => '.',
1492
+ :decimal_digits => 2,
1493
+ :group_sep => ',',
1494
+ :group_sizes => [3],
1495
+ :pos_pattern => '$n',
1496
+ :neg_pattern => '-$n',
1497
+ :def_currency => 'NZD',
1498
+ },
1499
+ 'mk' => {
1500
+ :decimal_sep => ',',
1501
+ :decimal_digits => 2,
1502
+ :group_sep => '.',
1503
+ :group_sizes => [3],
1504
+ :pos_pattern => 'n $',
1505
+ :neg_pattern => '-n $',
1506
+ :def_currency => 'MKD',
1507
+ },
1508
+ 'mk-MK' => {
1509
+ :decimal_sep => ',',
1510
+ :decimal_digits => 2,
1511
+ :group_sep => '.',
1512
+ :group_sizes => [3],
1513
+ :pos_pattern => 'n $',
1514
+ :neg_pattern => '-n $',
1515
+ :def_currency => 'MKD',
1516
+ },
1517
+ 'ml-IN' => {
1518
+ :decimal_sep => '.',
1519
+ :decimal_digits => 2,
1520
+ :group_sep => ',',
1521
+ :group_sizes => [3,2],
1522
+ :pos_pattern => '$ n',
1523
+ :neg_pattern => '$ -n',
1524
+ :def_currency => 'INR',
1525
+ },
1526
+ 'mn' => {
1527
+ :decimal_sep => ',',
1528
+ :decimal_digits => 2,
1529
+ :group_sep => ' ',
1530
+ :group_sizes => [3],
1531
+ :pos_pattern => 'n$',
1532
+ :neg_pattern => '-n$',
1533
+ :def_currency => 'MNT',
1534
+ },
1535
+ 'mn-MN' => {
1536
+ :decimal_sep => ',',
1537
+ :decimal_digits => 2,
1538
+ :group_sep => ' ',
1539
+ :group_sizes => [3],
1540
+ :pos_pattern => 'n$',
1541
+ :neg_pattern => '-n$',
1542
+ :def_currency => 'MNT',
1543
+ },
1544
+ 'mn-Mong-CN' => {
1545
+ :decimal_sep => '.',
1546
+ :decimal_digits => 2,
1547
+ :group_sep => ',',
1548
+ :group_sizes => [3,0],
1549
+ :pos_pattern => '$n',
1550
+ :neg_pattern => '$-n',
1551
+ :def_currency => 'CNY',
1552
+ },
1553
+ 'moh-CA' => {
1554
+ :decimal_sep => '.',
1555
+ :decimal_digits => 2,
1556
+ :group_sep => ',',
1557
+ :group_sizes => [3],
1558
+ :pos_pattern => '$n',
1559
+ :neg_pattern => '($n)',
1560
+ :def_currency => 'CAD',
1561
+ },
1562
+ 'mr' => {
1563
+ :decimal_sep => '.',
1564
+ :decimal_digits => 2,
1565
+ :group_sep => ',',
1566
+ :group_sizes => [3,2],
1567
+ :pos_pattern => '$ n',
1568
+ :neg_pattern => '$ -n',
1569
+ :def_currency => 'INR',
1570
+ },
1571
+ 'mr-IN' => {
1572
+ :decimal_sep => '.',
1573
+ :decimal_digits => 2,
1574
+ :group_sep => ',',
1575
+ :group_sizes => [3,2],
1576
+ :pos_pattern => '$ n',
1577
+ :neg_pattern => '$ -n',
1578
+ :def_currency => 'INR',
1579
+ },
1580
+ 'ms' => {
1581
+ :decimal_sep => ',',
1582
+ :decimal_digits => 0,
1583
+ :group_sep => '.',
1584
+ :group_sizes => [3],
1585
+ :pos_pattern => '$n',
1586
+ :neg_pattern => '($n)',
1587
+ :def_currency => 'MYR',
1588
+ },
1589
+ 'ms-BN' => {
1590
+ :decimal_sep => ',',
1591
+ :decimal_digits => 0,
1592
+ :group_sep => '.',
1593
+ :group_sizes => [3],
1594
+ :pos_pattern => '$n',
1595
+ :neg_pattern => '($n)',
1596
+ :def_currency => 'BND',
1597
+ },
1598
+ 'ms-MY' => {
1599
+ :decimal_sep => ',',
1600
+ :decimal_digits => 0,
1601
+ :group_sep => '.',
1602
+ :group_sizes => [3],
1603
+ :pos_pattern => '$n',
1604
+ :neg_pattern => '($n)',
1605
+ :def_currency => 'MYR',
1606
+ },
1607
+ 'mt-MT' => {
1608
+ :decimal_sep => '.',
1609
+ :decimal_digits => 2,
1610
+ :group_sep => ',',
1611
+ :group_sizes => [3],
1612
+ :pos_pattern => '$n',
1613
+ :neg_pattern => '-$n',
1614
+ :def_currency => 'EUR',
1615
+ },
1616
+ 'nb-NO' => {
1617
+ :decimal_sep => ',',
1618
+ :decimal_digits => 2,
1619
+ :group_sep => ' ',
1620
+ :group_sizes => [3],
1621
+ :pos_pattern => '$ n',
1622
+ :neg_pattern => '$ -n',
1623
+ :def_currency => 'NOK',
1624
+ },
1625
+ 'ne-NP' => {
1626
+ :decimal_sep => '.',
1627
+ :decimal_digits => 2,
1628
+ :group_sep => ',',
1629
+ :group_sizes => [3],
1630
+ :pos_pattern => '$n',
1631
+ :neg_pattern => '-$n',
1632
+ :def_currency => 'NPR',
1633
+ },
1634
+ 'nl' => {
1635
+ :decimal_sep => ',',
1636
+ :decimal_digits => 2,
1637
+ :group_sep => '.',
1638
+ :group_sizes => [3],
1639
+ :pos_pattern => '$ n',
1640
+ :neg_pattern => '$ -n',
1641
+ :def_currency => 'EUR',
1642
+ },
1643
+ 'nl-BE' => {
1644
+ :decimal_sep => ',',
1645
+ :decimal_digits => 2,
1646
+ :group_sep => '.',
1647
+ :group_sizes => [3],
1648
+ :pos_pattern => '$ n',
1649
+ :neg_pattern => '$ -n',
1650
+ :def_currency => 'EUR',
1651
+ },
1652
+ 'nl-NL' => {
1653
+ :decimal_sep => ',',
1654
+ :decimal_digits => 2,
1655
+ :group_sep => '.',
1656
+ :group_sizes => [3],
1657
+ :pos_pattern => '$ n',
1658
+ :neg_pattern => '$ -n',
1659
+ :def_currency => 'EUR',
1660
+ },
1661
+ 'nn-NO' => {
1662
+ :decimal_sep => ',',
1663
+ :decimal_digits => 2,
1664
+ :group_sep => ' ',
1665
+ :group_sizes => [3],
1666
+ :pos_pattern => '$ n',
1667
+ :neg_pattern => '$ -n',
1668
+ :def_currency => 'NOK',
1669
+ },
1670
+ 'no' => {
1671
+ :decimal_sep => ',',
1672
+ :decimal_digits => 2,
1673
+ :group_sep => ' ',
1674
+ :group_sizes => [3],
1675
+ :pos_pattern => '$ n',
1676
+ :neg_pattern => '$ -n',
1677
+ :def_currency => 'NOK',
1678
+ },
1679
+ 'nso-ZA' => {
1680
+ :decimal_sep => '.',
1681
+ :decimal_digits => 2,
1682
+ :group_sep => ',',
1683
+ :group_sizes => [3],
1684
+ :pos_pattern => '$ n',
1685
+ :neg_pattern => '$-n',
1686
+ :def_currency => 'ZAR',
1687
+ },
1688
+ 'oc-FR' => {
1689
+ :decimal_sep => ',',
1690
+ :decimal_digits => 2,
1691
+ :group_sep => ' ',
1692
+ :group_sizes => [3],
1693
+ :pos_pattern => 'n $',
1694
+ :neg_pattern => '-n $',
1695
+ :def_currency => 'EUR',
1696
+ },
1697
+ 'or-IN' => {
1698
+ :decimal_sep => '.',
1699
+ :decimal_digits => 2,
1700
+ :group_sep => ',',
1701
+ :group_sizes => [3,2],
1702
+ :pos_pattern => '$ n',
1703
+ :neg_pattern => '$ -n',
1704
+ :def_currency => 'INR',
1705
+ },
1706
+ 'pa' => {
1707
+ :decimal_sep => '.',
1708
+ :decimal_digits => 2,
1709
+ :group_sep => ',',
1710
+ :group_sizes => [3,2],
1711
+ :pos_pattern => '$ n',
1712
+ :neg_pattern => '$ -n',
1713
+ :def_currency => 'INR',
1714
+ },
1715
+ 'pa-IN' => {
1716
+ :decimal_sep => '.',
1717
+ :decimal_digits => 2,
1718
+ :group_sep => ',',
1719
+ :group_sizes => [3,2],
1720
+ :pos_pattern => '$ n',
1721
+ :neg_pattern => '$ -n',
1722
+ :def_currency => 'INR',
1723
+ },
1724
+ 'pl' => {
1725
+ :decimal_sep => ',',
1726
+ :decimal_digits => 2,
1727
+ :group_sep => ' ',
1728
+ :group_sizes => [3],
1729
+ :pos_pattern => 'n $',
1730
+ :neg_pattern => '-n $',
1731
+ :def_currency => 'PLN',
1732
+ },
1733
+ 'pl-PL' => {
1734
+ :decimal_sep => ',',
1735
+ :decimal_digits => 2,
1736
+ :group_sep => ' ',
1737
+ :group_sizes => [3],
1738
+ :pos_pattern => 'n $',
1739
+ :neg_pattern => '-n $',
1740
+ :def_currency => 'PLN',
1741
+ },
1742
+ 'prs-AF' => {
1743
+ :decimal_sep => '.',
1744
+ :decimal_digits => 2,
1745
+ :group_sep => ',',
1746
+ :group_sizes => [3],
1747
+ :pos_pattern => '$n',
1748
+ :neg_pattern => '$n-',
1749
+ :def_currency => 'AFN',
1750
+ },
1751
+ 'ps-AF' => {
1752
+ :decimal_sep => '٫',
1753
+ :decimal_digits => 2,
1754
+ :group_sep => '٬',
1755
+ :group_sizes => [3],
1756
+ :pos_pattern => '$n',
1757
+ :neg_pattern => '$n-',
1758
+ :def_currency => 'AFN',
1759
+ },
1760
+ 'pt' => {
1761
+ :decimal_sep => ',',
1762
+ :decimal_digits => 2,
1763
+ :group_sep => '.',
1764
+ :group_sizes => [3],
1765
+ :pos_pattern => '$ n',
1766
+ :neg_pattern => '-$ n',
1767
+ :def_currency => 'BRL',
1768
+ },
1769
+ 'pt-BR' => {
1770
+ :decimal_sep => ',',
1771
+ :decimal_digits => 2,
1772
+ :group_sep => '.',
1773
+ :group_sizes => [3],
1774
+ :pos_pattern => '$ n',
1775
+ :neg_pattern => '-$ n',
1776
+ :def_currency => 'BRL',
1777
+ },
1778
+ 'pt-PT' => {
1779
+ :decimal_sep => ',',
1780
+ :decimal_digits => 2,
1781
+ :group_sep => '.',
1782
+ :group_sizes => [3],
1783
+ :pos_pattern => 'n $',
1784
+ :neg_pattern => '-n $',
1785
+ :def_currency => 'EUR',
1786
+ },
1787
+ 'qut-GT' => {
1788
+ :decimal_sep => '.',
1789
+ :decimal_digits => 2,
1790
+ :group_sep => ',',
1791
+ :group_sizes => [3],
1792
+ :pos_pattern => '$n',
1793
+ :neg_pattern => '($n)',
1794
+ :def_currency => 'GTQ',
1795
+ },
1796
+ 'quz-BO' => {
1797
+ :decimal_sep => ',',
1798
+ :decimal_digits => 2,
1799
+ :group_sep => '.',
1800
+ :group_sizes => [3],
1801
+ :pos_pattern => '$ n',
1802
+ :neg_pattern => '($ n)',
1803
+ :def_currency => 'BOB',
1804
+ },
1805
+ 'quz-EC' => {
1806
+ :decimal_sep => ',',
1807
+ :decimal_digits => 2,
1808
+ :group_sep => '.',
1809
+ :group_sizes => [3],
1810
+ :pos_pattern => '$ n',
1811
+ :neg_pattern => '($ n)',
1812
+ :def_currency => 'USD',
1813
+ },
1814
+ 'quz-PE' => {
1815
+ :decimal_sep => '.',
1816
+ :decimal_digits => 2,
1817
+ :group_sep => ',',
1818
+ :group_sizes => [3],
1819
+ :pos_pattern => '$ n',
1820
+ :neg_pattern => '$ -n',
1821
+ :def_currency => 'PEN',
1822
+ },
1823
+ 'rm-CH' => {
1824
+ :decimal_sep => '.',
1825
+ :decimal_digits => 2,
1826
+ :group_sep => '\'',
1827
+ :group_sizes => [3],
1828
+ :pos_pattern => '$ n',
1829
+ :neg_pattern => '$-n',
1830
+ :def_currency => 'CHF',
1831
+ },
1832
+ 'ro' => {
1833
+ :decimal_sep => ',',
1834
+ :decimal_digits => 2,
1835
+ :group_sep => '.',
1836
+ :group_sizes => [3],
1837
+ :pos_pattern => 'n $',
1838
+ :neg_pattern => '-n $',
1839
+ :def_currency => 'ROL',
1840
+ },
1841
+ 'ro-RO' => {
1842
+ :decimal_sep => ',',
1843
+ :decimal_digits => 2,
1844
+ :group_sep => '.',
1845
+ :group_sizes => [3],
1846
+ :pos_pattern => 'n $',
1847
+ :neg_pattern => '-n $',
1848
+ :def_currency => 'ROL',
1849
+ },
1850
+ 'ru' => {
1851
+ :decimal_sep => ',',
1852
+ :decimal_digits => 2,
1853
+ :group_sep => ' ',
1854
+ :group_sizes => [3],
1855
+ :pos_pattern => 'n$',
1856
+ :neg_pattern => '-n$',
1857
+ :def_currency => 'RUR',
1858
+ },
1859
+ 'ru-RU' => {
1860
+ :decimal_sep => ',',
1861
+ :decimal_digits => 2,
1862
+ :group_sep => ' ',
1863
+ :group_sizes => [3],
1864
+ :pos_pattern => 'n$',
1865
+ :neg_pattern => '-n$',
1866
+ :def_currency => 'RUR',
1867
+ },
1868
+ 'rw-RW' => {
1869
+ :decimal_sep => ',',
1870
+ :decimal_digits => 2,
1871
+ :group_sep => ' ',
1872
+ :group_sizes => [3],
1873
+ :pos_pattern => '$ n',
1874
+ :neg_pattern => '$-n',
1875
+ :def_currency => 'RWF',
1876
+ },
1877
+ 'sa' => {
1878
+ :decimal_sep => '.',
1879
+ :decimal_digits => 2,
1880
+ :group_sep => ',',
1881
+ :group_sizes => [3,2],
1882
+ :pos_pattern => '$ n',
1883
+ :neg_pattern => '$ -n',
1884
+ :def_currency => 'INR',
1885
+ },
1886
+ 'sah-RU' => {
1887
+ :decimal_sep => ',',
1888
+ :decimal_digits => 2,
1889
+ :group_sep => ' ',
1890
+ :group_sizes => [3],
1891
+ :pos_pattern => 'n$',
1892
+ :neg_pattern => '-n$',
1893
+ :def_currency => 'RUB',
1894
+ },
1895
+ 'sa-IN' => {
1896
+ :decimal_sep => '.',
1897
+ :decimal_digits => 2,
1898
+ :group_sep => ',',
1899
+ :group_sizes => [3,2],
1900
+ :pos_pattern => '$ n',
1901
+ :neg_pattern => '$ -n',
1902
+ :def_currency => 'INR',
1903
+ },
1904
+ 'se-FI' => {
1905
+ :decimal_sep => ',',
1906
+ :decimal_digits => 2,
1907
+ :group_sep => ' ',
1908
+ :group_sizes => [3],
1909
+ :pos_pattern => 'n $',
1910
+ :neg_pattern => '-n $',
1911
+ :def_currency => 'EUR',
1912
+ },
1913
+ 'se-NO' => {
1914
+ :decimal_sep => ',',
1915
+ :decimal_digits => 2,
1916
+ :group_sep => ' ',
1917
+ :group_sizes => [3],
1918
+ :pos_pattern => '$ n',
1919
+ :neg_pattern => '$ -n',
1920
+ :def_currency => 'NOK',
1921
+ },
1922
+ 'se-SE' => {
1923
+ :decimal_sep => ',',
1924
+ :decimal_digits => 2,
1925
+ :group_sep => '.',
1926
+ :group_sizes => [3],
1927
+ :pos_pattern => 'n $',
1928
+ :neg_pattern => '-n $',
1929
+ :def_currency => 'SEK',
1930
+ },
1931
+ 'si-LK' => {
1932
+ :decimal_sep => '.',
1933
+ :decimal_digits => 2,
1934
+ :group_sep => ',',
1935
+ :group_sizes => [3],
1936
+ :pos_pattern => '$ n',
1937
+ :neg_pattern => '($ n)',
1938
+ :def_currency => 'LKR',
1939
+ },
1940
+ 'sk' => {
1941
+ :decimal_sep => ',',
1942
+ :decimal_digits => 2,
1943
+ :group_sep => ' ',
1944
+ :group_sizes => [3],
1945
+ :pos_pattern => 'n $',
1946
+ :neg_pattern => '-n $',
1947
+ :def_currency => 'EUR',
1948
+ },
1949
+ 'sk-SK' => {
1950
+ :decimal_sep => ',',
1951
+ :decimal_digits => 2,
1952
+ :group_sep => ' ',
1953
+ :group_sizes => [3],
1954
+ :pos_pattern => 'n $',
1955
+ :neg_pattern => '-n $',
1956
+ :def_currency => 'EUR',
1957
+ },
1958
+ 'sl' => {
1959
+ :decimal_sep => ',',
1960
+ :decimal_digits => 2,
1961
+ :group_sep => '.',
1962
+ :group_sizes => [3],
1963
+ :pos_pattern => 'n $',
1964
+ :neg_pattern => '-n $',
1965
+ :def_currency => 'EUR',
1966
+ },
1967
+ 'sl-SI' => {
1968
+ :decimal_sep => ',',
1969
+ :decimal_digits => 2,
1970
+ :group_sep => '.',
1971
+ :group_sizes => [3],
1972
+ :pos_pattern => 'n $',
1973
+ :neg_pattern => '-n $',
1974
+ :def_currency => 'EUR',
1975
+ },
1976
+ 'sma-NO' => {
1977
+ :decimal_sep => ',',
1978
+ :decimal_digits => 2,
1979
+ :group_sep => ' ',
1980
+ :group_sizes => [3],
1981
+ :pos_pattern => '$ n',
1982
+ :neg_pattern => '$ -n',
1983
+ :def_currency => 'NOK',
1984
+ },
1985
+ 'sma-SE' => {
1986
+ :decimal_sep => ',',
1987
+ :decimal_digits => 2,
1988
+ :group_sep => '.',
1989
+ :group_sizes => [3],
1990
+ :pos_pattern => 'n $',
1991
+ :neg_pattern => '-n $',
1992
+ :def_currency => 'SEK',
1993
+ },
1994
+ 'smj-NO' => {
1995
+ :decimal_sep => ',',
1996
+ :decimal_digits => 2,
1997
+ :group_sep => ' ',
1998
+ :group_sizes => [3],
1999
+ :pos_pattern => '$ n',
2000
+ :neg_pattern => '$ -n',
2001
+ :def_currency => 'NOK',
2002
+ },
2003
+ 'smj-SE' => {
2004
+ :decimal_sep => ',',
2005
+ :decimal_digits => 2,
2006
+ :group_sep => '.',
2007
+ :group_sizes => [3],
2008
+ :pos_pattern => 'n $',
2009
+ :neg_pattern => '-n $',
2010
+ :def_currency => 'SEK',
2011
+ },
2012
+ 'smn-FI' => {
2013
+ :decimal_sep => ',',
2014
+ :decimal_digits => 2,
2015
+ :group_sep => ' ',
2016
+ :group_sizes => [3],
2017
+ :pos_pattern => 'n $',
2018
+ :neg_pattern => '-n $',
2019
+ :def_currency => 'EUR',
2020
+ },
2021
+ 'sms-FI' => {
2022
+ :decimal_sep => ',',
2023
+ :decimal_digits => 2,
2024
+ :group_sep => ' ',
2025
+ :group_sizes => [3],
2026
+ :pos_pattern => 'n $',
2027
+ :neg_pattern => '-n $',
2028
+ :def_currency => 'EUR',
2029
+ },
2030
+ 'sq' => {
2031
+ :decimal_sep => ',',
2032
+ :decimal_digits => 2,
2033
+ :group_sep => '.',
2034
+ :group_sizes => [3],
2035
+ :pos_pattern => 'n$',
2036
+ :neg_pattern => '-n$',
2037
+ :def_currency => 'ALL',
2038
+ },
2039
+ 'sq-AL' => {
2040
+ :decimal_sep => ',',
2041
+ :decimal_digits => 2,
2042
+ :group_sep => '.',
2043
+ :group_sizes => [3],
2044
+ :pos_pattern => 'n$',
2045
+ :neg_pattern => '-n$',
2046
+ :def_currency => 'ALL',
2047
+ },
2048
+ 'sr' => {
2049
+ :decimal_sep => ',',
2050
+ :decimal_digits => 2,
2051
+ :group_sep => '.',
2052
+ :group_sizes => [3],
2053
+ :pos_pattern => 'n $',
2054
+ :neg_pattern => '-n $',
2055
+ :def_currency => 'CSD',
2056
+ },
2057
+ 'sr-Cyrl-BA' => {
2058
+ :decimal_sep => ',',
2059
+ :decimal_digits => 2,
2060
+ :group_sep => '.',
2061
+ :group_sizes => [3],
2062
+ :pos_pattern => 'n $',
2063
+ :neg_pattern => '-n $',
2064
+ :def_currency => 'BAM',
2065
+ },
2066
+ 'sr-Cyrl-CS' => {
2067
+ :decimal_sep => ',',
2068
+ :decimal_digits => 2,
2069
+ :group_sep => '.',
2070
+ :group_sizes => [3],
2071
+ :pos_pattern => 'n $',
2072
+ :neg_pattern => '-n $',
2073
+ :def_currency => 'CSD',
2074
+ },
2075
+ 'sr-Cyrl-ME' => {
2076
+ :decimal_sep => ',',
2077
+ :decimal_digits => 2,
2078
+ :group_sep => '.',
2079
+ :group_sizes => [3],
2080
+ :pos_pattern => 'n $',
2081
+ :neg_pattern => '-n $',
2082
+ :def_currency => 'EUR',
2083
+ },
2084
+ 'sr-Cyrl-RS' => {
2085
+ :decimal_sep => ',',
2086
+ :decimal_digits => 2,
2087
+ :group_sep => '.',
2088
+ :group_sizes => [3],
2089
+ :pos_pattern => 'n $',
2090
+ :neg_pattern => '-n $',
2091
+ :def_currency => 'RSD',
2092
+ },
2093
+ 'sr-Latn-BA' => {
2094
+ :decimal_sep => ',',
2095
+ :decimal_digits => 2,
2096
+ :group_sep => '.',
2097
+ :group_sizes => [3],
2098
+ :pos_pattern => 'n $',
2099
+ :neg_pattern => '-n $',
2100
+ :def_currency => 'BAM',
2101
+ },
2102
+ 'sr-Latn-CS' => {
2103
+ :decimal_sep => ',',
2104
+ :decimal_digits => 2,
2105
+ :group_sep => '.',
2106
+ :group_sizes => [3],
2107
+ :pos_pattern => 'n $',
2108
+ :neg_pattern => '-n $',
2109
+ :def_currency => 'CSD',
2110
+ },
2111
+ 'sr-Latn-ME' => {
2112
+ :decimal_sep => ',',
2113
+ :decimal_digits => 2,
2114
+ :group_sep => '.',
2115
+ :group_sizes => [3],
2116
+ :pos_pattern => 'n $',
2117
+ :neg_pattern => '-n $',
2118
+ :def_currency => 'EUR',
2119
+ },
2120
+ 'sr-Latn-RS' => {
2121
+ :decimal_sep => ',',
2122
+ :decimal_digits => 2,
2123
+ :group_sep => '.',
2124
+ :group_sizes => [3],
2125
+ :pos_pattern => 'n $',
2126
+ :neg_pattern => '-n $',
2127
+ :def_currency => 'RSD',
2128
+ },
2129
+ 'sv' => {
2130
+ :decimal_sep => ',',
2131
+ :decimal_digits => 2,
2132
+ :group_sep => '.',
2133
+ :group_sizes => [3],
2134
+ :pos_pattern => 'n $',
2135
+ :neg_pattern => '-n $',
2136
+ :def_currency => 'SEK',
2137
+ },
2138
+ 'sv-FI' => {
2139
+ :decimal_sep => ',',
2140
+ :decimal_digits => 2,
2141
+ :group_sep => ' ',
2142
+ :group_sizes => [3],
2143
+ :pos_pattern => 'n $',
2144
+ :neg_pattern => '-n $',
2145
+ :def_currency => 'EUR',
2146
+ },
2147
+ 'sv-SE' => {
2148
+ :decimal_sep => ',',
2149
+ :decimal_digits => 2,
2150
+ :group_sep => '.',
2151
+ :group_sizes => [3],
2152
+ :pos_pattern => 'n $',
2153
+ :neg_pattern => '-n $',
2154
+ :def_currency => 'SEK',
2155
+ },
2156
+ 'sw' => {
2157
+ :decimal_sep => '.',
2158
+ :decimal_digits => 2,
2159
+ :group_sep => ',',
2160
+ :group_sizes => [3],
2161
+ :pos_pattern => '$n',
2162
+ :neg_pattern => '($n)',
2163
+ :def_currency => 'KES',
2164
+ },
2165
+ 'sw-KE' => {
2166
+ :decimal_sep => '.',
2167
+ :decimal_digits => 2,
2168
+ :group_sep => ',',
2169
+ :group_sizes => [3],
2170
+ :pos_pattern => '$n',
2171
+ :neg_pattern => '($n)',
2172
+ :def_currency => 'KES',
2173
+ },
2174
+ 'syr' => {
2175
+ :decimal_sep => '.',
2176
+ :decimal_digits => 2,
2177
+ :group_sep => ',',
2178
+ :group_sizes => [3],
2179
+ :pos_pattern => '$ n',
2180
+ :neg_pattern => '$n-',
2181
+ :def_currency => 'SYP',
2182
+ },
2183
+ 'syr-SY' => {
2184
+ :decimal_sep => '.',
2185
+ :decimal_digits => 2,
2186
+ :group_sep => ',',
2187
+ :group_sizes => [3],
2188
+ :pos_pattern => '$ n',
2189
+ :neg_pattern => '$n-',
2190
+ :def_currency => 'SYP',
2191
+ },
2192
+ 'ta' => {
2193
+ :decimal_sep => '.',
2194
+ :decimal_digits => 2,
2195
+ :group_sep => ',',
2196
+ :group_sizes => [3,2],
2197
+ :pos_pattern => '$ n',
2198
+ :neg_pattern => '$ -n',
2199
+ :def_currency => 'INR',
2200
+ },
2201
+ 'ta-IN' => {
2202
+ :decimal_sep => '.',
2203
+ :decimal_digits => 2,
2204
+ :group_sep => ',',
2205
+ :group_sizes => [3,2],
2206
+ :pos_pattern => '$ n',
2207
+ :neg_pattern => '$ -n',
2208
+ :def_currency => 'INR',
2209
+ },
2210
+ 'te' => {
2211
+ :decimal_sep => '.',
2212
+ :decimal_digits => 2,
2213
+ :group_sep => ',',
2214
+ :group_sizes => [3,2],
2215
+ :pos_pattern => '$ n',
2216
+ :neg_pattern => '$ -n',
2217
+ :def_currency => 'INR',
2218
+ },
2219
+ 'te-IN' => {
2220
+ :decimal_sep => '.',
2221
+ :decimal_digits => 2,
2222
+ :group_sep => ',',
2223
+ :group_sizes => [3,2],
2224
+ :pos_pattern => '$ n',
2225
+ :neg_pattern => '$ -n',
2226
+ :def_currency => 'INR',
2227
+ },
2228
+ 'tg-Cyrl-TJ' => {
2229
+ :decimal_sep => ';',
2230
+ :decimal_digits => 2,
2231
+ :group_sep => ' ',
2232
+ :group_sizes => [3,0],
2233
+ :pos_pattern => 'n $',
2234
+ :neg_pattern => '-n $',
2235
+ :def_currency => 'TJS',
2236
+ },
2237
+ 'th' => {
2238
+ :decimal_sep => '.',
2239
+ :decimal_digits => 2,
2240
+ :group_sep => ',',
2241
+ :group_sizes => [3],
2242
+ :pos_pattern => '$n',
2243
+ :neg_pattern => '-$n',
2244
+ :def_currency => 'THB',
2245
+ },
2246
+ 'th-TH' => {
2247
+ :decimal_sep => '.',
2248
+ :decimal_digits => 2,
2249
+ :group_sep => ',',
2250
+ :group_sizes => [3],
2251
+ :pos_pattern => '$n',
2252
+ :neg_pattern => '-$n',
2253
+ :def_currency => 'THB',
2254
+ },
2255
+ 'tk-TM' => {
2256
+ :decimal_sep => ',',
2257
+ :decimal_digits => 2,
2258
+ :group_sep => ' ',
2259
+ :group_sizes => [3],
2260
+ :pos_pattern => 'n$',
2261
+ :neg_pattern => '-n$',
2262
+ :def_currency => 'TMT',
2263
+ },
2264
+ 'tn-ZA' => {
2265
+ :decimal_sep => '.',
2266
+ :decimal_digits => 2,
2267
+ :group_sep => ',',
2268
+ :group_sizes => [3],
2269
+ :pos_pattern => '$ n',
2270
+ :neg_pattern => '$-n',
2271
+ :def_currency => 'ZAR',
2272
+ },
2273
+ 'tr' => {
2274
+ :decimal_sep => ',',
2275
+ :decimal_digits => 2,
2276
+ :group_sep => '.',
2277
+ :group_sizes => [3],
2278
+ :pos_pattern => 'n $',
2279
+ :neg_pattern => '-n $',
2280
+ :def_currency => 'TRY',
2281
+ },
2282
+ 'tr-TR' => {
2283
+ :decimal_sep => ',',
2284
+ :decimal_digits => 2,
2285
+ :group_sep => '.',
2286
+ :group_sizes => [3],
2287
+ :pos_pattern => 'n $',
2288
+ :neg_pattern => '-n $',
2289
+ :def_currency => 'TRY',
2290
+ },
2291
+ 'tt' => {
2292
+ :decimal_sep => ',',
2293
+ :decimal_digits => 2,
2294
+ :group_sep => ' ',
2295
+ :group_sizes => [3],
2296
+ :pos_pattern => 'n $',
2297
+ :neg_pattern => '-n $',
2298
+ :def_currency => 'RUR',
2299
+ },
2300
+ 'tt-RU' => {
2301
+ :decimal_sep => ',',
2302
+ :decimal_digits => 2,
2303
+ :group_sep => ' ',
2304
+ :group_sizes => [3],
2305
+ :pos_pattern => 'n $',
2306
+ :neg_pattern => '-n $',
2307
+ :def_currency => 'RUR',
2308
+ },
2309
+ 'tzm-Latn-DZ' => {
2310
+ :decimal_sep => '.',
2311
+ :decimal_digits => 2,
2312
+ :group_sep => ',',
2313
+ :group_sizes => [3],
2314
+ :pos_pattern => 'n $',
2315
+ :neg_pattern => '-n $',
2316
+ :def_currency => 'DZD',
2317
+ },
2318
+ 'ug-CN' => {
2319
+ :decimal_sep => '.',
2320
+ :decimal_digits => 2,
2321
+ :group_sep => ',',
2322
+ :group_sizes => [3],
2323
+ :pos_pattern => '$n',
2324
+ :neg_pattern => '$-n',
2325
+ :def_currency => 'CNY',
2326
+ },
2327
+ 'uk' => {
2328
+ :decimal_sep => ',',
2329
+ :decimal_digits => 2,
2330
+ :group_sep => ' ',
2331
+ :group_sizes => [3],
2332
+ :pos_pattern => 'n $',
2333
+ :neg_pattern => '-n $',
2334
+ :def_currency => 'UAH',
2335
+ },
2336
+ 'uk-UA' => {
2337
+ :decimal_sep => ',',
2338
+ :decimal_digits => 2,
2339
+ :group_sep => ' ',
2340
+ :group_sizes => [3],
2341
+ :pos_pattern => 'n $',
2342
+ :neg_pattern => '-n $',
2343
+ :def_currency => 'UAH',
2344
+ },
2345
+ 'ur' => {
2346
+ :decimal_sep => '.',
2347
+ :decimal_digits => 2,
2348
+ :group_sep => ',',
2349
+ :group_sizes => [3],
2350
+ :pos_pattern => '$n',
2351
+ :neg_pattern => '$n-',
2352
+ :def_currency => 'PKR',
2353
+ },
2354
+ 'ur-PK' => {
2355
+ :decimal_sep => '.',
2356
+ :decimal_digits => 2,
2357
+ :group_sep => ',',
2358
+ :group_sizes => [3],
2359
+ :pos_pattern => '$n',
2360
+ :neg_pattern => '$n-',
2361
+ :def_currency => 'PKR',
2362
+ },
2363
+ 'uz' => {
2364
+ :decimal_sep => ',',
2365
+ :decimal_digits => 0,
2366
+ :group_sep => ' ',
2367
+ :group_sizes => [3],
2368
+ :pos_pattern => 'n $',
2369
+ :neg_pattern => '-n $',
2370
+ :def_currency => 'UZS',
2371
+ },
2372
+ 'uz-Cyrl-UZ' => {
2373
+ :decimal_sep => ',',
2374
+ :decimal_digits => 2,
2375
+ :group_sep => ' ',
2376
+ :group_sizes => [3],
2377
+ :pos_pattern => 'n $',
2378
+ :neg_pattern => '-n $',
2379
+ :def_currency => 'UZS',
2380
+ },
2381
+ 'uz-Latn-UZ' => {
2382
+ :decimal_sep => ',',
2383
+ :decimal_digits => 0,
2384
+ :group_sep => ' ',
2385
+ :group_sizes => [3],
2386
+ :pos_pattern => 'n $',
2387
+ :neg_pattern => '-n $',
2388
+ :def_currency => 'UZS',
2389
+ },
2390
+ 'vi' => {
2391
+ :decimal_sep => ',',
2392
+ :decimal_digits => 2,
2393
+ :group_sep => '.',
2394
+ :group_sizes => [3],
2395
+ :pos_pattern => 'n $',
2396
+ :neg_pattern => '-n $',
2397
+ :def_currency => 'VND',
2398
+ },
2399
+ 'vi-VN' => {
2400
+ :decimal_sep => ',',
2401
+ :decimal_digits => 2,
2402
+ :group_sep => '.',
2403
+ :group_sizes => [3],
2404
+ :pos_pattern => 'n $',
2405
+ :neg_pattern => '-n $',
2406
+ :def_currency => 'VND',
2407
+ },
2408
+ 'wo-SN' => {
2409
+ :decimal_sep => ',',
2410
+ :decimal_digits => 2,
2411
+ :group_sep => ' ',
2412
+ :group_sizes => [3],
2413
+ :pos_pattern => 'n $',
2414
+ :neg_pattern => '-n $',
2415
+ :def_currency => 'XOF',
2416
+ },
2417
+ 'xh-ZA' => {
2418
+ :decimal_sep => '.',
2419
+ :decimal_digits => 2,
2420
+ :group_sep => ',',
2421
+ :group_sizes => [3],
2422
+ :pos_pattern => '$ n',
2423
+ :neg_pattern => '$-n',
2424
+ :def_currency => 'ZAR',
2425
+ },
2426
+ 'yo-NG' => {
2427
+ :decimal_sep => '.',
2428
+ :decimal_digits => 2,
2429
+ :group_sep => ',',
2430
+ :group_sizes => [3],
2431
+ :pos_pattern => '$ n',
2432
+ :neg_pattern => '$-n',
2433
+ :def_currency => 'NIO',
2434
+ },
2435
+ 'zh-CN' => {
2436
+ :decimal_sep => '.',
2437
+ :decimal_digits => 2,
2438
+ :group_sep => ',',
2439
+ :group_sizes => [3],
2440
+ :pos_pattern => '$n',
2441
+ :neg_pattern => '$-n',
2442
+ :def_currency => 'CNY',
2443
+ },
2444
+ 'zh-HK' => {
2445
+ :decimal_sep => '.',
2446
+ :decimal_digits => 2,
2447
+ :group_sep => ',',
2448
+ :group_sizes => [3],
2449
+ :pos_pattern => '$n',
2450
+ :neg_pattern => '($n)',
2451
+ :def_currency => 'HKD',
2452
+ },
2453
+ 'zh-MO' => {
2454
+ :decimal_sep => '.',
2455
+ :decimal_digits => 2,
2456
+ :group_sep => ',',
2457
+ :group_sizes => [3],
2458
+ :pos_pattern => '$n',
2459
+ :neg_pattern => '($n)',
2460
+ :def_currency => 'MOP',
2461
+ },
2462
+ 'zh-SG' => {
2463
+ :decimal_sep => '.',
2464
+ :decimal_digits => 2,
2465
+ :group_sep => ',',
2466
+ :group_sizes => [3],
2467
+ :pos_pattern => '$n',
2468
+ :neg_pattern => '($n)',
2469
+ :def_currency => 'SGD',
2470
+ },
2471
+ 'zh-TW' => {
2472
+ :decimal_sep => '.',
2473
+ :decimal_digits => 2,
2474
+ :group_sep => ',',
2475
+ :group_sizes => [3],
2476
+ :pos_pattern => '$n',
2477
+ :neg_pattern => '-$n',
2478
+ :def_currency => 'TWD',
2479
+ },
2480
+ 'zu-ZA' => {
2481
+ :decimal_sep => '.',
2482
+ :decimal_digits => 2,
2483
+ :group_sep => ',',
2484
+ :group_sizes => [3],
2485
+ :pos_pattern => '$ n',
2486
+ :neg_pattern => '$-n',
2487
+ :def_currency => 'ZAR',
2488
+ },
2489
+ }
2490
+ end