twitter_cldr 1.9.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (403) hide show
  1. data/Gemfile +7 -0
  2. data/History.txt +11 -0
  3. data/README.md +93 -13
  4. data/Rakefile +27 -6
  5. data/lib/twitter_cldr/formatters.rb +15 -12
  6. data/lib/twitter_cldr/formatters/base.rb +1 -1
  7. data/lib/twitter_cldr/formatters/calendars/datetime_formatter.rb +18 -3
  8. data/lib/twitter_cldr/formatters/calendars/timespan_formatter.rb +24 -26
  9. data/lib/twitter_cldr/formatters/numbers/abbreviated/abbreviated_number_formatter.rb +47 -0
  10. data/lib/twitter_cldr/formatters/numbers/abbreviated/long_decimal_formatter.rb +18 -0
  11. data/lib/twitter_cldr/formatters/numbers/abbreviated/short_decimal_formatter.rb +18 -0
  12. data/lib/twitter_cldr/formatters/numbers/currency_formatter.rb +22 -17
  13. data/lib/twitter_cldr/formatters/numbers/decimal_formatter.rb +0 -9
  14. data/lib/twitter_cldr/formatters/numbers/helpers/base.rb +1 -1
  15. data/lib/twitter_cldr/formatters/numbers/number_formatter.rb +25 -10
  16. data/lib/twitter_cldr/formatters/numbers/percent_formatter.rb +9 -6
  17. data/lib/twitter_cldr/localized/localized_datetime.rb +6 -2
  18. data/lib/twitter_cldr/localized/localized_number.rb +9 -3
  19. data/lib/twitter_cldr/localized/localized_timespan.rb +1 -1
  20. data/lib/twitter_cldr/resources.rb +13 -12
  21. data/lib/twitter_cldr/resources/custom_locales_resources_importer.rb +1 -1
  22. data/lib/twitter_cldr/resources/download.rb +1 -1
  23. data/lib/twitter_cldr/resources/locales_resources_importer.rb +10 -6
  24. data/lib/twitter_cldr/shared/bidi.rb +27 -27
  25. data/lib/twitter_cldr/shared/currencies.rb +20 -13
  26. data/lib/twitter_cldr/tokenizers.rb +10 -9
  27. data/lib/twitter_cldr/tokenizers/base.rb +33 -21
  28. data/lib/twitter_cldr/tokenizers/calendars/additional_date_format_selector.rb +86 -0
  29. data/lib/twitter_cldr/tokenizers/calendars/date_tokenizer.rb +20 -11
  30. data/lib/twitter_cldr/tokenizers/calendars/datetime_tokenizer.rb +50 -13
  31. data/lib/twitter_cldr/tokenizers/calendars/time_tokenizer.rb +19 -10
  32. data/lib/twitter_cldr/tokenizers/calendars/timespan_tokenizer.rb +32 -32
  33. data/lib/twitter_cldr/tokenizers/numbers/number_tokenizer.rb +45 -22
  34. data/lib/twitter_cldr/utils.rb +16 -1
  35. data/lib/twitter_cldr/version.rb +1 -1
  36. data/resources/collation/tailoring/af.yml +1 -0
  37. data/resources/collation/tailoring/ar.yml +3 -2
  38. data/resources/collation/tailoring/be.yml +7 -0
  39. data/resources/collation/tailoring/bg.yml +5 -0
  40. data/resources/collation/tailoring/bn.yml +9 -0
  41. data/resources/collation/tailoring/ca.yml +3 -2
  42. data/resources/collation/tailoring/cs.yml +3 -2
  43. data/resources/collation/tailoring/cy.yml +51 -0
  44. data/resources/collation/tailoring/da.yml +3 -2
  45. data/resources/collation/tailoring/de.yml +1 -0
  46. data/resources/collation/tailoring/el.yml +1 -0
  47. data/resources/collation/tailoring/en.yml +1 -0
  48. data/resources/collation/tailoring/es.yml +3 -2
  49. data/resources/collation/tailoring/eu.yml +1 -0
  50. data/resources/collation/tailoring/fa.yml +3 -2
  51. data/resources/collation/tailoring/fi.yml +3 -2
  52. data/resources/collation/tailoring/fil.yml +3 -2
  53. data/resources/collation/tailoring/fr.yml +1 -0
  54. data/resources/collation/tailoring/ga.yml +5 -0
  55. data/resources/collation/tailoring/gl.yml +5 -0
  56. data/resources/collation/tailoring/he.yml +1 -0
  57. data/resources/collation/tailoring/hi.yml +3 -2
  58. data/resources/collation/tailoring/hu.yml +3 -2
  59. data/resources/collation/tailoring/id.yml +1 -0
  60. data/resources/collation/tailoring/it.yml +1 -0
  61. data/resources/collation/tailoring/ja.yml +107 -54
  62. data/resources/collation/tailoring/ko.yml +3 -2
  63. data/resources/collation/tailoring/lv.yml +35 -0
  64. data/resources/collation/tailoring/ms.yml +1 -0
  65. data/resources/collation/tailoring/nb.yml +3 -2
  66. data/resources/collation/tailoring/nl.yml +1 -0
  67. data/resources/collation/tailoring/pl.yml +3 -2
  68. data/resources/collation/tailoring/pt.yml +1 -0
  69. data/resources/collation/tailoring/ro.yml +31 -0
  70. data/resources/collation/tailoring/ru.yml +1 -0
  71. data/resources/collation/tailoring/sk.yml +35 -0
  72. data/resources/collation/tailoring/sq.yml +65 -0
  73. data/resources/collation/tailoring/sr.yml +5 -0
  74. data/resources/collation/tailoring/sv.yml +3 -2
  75. data/resources/collation/tailoring/ta.yml +57 -0
  76. data/resources/collation/tailoring/th.yml +3 -2
  77. data/resources/collation/tailoring/tr.yml +3 -2
  78. data/resources/collation/tailoring/uk.yml +3 -2
  79. data/resources/collation/tailoring/ur.yml +3 -2
  80. data/resources/collation/tailoring/zh-Hant.yml +3 -2
  81. data/resources/collation/tailoring/zh.yml +3 -2
  82. data/resources/collation/tries/be.dump +0 -0
  83. data/resources/collation/tries/bg.dump +0 -0
  84. data/resources/collation/tries/bn.dump +0 -0
  85. data/resources/collation/tries/cy.dump +0 -0
  86. data/resources/collation/tries/ga.dump +0 -0
  87. data/resources/collation/tries/gl.dump +0 -0
  88. data/resources/collation/tries/lv.dump +0 -0
  89. data/resources/collation/tries/ro.dump +0 -0
  90. data/resources/collation/tries/sk.dump +0 -0
  91. data/resources/collation/tries/sq.dump +0 -0
  92. data/resources/collation/tries/sr.dump +0 -0
  93. data/resources/collation/tries/ta.dump +0 -0
  94. data/resources/custom/locales/ar/units.yml +6 -6
  95. data/resources/custom/locales/be/units.yml +27 -0
  96. data/resources/custom/locales/bg/units.yml +19 -0
  97. data/resources/custom/locales/bn/units.yml +7 -0
  98. data/resources/custom/locales/cs/units.yml +3 -3
  99. data/resources/custom/locales/cy/units.yml +35 -0
  100. data/resources/custom/locales/fil/units.yml +2 -2
  101. data/resources/custom/locales/ga/units.yml +24 -0
  102. data/resources/custom/locales/gl/units.yml +19 -0
  103. data/resources/custom/locales/hu/plurals.yml +3 -0
  104. data/resources/custom/locales/hu/units.yml +4 -0
  105. data/resources/custom/locales/lv/units.yml +23 -0
  106. data/resources/custom/locales/ms/units.yml +1 -1
  107. data/resources/custom/locales/ro/units.yml +23 -0
  108. data/resources/custom/locales/sk/units.yml +23 -0
  109. data/resources/custom/locales/sr/units.yml +27 -0
  110. data/resources/custom/locales/ta/units.yml +11 -0
  111. data/resources/custom/locales/th/calendars.yml +14 -0
  112. data/resources/locales/af/calendars.yml +56 -0
  113. data/resources/locales/af/currencies.yml +358 -0
  114. data/resources/locales/af/languages.yml +23 -3
  115. data/resources/locales/af/numbers.yml +22 -8
  116. data/resources/locales/af/units.yml +26 -54
  117. data/resources/locales/ar/calendars.yml +99 -6
  118. data/resources/locales/ar/currencies.yml +1491 -0
  119. data/resources/locales/ar/languages.yml +33 -6
  120. data/resources/locales/ar/numbers.yml +27 -14
  121. data/resources/locales/ar/units.yml +31 -31
  122. data/resources/locales/be/calendars.yml +229 -0
  123. data/resources/locales/be/currencies.yml +66 -0
  124. data/resources/locales/be/languages.yml +149 -0
  125. data/resources/locales/be/layout.yml +4 -0
  126. data/resources/locales/be/lists.yml +7 -0
  127. data/resources/locales/be/numbers.yml +43 -0
  128. data/resources/locales/be/plurals.yml +5 -0
  129. data/resources/locales/be/units.yml +87 -0
  130. data/resources/locales/bg/calendars.yml +220 -0
  131. data/resources/locales/bg/currencies.yml +773 -0
  132. data/resources/locales/bg/languages.yml +513 -0
  133. data/resources/locales/bg/layout.yml +4 -0
  134. data/resources/locales/bg/lists.yml +7 -0
  135. data/resources/locales/bg/numbers.yml +57 -0
  136. data/resources/locales/bg/plurals.yml +3 -0
  137. data/resources/locales/bg/units.yml +108 -0
  138. data/resources/locales/bn/calendars.yml +205 -0
  139. data/resources/locales/bn/currencies.yml +564 -0
  140. data/resources/locales/bn/languages.yml +513 -0
  141. data/resources/locales/bn/layout.yml +4 -0
  142. data/resources/locales/bn/lists.yml +7 -0
  143. data/resources/locales/bn/numbers.yml +57 -0
  144. data/resources/locales/bn/plurals.yml +3 -0
  145. data/resources/locales/bn/units.yml +108 -0
  146. data/resources/locales/ca/calendars.yml +70 -21
  147. data/resources/locales/ca/currencies.yml +904 -0
  148. data/resources/locales/ca/languages.yml +70 -5
  149. data/resources/locales/ca/numbers.yml +19 -6
  150. data/resources/locales/ca/units.yml +0 -28
  151. data/resources/locales/cs/calendars.yml +73 -27
  152. data/resources/locales/cs/currencies.yml +1063 -0
  153. data/resources/locales/cs/languages.yml +113 -31
  154. data/resources/locales/cs/numbers.yml +17 -4
  155. data/resources/locales/cs/units.yml +0 -28
  156. data/resources/locales/cy/calendars.yml +266 -0
  157. data/resources/locales/cy/currencies.yml +54 -0
  158. data/resources/locales/cy/languages.yml +92 -0
  159. data/resources/locales/cy/layout.yml +4 -0
  160. data/resources/locales/cy/lists.yml +7 -0
  161. data/resources/locales/cy/numbers.yml +49 -0
  162. data/resources/locales/cy/plurals.yml +4 -0
  163. data/resources/locales/cy/units.yml +73 -0
  164. data/resources/locales/da/calendars.yml +117 -16
  165. data/resources/locales/da/currencies.yml +814 -0
  166. data/resources/locales/da/languages.yml +66 -5
  167. data/resources/locales/da/numbers.yml +16 -3
  168. data/resources/locales/da/units.yml +21 -35
  169. data/resources/locales/de/calendars.yml +115 -17
  170. data/resources/locales/de/currencies.yml +843 -0
  171. data/resources/locales/de/languages.yml +5 -3
  172. data/resources/locales/de/numbers.yml +18 -5
  173. data/resources/locales/de/units.yml +0 -28
  174. data/resources/locales/el/calendars.yml +61 -8
  175. data/resources/locales/el/currencies.yml +866 -0
  176. data/resources/locales/el/languages.yml +61 -5
  177. data/resources/locales/el/numbers.yml +18 -5
  178. data/resources/locales/el/units.yml +7 -42
  179. data/resources/locales/en/calendars.yml +43 -4
  180. data/resources/locales/en/currencies.yml +912 -0
  181. data/resources/locales/en/languages.yml +26 -6
  182. data/resources/locales/en/numbers.yml +17 -4
  183. data/resources/locales/es/calendars.yml +60 -0
  184. data/resources/locales/es/currencies.yml +820 -0
  185. data/resources/locales/es/languages.yml +66 -1
  186. data/resources/locales/es/numbers.yml +20 -7
  187. data/resources/locales/es/units.yml +0 -28
  188. data/resources/locales/eu/calendars.yml +43 -2
  189. data/resources/locales/eu/currencies.yml +378 -0
  190. data/resources/locales/eu/languages.yml +29 -13
  191. data/resources/locales/eu/numbers.yml +17 -4
  192. data/resources/locales/eu/units.yml +22 -43
  193. data/resources/locales/fa/calendars.yml +57 -0
  194. data/resources/locales/fa/currencies.yml +449 -0
  195. data/resources/locales/fa/languages.yml +8 -3
  196. data/resources/locales/fa/numbers.yml +20 -7
  197. data/resources/locales/fa/units.yml +0 -42
  198. data/resources/locales/fi/calendars.yml +49 -1
  199. data/resources/locales/fi/currencies.yml +903 -0
  200. data/resources/locales/fi/languages.yml +58 -2
  201. data/resources/locales/fi/numbers.yml +25 -12
  202. data/resources/locales/fi/units.yml +0 -28
  203. data/resources/locales/fil/calendars.yml +51 -0
  204. data/resources/locales/fil/currencies.yml +357 -0
  205. data/resources/locales/fil/languages.yml +25 -8
  206. data/resources/locales/fil/numbers.yml +18 -5
  207. data/resources/locales/fil/units.yml +14 -28
  208. data/resources/locales/fr/calendars.yml +114 -12
  209. data/resources/locales/fr/currencies.yml +884 -0
  210. data/resources/locales/fr/languages.yml +43 -9
  211. data/resources/locales/fr/numbers.yml +22 -9
  212. data/resources/locales/fr/units.yml +2 -30
  213. data/resources/locales/ga/calendars.yml +187 -0
  214. data/resources/locales/ga/currencies.yml +513 -0
  215. data/resources/locales/ga/languages.yml +147 -0
  216. data/resources/locales/ga/layout.yml +4 -0
  217. data/resources/locales/ga/lists.yml +7 -0
  218. data/resources/locales/ga/numbers.yml +43 -0
  219. data/resources/locales/ga/plurals.yml +4 -0
  220. data/resources/locales/ga/units.yml +66 -0
  221. data/resources/locales/gl/calendars.yml +216 -0
  222. data/resources/locales/gl/currencies.yml +476 -0
  223. data/resources/locales/gl/languages.yml +213 -0
  224. data/resources/locales/gl/layout.yml +4 -0
  225. data/resources/locales/gl/lists.yml +7 -0
  226. data/resources/locales/gl/numbers.yml +57 -0
  227. data/resources/locales/gl/plurals.yml +3 -0
  228. data/resources/locales/gl/units.yml +108 -0
  229. data/resources/locales/he/calendars.yml +70 -18
  230. data/resources/locales/he/currencies.yml +497 -0
  231. data/resources/locales/he/languages.yml +301 -7
  232. data/resources/locales/he/lists.yml +2 -2
  233. data/resources/locales/he/numbers.yml +23 -8
  234. data/resources/locales/he/plurals.yml +3 -2
  235. data/resources/locales/he/units.yml +72 -30
  236. data/resources/locales/hi/calendars.yml +54 -1
  237. data/resources/locales/hi/currencies.yml +388 -0
  238. data/resources/locales/hi/languages.yml +2 -0
  239. data/resources/locales/hi/numbers.yml +21 -8
  240. data/resources/locales/hi/units.yml +15 -29
  241. data/resources/locales/hu/calendars.yml +52 -5
  242. data/resources/locales/hu/currencies.yml +640 -0
  243. data/resources/locales/hu/languages.yml +60 -4
  244. data/resources/locales/hu/numbers.yml +25 -12
  245. data/resources/locales/hu/units.yml +1 -29
  246. data/resources/locales/id/calendars.yml +125 -21
  247. data/resources/locales/id/currencies.yml +603 -0
  248. data/resources/locales/id/languages.yml +113 -51
  249. data/resources/locales/id/numbers.yml +16 -3
  250. data/resources/locales/id/units.yml +0 -28
  251. data/resources/locales/it/calendars.yml +59 -6
  252. data/resources/locales/it/currencies.yml +722 -0
  253. data/resources/locales/it/languages.yml +77 -5
  254. data/resources/locales/it/numbers.yml +22 -9
  255. data/resources/locales/it/units.yml +0 -14
  256. data/resources/locales/ja/calendars.yml +55 -5
  257. data/resources/locales/ja/currencies.yml +602 -0
  258. data/resources/locales/ja/languages.yml +103 -43
  259. data/resources/locales/ja/numbers.yml +18 -5
  260. data/resources/locales/ja/units.yml +6 -34
  261. data/resources/locales/ko/calendars.yml +50 -0
  262. data/resources/locales/ko/currencies.yml +596 -0
  263. data/resources/locales/ko/languages.yml +75 -8
  264. data/resources/locales/ko/numbers.yml +17 -4
  265. data/resources/locales/ko/units.yml +0 -28
  266. data/resources/locales/lv/calendars.yml +275 -0
  267. data/resources/locales/lv/currencies.yml +765 -0
  268. data/resources/locales/lv/languages.yml +576 -0
  269. data/resources/locales/lv/layout.yml +4 -0
  270. data/resources/locales/lv/lists.yml +7 -0
  271. data/resources/locales/lv/numbers.yml +58 -0
  272. data/resources/locales/lv/plurals.yml +4 -0
  273. data/resources/locales/lv/units.yml +136 -0
  274. data/resources/locales/ms/calendars.yml +86 -4
  275. data/resources/locales/ms/currencies.yml +341 -0
  276. data/resources/locales/ms/languages.yml +25 -3
  277. data/resources/locales/ms/numbers.yml +19 -6
  278. data/resources/locales/ms/units.yml +0 -56
  279. data/resources/locales/nb/calendars.yml +48 -1
  280. data/resources/locales/nb/currencies.yml +846 -0
  281. data/resources/locales/nb/languages.yml +44 -2
  282. data/resources/locales/nb/numbers.yml +16 -3
  283. data/resources/locales/nb/units.yml +6 -28
  284. data/resources/locales/nl/calendars.yml +110 -9
  285. data/resources/locales/nl/currencies.yml +640 -0
  286. data/resources/locales/nl/languages.yml +68 -8
  287. data/resources/locales/nl/numbers.yml +25 -12
  288. data/resources/locales/nl/units.yml +14 -28
  289. data/resources/locales/pl/calendars.yml +53 -6
  290. data/resources/locales/pl/currencies.yml +1100 -0
  291. data/resources/locales/pl/languages.yml +13 -6
  292. data/resources/locales/pl/lists.yml +2 -2
  293. data/resources/locales/pl/numbers.yml +18 -5
  294. data/resources/locales/pl/units.yml +51 -92
  295. data/resources/locales/pt/calendars.yml +121 -9
  296. data/resources/locales/pt/currencies.yml +904 -0
  297. data/resources/locales/pt/languages.yml +5 -3
  298. data/resources/locales/pt/numbers.yml +17 -4
  299. data/resources/locales/pt/units.yml +0 -28
  300. data/resources/locales/ro/calendars.yml +278 -0
  301. data/resources/locales/ro/currencies.yml +946 -0
  302. data/resources/locales/ro/languages.yml +576 -0
  303. data/resources/locales/ro/layout.yml +4 -0
  304. data/resources/locales/ro/lists.yml +7 -0
  305. data/resources/locales/ro/numbers.yml +58 -0
  306. data/resources/locales/ro/plurals.yml +3 -0
  307. data/resources/locales/ro/units.yml +136 -0
  308. data/resources/locales/ru/calendars.yml +72 -12
  309. data/resources/locales/ru/currencies.yml +1061 -0
  310. data/resources/locales/ru/languages.yml +51 -6
  311. data/resources/locales/ru/numbers.yml +21 -5
  312. data/resources/locales/ru/units.yml +0 -28
  313. data/resources/locales/sk/calendars.yml +275 -0
  314. data/resources/locales/sk/currencies.yml +713 -0
  315. data/resources/locales/sk/languages.yml +576 -0
  316. data/resources/locales/sk/layout.yml +4 -0
  317. data/resources/locales/sk/lists.yml +7 -0
  318. data/resources/locales/sk/numbers.yml +58 -0
  319. data/resources/locales/sk/plurals.yml +3 -0
  320. data/resources/locales/sk/units.yml +136 -0
  321. data/resources/locales/sq/calendars.yml +188 -0
  322. data/resources/locales/sq/currencies.yml +56 -0
  323. data/resources/locales/sq/languages.yml +17 -0
  324. data/resources/locales/sq/layout.yml +4 -0
  325. data/resources/locales/sq/lists.yml +7 -0
  326. data/resources/locales/sq/numbers.yml +43 -0
  327. data/resources/locales/sq/plurals.yml +3 -0
  328. data/resources/locales/sq/units.yml +73 -0
  329. data/resources/locales/sr/calendars.yml +285 -0
  330. data/resources/locales/sr/currencies.yml +1494 -0
  331. data/resources/locales/sr/languages.yml +513 -0
  332. data/resources/locales/sr/layout.yml +4 -0
  333. data/resources/locales/sr/lists.yml +7 -0
  334. data/resources/locales/sr/numbers.yml +59 -0
  335. data/resources/locales/sr/plurals.yml +5 -0
  336. data/resources/locales/sr/units.yml +164 -0
  337. data/resources/locales/sv/calendars.yml +59 -1
  338. data/resources/locales/sv/currencies.yml +919 -0
  339. data/resources/locales/sv/languages.yml +47 -2
  340. data/resources/locales/sv/numbers.yml +27 -12
  341. data/resources/locales/sv/units.yml +4 -32
  342. data/resources/locales/ta/calendars.yml +264 -0
  343. data/resources/locales/ta/currencies.yml +346 -0
  344. data/resources/locales/ta/languages.yml +512 -0
  345. data/resources/locales/ta/layout.yml +4 -0
  346. data/resources/locales/ta/lists.yml +7 -0
  347. data/resources/locales/ta/numbers.yml +57 -0
  348. data/resources/locales/ta/plurals.yml +3 -0
  349. data/resources/locales/ta/units.yml +108 -0
  350. data/resources/locales/th/calendars.yml +125 -27
  351. data/resources/locales/th/currencies.yml +602 -0
  352. data/resources/locales/th/languages.yml +70 -5
  353. data/resources/locales/th/numbers.yml +24 -11
  354. data/resources/locales/th/units.yml +0 -28
  355. data/resources/locales/tr/calendars.yml +62 -12
  356. data/resources/locales/tr/currencies.yml +571 -0
  357. data/resources/locales/tr/languages.yml +94 -29
  358. data/resources/locales/tr/numbers.yml +19 -6
  359. data/resources/locales/tr/units.yml +1 -29
  360. data/resources/locales/uk/calendars.yml +52 -0
  361. data/resources/locales/uk/currencies.yml +799 -0
  362. data/resources/locales/uk/languages.yml +57 -2
  363. data/resources/locales/uk/numbers.yml +18 -5
  364. data/resources/locales/uk/units.yml +0 -28
  365. data/resources/locales/ur/calendars.yml +96 -32
  366. data/resources/locales/ur/currencies.yml +360 -0
  367. data/resources/locales/ur/languages.yml +49 -32
  368. data/resources/locales/ur/numbers.yml +13 -13
  369. data/resources/locales/ur/units.yml +28 -56
  370. data/resources/locales/zh-Hant/calendars.yml +59 -1
  371. data/resources/locales/zh-Hant/currencies.yml +602 -0
  372. data/resources/locales/zh-Hant/languages.yml +74 -8
  373. data/resources/locales/zh-Hant/numbers.yml +17 -4
  374. data/resources/locales/zh-Hant/units.yml +0 -28
  375. data/resources/locales/zh/calendars.yml +95 -35
  376. data/resources/locales/zh/currencies.yml +602 -0
  377. data/resources/locales/zh/languages.yml +116 -46
  378. data/resources/locales/zh/numbers.yml +20 -7
  379. data/resources/locales/zh/units.yml +6 -34
  380. data/resources/shared/currency_digits_and_rounding.yml +187 -0
  381. data/spec/bidi/bidi_spec.rb +1 -1
  382. data/spec/collation/tailoring_spec.rb +29 -25
  383. data/spec/formatters/calendars/datetime_formatter_spec.rb +50 -2
  384. data/spec/formatters/calendars/timespan_formatter_spec.rb +52 -8
  385. data/spec/formatters/numbers/abbreviated/abbreviated_number_formatter_spec.rb +81 -0
  386. data/spec/formatters/numbers/abbreviated/long_decimal_formatter_spec.rb +37 -0
  387. data/spec/formatters/numbers/abbreviated/short_decimal_formatter_spec.rb +37 -0
  388. data/spec/formatters/numbers/currency_formatter_spec.rb +10 -1
  389. data/spec/localized/localized_date_spec.rb +11 -11
  390. data/spec/localized/localized_datetime_spec.rb +27 -3
  391. data/spec/localized/localized_number_spec.rb +34 -6
  392. data/spec/localized/localized_time_spec.rb +1 -1
  393. data/spec/readme_spec.rb +24 -3
  394. data/spec/shared/currencies_spec.rb +7 -9
  395. data/spec/spec_helper.rb +7 -0
  396. data/spec/tokenizers/base_spec.rb +71 -21
  397. data/spec/tokenizers/calendars/additional_date_format_selector_spec.rb +131 -0
  398. data/spec/tokenizers/calendars/datetime_tokenizer_spec.rb +54 -27
  399. data/spec/tokenizers/calendars/time_tokenizer_spec.rb +16 -16
  400. data/spec/tokenizers/numbers/number_tokenizer_spec.rb +9 -21
  401. data/spec/utils/yaml/yaml_spec.rb +21 -16
  402. data/spec/utils_spec.rb +6 -2
  403. metadata +218 -37
@@ -4,24 +4,37 @@
4
4
  :formats:
5
5
  :currency:
6
6
  :patterns:
7
- :default: ¤ #,##0.00
7
+ :default: ¤#,##0.00;(¤#,##0.00)
8
8
  :unit:
9
9
  :one: ! '{0} {1}'
10
10
  :other: ! '{0} {1}'
11
11
  :decimal:
12
12
  :patterns:
13
13
  :default: ! '#,##0.###'
14
+ :long:
15
+ 1000: 0 (na) libo
16
+ 10000: 00 (na) libo
17
+ 100000: 000 (na) libo
18
+ 1000000: 0 (na) milyon
19
+ 10000000: 00 (na) milyon
20
+ 100000000: 000 (na) milyon
21
+ 1000000000: 0 (na) bilyon
22
+ 10000000000: 00 (na) bilyon
23
+ 100000000000: 000 (na) bilyon
24
+ 1000000000000: 0 (na) trilyon
25
+ 10000000000000: 00 (na) trilyon
26
+ 100000000000000: 000 (na) trilyon
14
27
  :short:
15
- 1000: 0.0K
28
+ 1000: 0K
16
29
  10000: 00K
17
30
  100000: 000K
18
- 1000000: 0.0M
31
+ 1000000: 0M
19
32
  10000000: 00M
20
33
  100000000: 000M
21
- 1000000000: 0.0B
34
+ 1000000000: 0B
22
35
  10000000000: 00B
23
36
  100000000000: 000B
24
- 1000000000000: 0.0T
37
+ 1000000000000: 0T
25
38
  10000000000000: 00T
26
39
  100000000000000: 000T
27
40
  :percent:
@@ -10,13 +10,11 @@
10
10
  :other: ! '{0} arw'
11
11
  :day-future:
12
12
  :default:
13
- 0: Sa 0 na araw
14
- 1: Sa 1 araw
13
+ :one: Sa {0} araw
15
14
  :other: Sa {0} (na) araw
16
15
  :day-past:
17
16
  :default:
18
- 0: Nakalipas na 0 araw
19
- 1: Nakalipas na 1 araw
17
+ :one: Nakalipas na {0} araw
20
18
  :other: Nakalipas na {0} (na) araw
21
19
  :hour:
22
20
  :default:
@@ -27,13 +25,11 @@
27
25
  :other: ! '{0} or'
28
26
  :hour-future:
29
27
  :default:
30
- 0: Sa 0 oras
31
- 1: Sa 1 oras
28
+ :one: Sa {0} oras
32
29
  :other: Sa {0} (na) oras
33
30
  :hour-past:
34
31
  :default:
35
- 0: Nakalipas na 0 oras
36
- 1: Nakalipas na 1 oras
32
+ :one: Nakalipas na {0} oras
37
33
  :other: Nakalipas na {0} (na) oras
38
34
  :minute:
39
35
  :default:
@@ -44,13 +40,11 @@
44
40
  :other: ! '{0} min'
45
41
  :minute-future:
46
42
  :default:
47
- 0: Sa 0 minuto
48
- 1: Sa 1 minuto
43
+ :one: Sa {0} minuto
49
44
  :other: Sa {0} (na) minuto
50
45
  :minute-past:
51
46
  :default:
52
- 0: Nakalipas na 0 na minuto
53
- 1: Nakalipas na 1 minuto
47
+ :one: Nakalipas na {0} minuto
54
48
  :other: Nakalipas na {0} (na) minuto
55
49
  :month:
56
50
  :default:
@@ -61,13 +55,11 @@
61
55
  :other: ! '{0} buw'
62
56
  :month-future:
63
57
  :default:
64
- 0: Sa 0 na buwan
65
- 1: Sa 1 buwan
58
+ :one: Sa {0} buwan
66
59
  :other: Sa {0} (na) buwan
67
60
  :month-past:
68
61
  :default:
69
- 0: Nakalipas na 0 buwan
70
- 1: Nakalipas na 1 buwan
62
+ :one: Nakalipas na {0} buwan
71
63
  :other: Nakalipas na {0} (na) buwan
72
64
  :second:
73
65
  :default:
@@ -78,13 +70,11 @@
78
70
  :other: ! '{0} seg'
79
71
  :second-future:
80
72
  :default:
81
- 0: Sa 0 segundo
82
- 1: Sa 1 segundo
73
+ :one: Sa {0} segundo
83
74
  :other: Sa {0} (na) segundo
84
75
  :second-past:
85
76
  :default:
86
- 0: Nakalipas na 0 segundo
87
- 1: Nakalipas na 1 segundo
77
+ :one: Nakalipas na {0} segundo
88
78
  :other: Nakalipas na {0} (na) segundo
89
79
  :week:
90
80
  :default:
@@ -95,13 +85,11 @@
95
85
  :other: ! '{0} ling'
96
86
  :week-future:
97
87
  :default:
98
- 0: Sa 0 linggo
99
- 1: Sa 1 linggo
88
+ :one: Sa {0} linggo
100
89
  :other: Sa {0} (na) linggo
101
90
  :week-past:
102
91
  :default:
103
- 0: Nakalipas na 0 na linggo
104
- 1: Nakalipas na 1 linggo
92
+ :one: Nakalipas na {0} na linggo
105
93
  :other: Nakalipas na {0} (na) linggo
106
94
  :year:
107
95
  :default:
@@ -112,11 +100,9 @@
112
100
  :other: ! '{0} ta'
113
101
  :year-future:
114
102
  :default:
115
- 0: Sa 0 na taon
116
- 1: Sa 1 taon
103
+ :one: Sa {0} taon
117
104
  :other: Sa {0} (na) taon
118
105
  :year-past:
119
106
  :default:
120
- 0: Nakalipas na 0 taon
121
- 1: Nakalipas na 1 taon
107
+ :one: Nakalipas na {0} taon
122
108
  :other: Nakalipas na {0} (na) taon
@@ -2,6 +2,40 @@
2
2
  :fr:
3
3
  :calendars:
4
4
  :gregorian:
5
+ :additional_formats:
6
+ :Ed: E d
7
+ :H: HH
8
+ :Hm: HH:mm
9
+ :Hms: HH:mm:ss
10
+ :M: L
11
+ :MEd: E d/M
12
+ :MMM: LLL
13
+ :MMMEd: E d MMM
14
+ :MMMMEd: E d MMMM
15
+ :MMMd: d MMM
16
+ :MMMdd: dd MMM
17
+ :MMd: d/MM
18
+ :MMdd: dd/MM
19
+ :Md: d/M
20
+ :d: d
21
+ :h: h a
22
+ :hm: h:mm a
23
+ :hms: h:mm:ss a
24
+ :ms: mm:ss
25
+ :y: y
26
+ :yM: M/yyyy
27
+ :yMEd: E d/M/yyyy
28
+ :yMMM: MMM y
29
+ :yMMMEd: E d MMM y
30
+ :yMMMd: d MMM y
31
+ :yMd: d/M/yyyy
32
+ :yQQQ: QQQ y
33
+ :yQQQQ: QQQQ y
34
+ :yyMM: MM/yy
35
+ :yyMMM: MMM yy
36
+ :yyMMMEd: E d MMM yy
37
+ :yyMMMd: d MMM yy
38
+ :yyyyMMMM: MMMM y
5
39
  :days:
6
40
  :format:
7
41
  :abbreviated:
@@ -12,7 +46,22 @@
12
46
  :thu: jeu.
13
47
  :tue: mar.
14
48
  :wed: mer.
15
- :narrow: :calendars.gregorian.days.stand-alone.narrow
49
+ :narrow:
50
+ :fri: V
51
+ :mon: L
52
+ :sat: S
53
+ :sun: D
54
+ :thu: J
55
+ :tue: M
56
+ :wed: M
57
+ :short:
58
+ :fri: ve
59
+ :mon: lu
60
+ :sat: sa
61
+ :sun: di
62
+ :thu: je
63
+ :tue: ma
64
+ :wed: me
16
65
  :wide:
17
66
  :fri: vendredi
18
67
  :mon: lundi
@@ -38,7 +87,22 @@
38
87
  :thu: J
39
88
  :tue: M
40
89
  :wed: M
41
- :wide: :calendars.gregorian.days.format.wide
90
+ :short:
91
+ :fri: ven.
92
+ :mon: lun.
93
+ :sat: sam.
94
+ :sun: dim.
95
+ :thu: jeu.
96
+ :tue: mar.
97
+ :wed: mer.
98
+ :wide:
99
+ :fri: vendredi
100
+ :mon: lundi
101
+ :sat: samedi
102
+ :sun: dimanche
103
+ :thu: jeudi
104
+ :tue: mardi
105
+ :wed: mercredi
42
106
  :eras:
43
107
  :abbr:
44
108
  0: av. J.-C.
@@ -106,7 +170,19 @@
106
170
  7: juil.
107
171
  8: août
108
172
  9: sept.
109
- :narrow: :calendars.gregorian.months.stand-alone.narrow
173
+ :narrow:
174
+ 1: J
175
+ 10: O
176
+ 11: N
177
+ 12: D
178
+ 2: F
179
+ 3: M
180
+ 4: A
181
+ 5: M
182
+ 6: J
183
+ 7: J
184
+ 8: A
185
+ 9: S
110
186
  :wide:
111
187
  1: janvier
112
188
  10: octobre
@@ -129,7 +205,10 @@
129
205
  2: févr.
130
206
  3: mars
131
207
  4: avr.
208
+ 5: mai
209
+ 6: juin
132
210
  7: juil.
211
+ 8: août
133
212
  9: sept.
134
213
  :narrow:
135
214
  1: J
@@ -144,7 +223,19 @@
144
223
  7: J
145
224
  8: A
146
225
  9: S
147
- :wide: :calendars.gregorian.months.format.wide
226
+ :wide:
227
+ 1: janvier
228
+ 10: octobre
229
+ 11: novembre
230
+ 12: décembre
231
+ 2: février
232
+ 3: mars
233
+ 4: avril
234
+ 5: mai
235
+ 6: juin
236
+ 7: juillet
237
+ 8: août
238
+ 9: septembre
148
239
  :periods:
149
240
  :format:
150
241
  :abbreviated:
@@ -153,7 +244,10 @@
153
244
  :pm: PM
154
245
  :narrow:
155
246
  :afternoon: ap.m.
156
- :am: av.m.
247
+ :am: AM
248
+ :morning: matin
249
+ :night: soir
250
+ :noon: midi
157
251
  :pm: p
158
252
  :wide:
159
253
  :afternoon: après-midi
@@ -182,20 +276,28 @@
182
276
  3: T3
183
277
  4: T4
184
278
  :narrow:
185
- 1: T1
186
- 2: T2
187
- 3: T3
188
- 4: T4
279
+ 1: 1
280
+ 2: 2
281
+ 3: 3
282
+ 4: 4
189
283
  :wide:
190
284
  1: 1er trimestre
191
285
  2: 2e trimestre
192
286
  3: 3e trimestre
193
287
  4: 4e trimestre
194
288
  :stand-alone:
195
- :abbreviated: :calendars.gregorian.quarters.format.abbreviated
196
- :narrow:
289
+ :abbreviated:
197
290
  1: T1
198
291
  2: T2
199
292
  3: T3
200
293
  4: T4
201
- :wide: :calendars.gregorian.quarters.format.wide
294
+ :narrow:
295
+ 1: 1
296
+ 2: 2
297
+ 3: 3
298
+ 4: 4
299
+ :wide:
300
+ 1: 1er trimestre
301
+ 2: 2e trimestre
302
+ 3: 3e trimestre
303
+ 4: 4e trimestre
@@ -0,0 +1,884 @@
1
+ ---
2
+ :fr:
3
+ :currencies:
4
+ :ADP:
5
+ :one: peseta andorrane
6
+ :other: pesetas andorranes
7
+ :symbol: ₧A
8
+ :AED:
9
+ :one: dirham des Émirats arabes unis
10
+ :other: dirhams des Émirats arabes unis
11
+ :AFA:
12
+ :one: afghani (1927–2002)
13
+ :other: afghanis (1927–2002)
14
+ :AFN:
15
+ :one: afghani afghan
16
+ :other: afghanis afghan
17
+ :symbol: Af
18
+ :ALK:
19
+ :one: lek albanais (1947–1961)
20
+ :other: leks albanais (1947–1961)
21
+ :ALL:
22
+ :one: lek albanais
23
+ :other: leks albanais
24
+ :AMD:
25
+ :one: dram arménien
26
+ :other: drams arméniens
27
+ :ANG:
28
+ :one: florin antillais
29
+ :other: florins antillais
30
+ :symbol: f.NA
31
+ :AOA:
32
+ :one: kwanza angolais
33
+ :other: kwanzas angolais
34
+ :AOK:
35
+ :one: kwanza angolais (1977–1990)
36
+ :other: kwanzas angolais (1977–1990)
37
+ :AON:
38
+ :one: nouveau kwanza angolais (1990–2000)
39
+ :other: nouveaux kwanzas angolais (1990–2000)
40
+ :AOR:
41
+ :one: kwanza angolais réajusté (1995–1999)
42
+ :other: kwanzas angolais réajustés (1995–1999)
43
+ :ARA:
44
+ :one: austral argentin
45
+ :other: australs argentins
46
+ :ARP:
47
+ :one: peso argentin (1983–1985)
48
+ :other: pesos argentins (1983–1985)
49
+ :ARS:
50
+ :one: peso argentin
51
+ :other: pesos argentins
52
+ :ATS:
53
+ :one: schilling autrichien
54
+ :other: schillings autrichiens
55
+ :AUD:
56
+ :one: dollar australien
57
+ :other: dollars australiens
58
+ :symbol: $AU
59
+ :AWG:
60
+ :one: florin arubais
61
+ :other: florins arubais
62
+ :AZM:
63
+ :one: manat azéri (1993–2006)
64
+ :other: manats azéris (1993–2006)
65
+ :AZN:
66
+ :one: manat azéri
67
+ :other: manats azéris
68
+ :BAD:
69
+ :one: dinar bosniaque
70
+ :other: dinars bosniaques
71
+ :BAM:
72
+ :one: mark convertible bosniaque
73
+ :other: marks convertibles bosniaques
74
+ :symbol: KM
75
+ :BBD:
76
+ :one: dollar barbadien
77
+ :other: dollars barbadiens
78
+ :BDT:
79
+ :one: taka bangladeshi
80
+ :other: takas bangladeshis
81
+ :symbol: Tk
82
+ :BEC:
83
+ :one: franc belge (convertible)
84
+ :other: francs belges (convertibles)
85
+ :BEF:
86
+ :one: franc belge
87
+ :other: francs belges
88
+ :symbol: FB
89
+ :BEL:
90
+ :one: franc belge (financier)
91
+ :other: francs belges (financiers)
92
+ :BGL:
93
+ :one: lev bulgare (1962–1999)
94
+ :other: levs bulgares (1962–1999)
95
+ :BGN:
96
+ :one: nouveau lev bulgare
97
+ :other: nouveaux levs bulgares
98
+ :BHD:
99
+ :one: dinar bahreïni
100
+ :other: dinars bahreïnis
101
+ :BIF:
102
+ :one: franc burundais
103
+ :other: francs burundais
104
+ :BMD:
105
+ :one: dollar bermudien
106
+ :other: dollars bermudiens
107
+ :BND:
108
+ :one: dollar brunéien
109
+ :other: dollars brunéiens
110
+ :symbol: $BN
111
+ :BOB:
112
+ :one: boliviano bolivien
113
+ :other: bolivianos boliviens
114
+ :BOP:
115
+ :one: peso bolivien
116
+ :other: pesos boliviens
117
+ :BOV:
118
+ :one: mvdol bolivien
119
+ :other: mvdols boliviens
120
+ :BRB:
121
+ :one: nouveau cruzeiro brésilien (1967–1986)
122
+ :other: nouveaux cruzeiros brésiliens (1967–1986)
123
+ :BRC:
124
+ :one: cruzado brésilien (1986–1989)
125
+ :other: cruzados brésiliens (1986–1989)
126
+ :BRE:
127
+ :one: cruzeiro brésilien (1990–1993)
128
+ :other: cruzeiros brésiliens (1990–1993)
129
+ :BRL:
130
+ :one: réal brésilien
131
+ :other: réals brésiliens
132
+ :symbol: R$
133
+ :BRN:
134
+ :one: nouveau cruzado brésilien (1989–1990)
135
+ :other: nouveaux cruzados brésiliens (1989–1990)
136
+ :BRR:
137
+ :one: cruzeiro réal brésilien (1993–1994)
138
+ :other: cruzeiros réals brésiliens (1993–1994)
139
+ :BSD:
140
+ :one: dollar bahaméen
141
+ :other: dollars bahaméens
142
+ :BTN:
143
+ :one: ngultrum bouthanais
144
+ :other: ngultrums bouthanais
145
+ :BUK:
146
+ :one: kyat birman
147
+ :other: kyats birmans
148
+ :BWP:
149
+ :one: pula botswanais
150
+ :other: pulas botswanais
151
+ :BYB:
152
+ :one: nouveau rouble biélorusse (1994–1999)
153
+ :other: nouveaux roubles biélorusses (1994–1999)
154
+ :BYR:
155
+ :one: rouble biélorusse
156
+ :other: roubles biélorusses
157
+ :BZD:
158
+ :one: dollar bélizéen
159
+ :other: dollars bélizéens
160
+ :CAD:
161
+ :one: dollar canadien
162
+ :other: dollars canadiens
163
+ :symbol: $CA
164
+ :CDF:
165
+ :one: franc congolais
166
+ :other: francs congolais
167
+ :CHE:
168
+ :one: euro WIR
169
+ :other: euros WIR
170
+ :CHF:
171
+ :one: franc suisse
172
+ :other: francs suisses
173
+ :CHW:
174
+ :one: franc WIR
175
+ :other: francs WIR
176
+ :CLF:
177
+ :one: unité d’investissement chilienne
178
+ :other: unités d’investissement chiliennes
179
+ :CLP:
180
+ :one: peso chilien
181
+ :other: pesos chiliens
182
+ :CNY:
183
+ :one: yuan renminbi chinois
184
+ :other: yuans renminbi chinois
185
+ :symbol: ¥CN
186
+ :COP:
187
+ :one: peso colombien
188
+ :other: pesos colombiens
189
+ :COU:
190
+ :one: unité de valeur réelle colombienne
191
+ :other: unités de valeur réelle colombiennes
192
+ :CRC:
193
+ :one: colón costaricain
194
+ :other: colóns costaricains
195
+ :CSD:
196
+ :one: dinar serbo-monténégrin
197
+ :other: dinars serbo-monténégrins
198
+ :CSK:
199
+ :one: couronne forte tchécoslovaque
200
+ :other: couronnes fortes tchécoslovaques
201
+ :CUC:
202
+ :one: peso cubain convertible
203
+ :other: pesos cubains convertibles
204
+ :CUP:
205
+ :one: peso cubain
206
+ :other: pesos cubains
207
+ :CVE:
208
+ :one: escudo capverdien
209
+ :other: escudos capverdiens
210
+ :CYP:
211
+ :one: livre chypriote
212
+ :other: livres chypriotes
213
+ :symbol: £CY
214
+ :CZK:
215
+ :one: couronne tchèque
216
+ :other: couronnes tchèques
217
+ :DDM:
218
+ :one: mark est-allemand
219
+ :other: marks est-allemands
220
+ :DEM:
221
+ :one: mark allemand
222
+ :other: marks allemands
223
+ :DJF:
224
+ :one: franc djiboutien
225
+ :other: francs djiboutiens
226
+ :symbol: FDj
227
+ :DKK:
228
+ :one: couronne danoise
229
+ :other: couronnes danoises
230
+ :DOP:
231
+ :one: peso dominicain
232
+ :other: pesos dominicains
233
+ :DZD:
234
+ :one: dinar algérien
235
+ :other: dinars algériens
236
+ :ECS:
237
+ :one: sucre équatorien
238
+ :other: sucres équatoriens
239
+ :ECV:
240
+ :one: unité de valeur constante équatorienne (UVC)
241
+ :other: unités de valeur constante équatoriennes (UVC)
242
+ :EEK:
243
+ :one: couronne estonienne
244
+ :other: couronnes estoniennes
245
+ :symbol: krE
246
+ :EGP:
247
+ :one: livre égyptienne
248
+ :other: livres égyptiennes
249
+ :ERN:
250
+ :one: nafka érythréen
251
+ :other: nafkas érythréens
252
+ :ESA:
253
+ :one: peseta espagnole (compte A)
254
+ :other: pesetas espagnoles (compte A)
255
+ :ESB:
256
+ :one: peseta espagnole (compte convertible)
257
+ :other: pesetas espagnoles (compte convertible)
258
+ :ESP:
259
+ :one: peseta espagnole
260
+ :other: pesetas espagnoles
261
+ :symbol: ₧
262
+ :ETB:
263
+ :one: birr éthiopien
264
+ :other: birrs éthiopiens
265
+ :EUR:
266
+ :one: euro
267
+ :other: euros
268
+ :symbol: €
269
+ :FIM:
270
+ :one: mark finlandais
271
+ :other: marks finlandais
272
+ :FJD:
273
+ :one: dollar fidjien
274
+ :other: dollars fidjien
275
+ :symbol: $FJ
276
+ :FKP:
277
+ :one: livre des Falkland
278
+ :other: livres des Falkland
279
+ :FRF:
280
+ :one: franc français
281
+ :other: francs français
282
+ :symbol: F
283
+ :GBP:
284
+ :one: livre sterling
285
+ :other: livres sterling
286
+ :symbol: £UK
287
+ :GEK:
288
+ :one: coupon de lari géorgien
289
+ :other: coupons de lari géorgiens
290
+ :GEL:
291
+ :one: lari géorgien
292
+ :other: lari géorgiens
293
+ :GHC:
294
+ :one: cédi ghanéen (1967–2007)
295
+ :other: cédis ghanéens (1967–2007)
296
+ :GHS:
297
+ :one: cédi ghanéen
298
+ :other: cédis ghanéens
299
+ :GIP:
300
+ :one: livre de Gibraltar
301
+ :other: livres de Gibraltar
302
+ :GMD:
303
+ :one: dalasi gambien
304
+ :other: dalasis gambiens
305
+ :GNF:
306
+ :one: franc guinéen
307
+ :other: francs guinéens
308
+ :GNS:
309
+ :one: syli guinéen
310
+ :other: sylis guinéens
311
+ :GQE:
312
+ :one: ekwélé équatoguinéen
313
+ :other: ekwélés équatoguinéens
314
+ :GRD:
315
+ :one: drachme grecque
316
+ :other: drachmes grecques
317
+ :GTQ:
318
+ :one: quetzal guatémaltèque
319
+ :other: quetzals guatémaltèques
320
+ :GWE:
321
+ :one: escudo de Guinée portugaise
322
+ :other: escudos de Guinée portugaise
323
+ :GWP:
324
+ :one: peso bissau-guinéen
325
+ :other: pesos bissau-guinéens
326
+ :GYD:
327
+ :one: dollar du Guyana
328
+ :other: dollars du Guyana
329
+ :HKD:
330
+ :one: dollar de Hong Kong
331
+ :other: dollars de Hong Kong
332
+ :symbol: $HK
333
+ :HNL:
334
+ :one: lempira hondurien
335
+ :other: lempiras honduriens
336
+ :HRD:
337
+ :one: dinar croate
338
+ :other: dinars croates
339
+ :HRK:
340
+ :one: kuna croate
341
+ :other: kunas croates
342
+ :HTG:
343
+ :one: gourde haïtienne
344
+ :other: gourdes haïtiennes
345
+ :HUF:
346
+ :one: forint hongrois
347
+ :other: forints hongrois
348
+ :IDR:
349
+ :one: roupie indonésienne
350
+ :other: roupies indonésiennes
351
+ :symbol: Rp
352
+ :IEP:
353
+ :one: livre irlandaise
354
+ :other: livres irlandaises
355
+ :symbol: £IE
356
+ :ILP:
357
+ :one: livre israélienne
358
+ :other: livres israéliennes
359
+ :symbol: £IL
360
+ :ILS:
361
+ :one: nouveau shekel israélien
362
+ :other: nouveaux shekels israélien
363
+ :symbol: ₪
364
+ :INR:
365
+ :one: roupie indienne
366
+ :other: roupies indiennes
367
+ :symbol: ₹
368
+ :IQD:
369
+ :one: dinar irakien
370
+ :other: dinars irakiens
371
+ :IRR:
372
+ :one: rial iranien
373
+ :other: rials iraniens
374
+ :ISK:
375
+ :one: couronne islandaise
376
+ :other: couronnes islandaises
377
+ :ITL:
378
+ :one: lire italienne
379
+ :other: lires italiennes
380
+ :symbol: ₤IT
381
+ :JMD:
382
+ :one: dollar jamaïcain
383
+ :other: dollars jamaïcains
384
+ :JOD:
385
+ :one: dinar jordanien
386
+ :other: dinars jordaniens
387
+ :JPY:
388
+ :one: yen japonais
389
+ :other: yens japonais
390
+ :symbol: ¥JP
391
+ :KES:
392
+ :one: shilling kényan
393
+ :other: shillings kényans
394
+ :KGS:
395
+ :one: som kirghize
396
+ :other: soms kirghizes
397
+ :KHR:
398
+ :one: riel cambodgien
399
+ :other: riels cambodgiens
400
+ :KMF:
401
+ :one: franc comorien
402
+ :other: francs comoriens
403
+ :KPW:
404
+ :one: won nord-coréen
405
+ :other: wons nord-coréens
406
+ :KRW:
407
+ :one: won sud-coréen
408
+ :other: wons sud-coréens
409
+ :symbol: ₩
410
+ :KWD:
411
+ :one: dinar koweïtien
412
+ :other: dinar koweïtiens
413
+ :KYD:
414
+ :one: dollar des îles Caïmanes
415
+ :other: dollars des îles Caïmanes
416
+ :KZT:
417
+ :one: tenge kazakh
418
+ :other: tenges kazakhs
419
+ :LAK:
420
+ :one: kip loatien
421
+ :other: kips loatiens
422
+ :LBP:
423
+ :one: livre libanaise
424
+ :other: livres libanaises
425
+ :LKR:
426
+ :one: roupie srilankaise
427
+ :other: roupies srilankaises
428
+ :symbol: RsSL
429
+ :LRD:
430
+ :one: dollar libérien
431
+ :other: dollars libériens
432
+ :LSL:
433
+ :one: loti lesothan
434
+ :other: maloti lesothans
435
+ :symbol: LLs
436
+ :LTL:
437
+ :one: litas lituanien
438
+ :other: litas lituaniens
439
+ :LTT:
440
+ :one: talonas lituanien
441
+ :other: talonas lituaniens
442
+ :LUC:
443
+ :one: franc convertible luxembourgeois
444
+ :other: francs convertibles luxembourgeois
445
+ :LUF:
446
+ :one: franc luxembourgeois
447
+ :other: francs luxembourgeois
448
+ :LUL:
449
+ :one: franc financier luxembourgeois
450
+ :other: francs financiers luxembourgeois
451
+ :LVL:
452
+ :one: lats letton
453
+ :other: lats lettons
454
+ :LVR:
455
+ :one: rouble letton
456
+ :other: roubles lettons
457
+ :LYD:
458
+ :one: dinar lybien
459
+ :other: dinars lybien
460
+ :MAD:
461
+ :one: dirham marocain
462
+ :other: dirhams marocains
463
+ :MAF:
464
+ :one: franc marocain
465
+ :other: francs marocains
466
+ :MDL:
467
+ :one: leu moldave
468
+ :other: leus moldaves
469
+ :MGA:
470
+ :one: ariary malgache
471
+ :other: ariarys malgaches
472
+ :MGF:
473
+ :one: franc malgache
474
+ :other: francs malgaches
475
+ :MKD:
476
+ :one: denar macédonien
477
+ :other: denars macédoniens
478
+ :MLF:
479
+ :one: franc malien
480
+ :other: francs maliens
481
+ :MMK:
482
+ :one: kyat myanmarais
483
+ :other: kyats myanmarais
484
+ :symbol: KMm
485
+ :MNT:
486
+ :one: tugrik mongol
487
+ :other: tugriks mongols
488
+ :symbol: Tug
489
+ :MOP:
490
+ :one: pataca macanaise
491
+ :other: patacas macanaises
492
+ :MRO:
493
+ :one: ouguiya mauritanien
494
+ :other: ouguiyas mauritaniens
495
+ :MTL:
496
+ :one: lire maltaise
497
+ :other: lires maltaises
498
+ :MTP:
499
+ :one: livre maltaise
500
+ :other: livres maltaises
501
+ :symbol: £MT
502
+ :MUR:
503
+ :one: roupie mauricienne
504
+ :other: roupies mauriciennes
505
+ :MVR:
506
+ :one: rufiyaa maldivienne
507
+ :other: rufiyaas maldiviennes
508
+ :symbol: Rf
509
+ :MWK:
510
+ :one: kwacha malawite
511
+ :other: kwachas malawites
512
+ :MXN:
513
+ :one: peso mexicain
514
+ :other: pesos mexicains
515
+ :symbol: $MEX
516
+ :MXP:
517
+ :one: peso d’argent mexicain (1861–1992)
518
+ :other: pesos d’argent mexicains (1861–1992)
519
+ :MXV:
520
+ :one: unité de conversion mexicaine (UDI)
521
+ :other: unités de conversion mexicaines (UDI)
522
+ :MYR:
523
+ :one: ringgit malais
524
+ :other: ringgits malais
525
+ :symbol: RM
526
+ :MZE:
527
+ :one: escudo mozambicain
528
+ :other: escudos mozambicains
529
+ :MZM:
530
+ :one: metical mozambicain (1980–2006)
531
+ :other: meticais mozambicains (1980–2006)
532
+ :MZN:
533
+ :one: metical mozambicain
534
+ :other: meticais mozambicains
535
+ :NAD:
536
+ :one: dollar namibien
537
+ :other: dollars namibiens
538
+ :NGN:
539
+ :one: naira nigérian
540
+ :other: nairas nigérians
541
+ :NIC:
542
+ :one: córdoba nicaraguayen (1912–1988)
543
+ :other: córdobas nicaraguayens (1912–1988)
544
+ :NIO:
545
+ :one: córdoba oro nicaraguayen
546
+ :other: córdobas oro nicaraguayens
547
+ :NLG:
548
+ :one: florin néerlandais
549
+ :other: florins néerlandais
550
+ :NOK:
551
+ :one: couronne norvégienne
552
+ :other: couronnes norvégiennes
553
+ :NPR:
554
+ :one: roupie népalaise
555
+ :other: roupies népalaises
556
+ :symbol: RsNP
557
+ :NZD:
558
+ :one: dollar néo-zélandais
559
+ :other: dollars néo-zélandais
560
+ :symbol: $NZ
561
+ :OMR:
562
+ :one: rial omanais
563
+ :other: rials omanis
564
+ :PAB:
565
+ :one: balboa panaméen
566
+ :other: balboas panaméens
567
+ :PEI:
568
+ :one: inti péruvien
569
+ :other: intis péruviens
570
+ :PEN:
571
+ :one: nouveau sol péruvien
572
+ :other: nouveaux sols péruviens
573
+ :PES:
574
+ :one: sol péruvien (1863–1985)
575
+ :other: sols péruviens (1863–1985)
576
+ :PGK:
577
+ :one: kina papouan-néo-guinéen
578
+ :other: kinas papouan-néo-guinéens
579
+ :symbol: K
580
+ :PHP:
581
+ :one: peso philippin
582
+ :other: pesos philippins
583
+ :PKR:
584
+ :one: roupie pakistanaise
585
+ :other: roupies pakistanaises
586
+ :symbol: RsPK
587
+ :PLN:
588
+ :one: zloty polonais
589
+ :other: zlotys polonais
590
+ :PLZ:
591
+ :one: zloty polonais (1950–1995)
592
+ :other: zlotys polonais (1950–1995)
593
+ :PTE:
594
+ :one: escudo portugais
595
+ :other: escudos portugais
596
+ :PYG:
597
+ :one: guaraní paraguayen
598
+ :other: guaranís paraguayens
599
+ :QAR:
600
+ :one: rial qatari
601
+ :other: rials qataris
602
+ :RHD:
603
+ :one: dollar rhodésien
604
+ :other: dollars rhodésiens
605
+ :symbol: $RH
606
+ :ROL:
607
+ :one: leu roumain (1952–2005)
608
+ :other: lei roumains (1952–2005)
609
+ :RON:
610
+ :one: leu roumain
611
+ :other: lei roumains
612
+ :RSD:
613
+ :one: dinar serbe
614
+ :other: dinars serbes
615
+ :RUB:
616
+ :one: rouble russe
617
+ :other: roubles russes
618
+ :RUR:
619
+ :one: rouble russe (1991–1998)
620
+ :other: roubles russes (1991–1998)
621
+ :RWF:
622
+ :one: franc rwandais
623
+ :other: francs rwandais
624
+ :SAR:
625
+ :one: rial saoudien
626
+ :other: rials saoudiens
627
+ :SBD:
628
+ :one: dollar des îles Salomon
629
+ :other: dollars des îles Salomon
630
+ :symbol: $SB
631
+ :SCR:
632
+ :one: roupie des Seychelles
633
+ :other: roupies des Seychelles
634
+ :SDD:
635
+ :one: dinar soudanais (1992–2007)
636
+ :other: dinars soudanais (1992–2007)
637
+ :SDG:
638
+ :one: livre soudanaise
639
+ :other: livres soudanaises
640
+ :SDP:
641
+ :one: livre soudanaise (1956–2007)
642
+ :other: livres soudanaises (1956–2007)
643
+ :SEK:
644
+ :one: couronne suédoise
645
+ :other: couronnes suédoises
646
+ :SGD:
647
+ :one: dollar de Singapour
648
+ :other: dollars de Singapour
649
+ :symbol: $SG
650
+ :SHP:
651
+ :one: livre de Sainte-Hélène
652
+ :other: livres de Sainte-Hélène
653
+ :SIT:
654
+ :one: tolar slovène
655
+ :other: tolars slovènes
656
+ :SKK:
657
+ :one: couronne slovaque
658
+ :other: couronnes slovaques
659
+ :SLL:
660
+ :one: leone sierra-léonais
661
+ :other: leones sierra-léonais
662
+ :SOS:
663
+ :one: shilling somalien
664
+ :other: shillings somaliens
665
+ :SRD:
666
+ :one: dollar surinamais
667
+ :other: dollars surinamais
668
+ :SRG:
669
+ :one: florin surinamais
670
+ :other: florins surinamais
671
+ :SSP:
672
+ :one: livre sud-soudanaise
673
+ :other: livres sud-soudanaises
674
+ :STD:
675
+ :one: dobra santoméen
676
+ :other: dobras santoméens
677
+ :SUR:
678
+ :one: rouble soviétique
679
+ :other: roubles soviétiques
680
+ :SVC:
681
+ :one: colón salvadorien
682
+ :other: colóns salvadoriens
683
+ :symbol: ₡SV
684
+ :SYP:
685
+ :one: livre syrienne
686
+ :other: livres syriennes
687
+ :SZL:
688
+ :one: lilangeni swazi
689
+ :other: emalangeni swazis
690
+ :THB:
691
+ :one: baht thaïlandais
692
+ :other: baths thaïlandais
693
+ :symbol: ฿
694
+ :TJR:
695
+ :one: rouble tadjik
696
+ :other: roubles tadjiks
697
+ :TJS:
698
+ :one: somoni tadjik
699
+ :other: somonis tadjiks
700
+ :TMM:
701
+ :one: manat turkmène
702
+ :other: manats turkmènes
703
+ :TMT:
704
+ :one: nouveau manat turkmène
705
+ :other: nouveaux manats turkmènes
706
+ :TND:
707
+ :one: dinar tunisien
708
+ :other: dinars tunisiens
709
+ :TOP:
710
+ :one: pa’anga tongan
711
+ :other: pa’angas tongans
712
+ :symbol: T$
713
+ :TPE:
714
+ :one: escudo timorais
715
+ :other: escudos timorais
716
+ :TRL:
717
+ :one: livre turque (1844–2005)
718
+ :other: livres turques (1844-2005)
719
+ :TRY:
720
+ :one: livre turque
721
+ :other: livres turques
722
+ :TTD:
723
+ :one: dollar de Trinité-et-Tobago
724
+ :other: dollars de Trinité-et-Tobago
725
+ :TWD:
726
+ :one: nouveau dollar taïwanais
727
+ :other: nouveaux dollars taïwanais
728
+ :symbol: NT$
729
+ :TZS:
730
+ :one: shilling tanzanien
731
+ :other: shillings tanzaniens
732
+ :UAH:
733
+ :one: hryvnia ukrainienne
734
+ :other: hryvnias ukrainiennes
735
+ :UAK:
736
+ :one: karbovanets ukrainien (1992–1996)
737
+ :other: karbovanets ukrainiens (1992–1996)
738
+ :UGS:
739
+ :one: shilling ougandais (1966–1987)
740
+ :other: shillings ougandais (1966–1987)
741
+ :UGX:
742
+ :one: shilling ougandais
743
+ :other: shillings ougandais
744
+ :USD:
745
+ :one: dollar des États-Unis
746
+ :other: dollars des États-Unis
747
+ :symbol: $US
748
+ :USN:
749
+ :one: dollar des États-Unis (jour suivant)
750
+ :other: dollars des États-Unis (jour suivant)
751
+ :USS:
752
+ :one: dollar des États-Unis (jour même)
753
+ :other: dollars des États-Unis (jour même)
754
+ :UYI:
755
+ :one: peso uruguayen (unités indexées)
756
+ :other: pesos uruguayen (unités indexées)
757
+ :UYP:
758
+ :one: peso uruguayen (1975–1993)
759
+ :other: pesos uruguayens (1975–1993)
760
+ :UYU:
761
+ :one: peso uruguayen
762
+ :other: pesos uruguayens
763
+ :UZS:
764
+ :one: sum ouzbek
765
+ :other: sums ouzbeks
766
+ :VEB:
767
+ :one: bolivar vénézuélien (1871-2008)
768
+ :other: bolivar vénézuélien (1871-2008)
769
+ :VEF:
770
+ :one: bolivar vénézuélien
771
+ :other: bolivar vénézuélien
772
+ :VND:
773
+ :one: dông vietnamien
774
+ :other: dôngs vietnamiens
775
+ :symbol: ₫
776
+ :VUV:
777
+ :one: vatu vanuatuan
778
+ :other: vatus vanuatuans
779
+ :symbol: VT
780
+ :WST:
781
+ :one: tala samoan
782
+ :other: talas samoans
783
+ :symbol: WS$
784
+ :XAF:
785
+ :one: franc CFA (BEAC)
786
+ :other: francs CFA (BEAC)
787
+ :symbol: FCFA
788
+ :XAG:
789
+ :one: once troy d’argent
790
+ :other: onces troy d’argent
791
+ :XAU:
792
+ :one: once troy d’or
793
+ :other: onces troy d’or
794
+ :XBA:
795
+ :one: unité composée européenne (EURCO)
796
+ :other: unités composées européennes (EURCO)
797
+ :XBB:
798
+ :one: unité monétaire européenne (UME-6)
799
+ :other: unités monétaires européennes (UME-6)
800
+ :XBC:
801
+ :one: unité de compte 9 européenne (UEC-9)
802
+ :other: unités de compte 9 européennes (UEC-9)
803
+ :XBD:
804
+ :one: unité de compte 17 européenne (UEC-17)
805
+ :other: unités de compte 17 européennes (UEC-17)
806
+ :XCD:
807
+ :one: dollar des Caraïbes orientales
808
+ :other: dollars des Caraïbes orientales
809
+ :symbol: $EC
810
+ :XDR:
811
+ :one: droit de tirage spécial
812
+ :other: droits de tirage spéciaux
813
+ :XEU:
814
+ :one: unité de compte européenne (ECU)
815
+ :other: unités de compte européennes (ECU)
816
+ :XFO:
817
+ :one: franc or
818
+ :other: francs or
819
+ :XFU:
820
+ :one: franc UIC
821
+ :other: francs UIC
822
+ :XOF:
823
+ :one: franc CFA (BCEAO)
824
+ :other: francs CFA (BCEAO)
825
+ :symbol: CFA
826
+ :XPD:
827
+ :one: once troy de palladium
828
+ :other: onces troy de palladium
829
+ :XPF:
830
+ :one: franc CFP
831
+ :other: francs CFP
832
+ :symbol: FCFP
833
+ :XPT:
834
+ :one: once troy de platine
835
+ :other: onces troy de platine
836
+ :XRE:
837
+ :one: unité de fonds RINET
838
+ :other: unités de fonds RINET
839
+ :XTS:
840
+ :one: (devise de test)
841
+ :other: (devises de test)
842
+ :XXX:
843
+ :one: devise inconnue ou non valide
844
+ :other: devise inconnue ou non valide
845
+ :YDD:
846
+ :one: dinar nord-yéménite
847
+ :other: dinars nord-yéménites
848
+ :YER:
849
+ :one: rial yéménite
850
+ :other: rials yéménites
851
+ :YUD:
852
+ :one: dinar fort yougoslave (1966–1989)
853
+ :other: dinars forts yougoslaves (1966–1989)
854
+ :YUM:
855
+ :one: nouveau dinar yougoslave (1994–2003)
856
+ :other: nouveaux dinars yougoslaves (1994–2003)
857
+ :YUN:
858
+ :one: dinar convertible yougoslave (1990–1992)
859
+ :other: dinars convertibles yougoslaves (1990–1992)
860
+ :ZAL:
861
+ :one: rand sud-africain (financier)
862
+ :other: rands sud-africains (financiers)
863
+ :ZAR:
864
+ :one: rand sud-africain
865
+ :other: rands sud-africains
866
+ :ZMK:
867
+ :one: kwacha zambien
868
+ :other: kwachas zambiens
869
+ :ZRN:
870
+ :one: nouveau zaïre zaïrien
871
+ :other: nouveaux zaïres zaïriens
872
+ :ZRZ:
873
+ :one: zaïre zaïrois
874
+ :other: zaïres zaïrois
875
+ :ZWD:
876
+ :one: dollar zimbabwéen
877
+ :other: dollars zimbabwéens
878
+ :symbol: $Z
879
+ :ZWL:
880
+ :one: dollar zimbabwéen (2009)
881
+ :other: dollars zimbabwéens (2009)
882
+ :ZWR:
883
+ :one: dollar zimbabwéen (2008)
884
+ :other: dollars zimbabwéens (2008)