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
@@ -2,18 +2,26 @@
2
2
  :ms:
3
3
  :languages:
4
4
  :ab: Abkhazia
5
+ :ach: Akoli
5
6
  :af: Afrikaans
7
+ :ak: Akan
6
8
  :am: Amharic
7
9
  :ar: Arab
8
10
  :as: Assam
9
11
  :ay: Aymara
10
12
  :az: Azeri
11
13
  :be: Belarus
14
+ :bem: Bemba
12
15
  :bg: Bulgaria
16
+ :bh: Bihari
13
17
  :bn: Benggala
14
18
  :bo: Tibet
19
+ :br: Breton
15
20
  :bs: Bosnia
16
21
  :ca: Catalonia
22
+ :chr: Cherokee
23
+ :ckb: Kurdi Sorani
24
+ :co: Corsica
17
25
  :cs: Czech
18
26
  :cy: Wales
19
27
  :da: Denmark
@@ -22,6 +30,7 @@
22
30
  :de-CH: Jerman Halus Switzerland
23
31
  :dv: Divehi
24
32
  :dz: Dzongkha
33
+ :ee: Ewe
25
34
  :efi: Efik
26
35
  :el: Greek
27
36
  :en: Inggeris
@@ -32,7 +41,7 @@
32
41
  :eo: Esperanto
33
42
  :es: Sepanyol
34
43
  :es-419: Sepanyol Amerika Latin
35
- :es-ES: Sepanyol Iberia
44
+ :es-ES: Sepanyol Eropah
36
45
  :et: Estonia
37
46
  :eu: Basque
38
47
  :fa: Parsi
@@ -45,6 +54,7 @@
45
54
  :fr-CH: Perancis Switzerland
46
55
  :fy: Frisian
47
56
  :ga: Ireland
57
+ :gaa: Ga
48
58
  :gd: Scots Gaelic
49
59
  :gl: Galicia
50
60
  :gn: Guarani
@@ -58,6 +68,7 @@
58
68
  :ht: Haiti
59
69
  :hu: Hungary
60
70
  :hy: Armenia
71
+ :ia: Interlingua
61
72
  :id: Indonesia
62
73
  :ig: Igbo
63
74
  :is: Iceland
@@ -65,19 +76,24 @@
65
76
  :ja: Jepun
66
77
  :jv: Jawa
67
78
  :ka: Georgia
79
+ :kg: Kongo
68
80
  :kk: Kazakhstan
69
81
  :km: Khmer
70
82
  :kn: Kannada
71
83
  :ko: Korea
72
- :ks: Kashmiri
84
+ :ks: Kashmir
73
85
  :ku: Kurdish
74
86
  :ky: Kirghiz
75
87
  :la: Latin
76
88
  :lb: Luxembourg
89
+ :lg: Ganda
77
90
  :ln: Lingala
78
91
  :lo: Laos
92
+ :loz: Lozi
79
93
  :lt: Lithuania
94
+ :lua: Luba-Lulua
80
95
  :lv: Latvia
96
+ :mfe: Morisyen
81
97
  :mg: Malagasy
82
98
  :mi: Maori
83
99
  :mk: Macedonia
@@ -95,6 +111,9 @@
95
111
  :nn: Nynorsk Norway
96
112
  :nso: Sotho Utara
97
113
  :ny: Nyanja
114
+ :nyn: Nyankole
115
+ :oc: Occitania
116
+ :om: Oromo
98
117
  :or: Oriya
99
118
  :os: Ossete
100
119
  :pa: Punjabi
@@ -102,7 +121,7 @@
102
121
  :ps: Pushto
103
122
  :pt: Portugis
104
123
  :pt-BR: Portugis Brazil
105
- :pt-PT: Portugis Iberia
124
+ :pt-PT: Portugis Eropah
106
125
  :qu: Quechua
107
126
  :rm: Romansh
108
127
  :rn: Rundi
@@ -134,12 +153,14 @@
134
153
  :th: Thai
135
154
  :ti: Tigrinya
136
155
  :tk: Turkmen
156
+ :tlh: Klingon
137
157
  :tn: Tswana
138
158
  :to: Tonga
139
159
  :tpi: Tok Pisin
140
160
  :tr: Turki
141
161
  :ts: Tsonga
142
162
  :tt: Tatar
163
+ :tum: Tumbuka
143
164
  :ty: Tahiti
144
165
  :ug: Uyghur
145
166
  :uk: Ukraine
@@ -150,6 +171,7 @@
150
171
  :vi: Vietnam
151
172
  :wo: Wolof
152
173
  :xh: Xhosa
174
+ :yi: Yiddish
153
175
  :yo: Yoruba
154
176
  :zh: Cina
155
177
  :zh-Hans: Cina Ringkas
@@ -10,17 +10,30 @@
10
10
  :decimal:
11
11
  :patterns:
12
12
  :default: ! '#,##0.###'
13
+ :long:
14
+ 1000: 0 ribu
15
+ 10000: 00 ribu
16
+ 100000: 000 ribu
17
+ 1000000: 0 juta
18
+ 10000000: 00 juta
19
+ 100000000: 000 juta
20
+ 1000000000: 0 bilion
21
+ 10000000000: 00 bilion
22
+ 100000000000: 000 bilion
23
+ 1000000000000: 0 trilion
24
+ 10000000000000: 00 trilion
25
+ 100000000000000: 000 trilion
13
26
  :short:
14
- 1000: 0.0K
27
+ 1000: 0K
15
28
  10000: 00K
16
29
  100000: 000K
17
- 1000000: 0.0M
18
- 10000000: 00M
19
- 100000000: 000M
20
- 1000000000: 0.0B
30
+ 1000000: 0J
31
+ 10000000: 00J
32
+ 100000000: 000J
33
+ 1000000000: 0B
21
34
  10000000000: 00B
22
35
  100000000000: 000B
23
- 1000000000000: 0.0T
36
+ 1000000000000: 0T
24
37
  10000000000000: 00T
25
38
  100000000000000: 000T
26
39
  :percent:
@@ -3,134 +3,78 @@
3
3
  :units:
4
4
  :day:
5
5
  :default:
6
- 0: 0 hari
7
- 1: 1 hari
8
6
  :other: ! '{0} hari'
9
7
  :short:
10
- 0: 0 hari
11
- 1: 1 hari
12
8
  :other: ! '{0} hari'
13
9
  :day-future:
14
10
  :default:
15
- 0: Dalam 0 hari
16
- 1: Dalam 1 hari
17
11
  :other: Dalam {0} hari
18
12
  :day-past:
19
13
  :default:
20
- 0: 0 hari lalu
21
- 1: 1 hari lalu
22
14
  :other: ! '{0} hari lalu'
23
15
  :hour:
24
16
  :default:
25
- 0: 0 jam
26
- 1: 1 jam
27
17
  :other: ! '{0} jam'
28
18
  :short:
29
- 0: 0 jam
30
- 1: 1 jam
31
19
  :other: ! '{0} jam'
32
20
  :hour-future:
33
21
  :default:
34
- 0: Dalam 0 jam
35
- 1: Dalam 1 jam
36
22
  :other: Dalam {0} jam
37
23
  :hour-past:
38
24
  :default:
39
- 0: 0 jam lalu
40
- 1: 1 jam lalu
41
25
  :other: ! '{0} jam lalu'
42
26
  :minute:
43
27
  :default:
44
- 0: 0 minit
45
- 1: 1 minit
46
28
  :other: ! '{0} minit'
47
29
  :short:
48
- 0: 0 min
49
- 1: 1 min
50
30
  :other: ! '{0} min'
51
31
  :minute-future:
52
32
  :default:
53
- 0: Dalam 0 minit
54
- 1: Dalam 1 minit
55
33
  :other: Dalam {0} minit
56
34
  :minute-past:
57
35
  :default:
58
- 0: 0 minit lalu
59
- 1: 1 minit lalu
60
36
  :other: ! '{0} minit lalu'
61
37
  :month:
62
38
  :default:
63
- 0: 0 bulan
64
- 1: 1 bulan
65
39
  :other: ! '{0} bulan'
66
40
  :short:
67
- 0: 0 bulan
68
- 1: 1 bulan
69
41
  :other: ! '{0} bulan'
70
42
  :month-future:
71
43
  :default:
72
- 0: Dalam 0 bulan
73
- 1: Dalam 1 Bulan
74
44
  :other: Dalam {0} bulan
75
45
  :month-past:
76
46
  :default:
77
- 0: 0 bulan lalu
78
- 1: 1 bulan lalu
79
47
  :other: ! '{0} bulan lalu'
80
48
  :second:
81
49
  :default:
82
- 0: 0 saat
83
- 1: 1 saat
84
50
  :other: ! '{0} saat'
85
51
  :short:
86
- 0: 0 saat
87
- 1: 1 saat
88
52
  :other: ! '{0} saat'
89
53
  :second-future:
90
54
  :default:
91
- 0: Dalam 0 saat
92
- 1: Dalam 1 saat
93
55
  :other: Dalam {0} saat
94
56
  :second-past:
95
57
  :default:
96
- 0: 0 saat lalu
97
- 1: 1 saat lalu
98
58
  :other: ! '{0} saat lalu'
99
59
  :week:
100
60
  :default:
101
- 0: 0 minggu
102
- 1: 1 minggu
103
61
  :other: ! '{0} minggu'
104
62
  :short:
105
- 0: 0 minggu
106
- 1: 1 minggu
107
63
  :other: ! '{0} minggu'
108
64
  :week-future:
109
65
  :default:
110
- 0: Dalam 0 minggu
111
- 1: Dalam 1 minggu
112
66
  :other: Dalam {0} minggu
113
67
  :week-past:
114
68
  :default:
115
- 0: 0 minggu lalu
116
- 1: 1 minggu lalu
117
69
  :other: ! '{0} minggu lalu'
118
70
  :year:
119
71
  :default:
120
- 0: 0 tahun
121
- 1: 1 tahun
122
72
  :other: ! '{0} tahun'
123
73
  :short:
124
- 0: 0 thn
125
- 1: 1 thn
126
74
  :other: ! '{0} thn'
127
75
  :year-future:
128
76
  :default:
129
- 0: Dalam 0 tahun
130
- 1: Dalam 1 tahun
131
77
  :other: Dalam {0} tahun
132
78
  :year-past:
133
79
  :default:
134
- 0: 0 tahun lalu
135
- 1: 1 tahun lalu
136
80
  :other: ! '{0} tahun lalu'
@@ -2,6 +2,35 @@
2
2
  :nb:
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
+ :MMMd: d. MMM
15
+ :MMdd: d.M.
16
+ :Md: d.M.
17
+ :d: d.
18
+ :h: h a
19
+ :hm: h:mm a
20
+ :hms: h:mm:ss a
21
+ :ms: mm:ss
22
+ :y: y
23
+ :yM: M y
24
+ :yMEd: E d.MM.y
25
+ :yMMM: MMM y
26
+ :yMMMEd: E d. MMM y
27
+ :yMMMd: d. MMM y
28
+ :yMd: d.M.yyyy
29
+ :yQQQ: QQQ y
30
+ :yQQQQ: QQQQ y
31
+ :yyMM: MM.yy
32
+ :yyMMM: MMM yy
33
+ :yyyyMMMM: MMMM y
5
34
  :days:
6
35
  :format:
7
36
  :abbreviated:
@@ -19,6 +48,15 @@
19
48
  :sun: S
20
49
  :thu: T
21
50
  :tue: T
51
+ :wed: O
52
+ :short:
53
+ :fri: fr.
54
+ :mon: ma.
55
+ :sat: lø.
56
+ :sun: sø.
57
+ :thu: to.
58
+ :tue: ti.
59
+ :wed: on.
22
60
  :wide:
23
61
  :fri: fredag
24
62
  :mon: mandag
@@ -44,6 +82,14 @@
44
82
  :thu: T
45
83
  :tue: T
46
84
  :wed: O
85
+ :short:
86
+ :fri: fr.
87
+ :mon: ma.
88
+ :sat: lø.
89
+ :sun: sø.
90
+ :thu: to.
91
+ :tue: ti.
92
+ :wed: on.
47
93
  :wide:
48
94
  :fri: fredag
49
95
  :mon: mandag
@@ -60,7 +106,8 @@
60
106
  0: f.Kr.
61
107
  1: e.Kr.
62
108
  :narrow:
63
- 0: ''
109
+ 0: f.Kr.
110
+ 1: e.Kr.
64
111
  :fields:
65
112
  :day: dag
66
113
  :dayperiod: AM/PM
@@ -0,0 +1,846 @@
1
+ ---
2
+ :nb:
3
+ :currencies:
4
+ :ADP:
5
+ :one: andorransk pesetas
6
+ :other: andorranske pesetas
7
+ :AED:
8
+ :one: UAE dirham
9
+ :other: UAE dirham
10
+ :AFA:
11
+ :one: afghansk afghani (1927-2002)
12
+ :other: afghanske afghani (1927-2002)
13
+ :AFN:
14
+ :one: afghansk afghani
15
+ :other: afghanske afghani
16
+ :ALL:
17
+ :one: albansk lek
18
+ :other: albanske lek
19
+ :AMD:
20
+ :one: armensk dram
21
+ :other: armenske dram
22
+ :ANG:
23
+ :one: nederlandsk antillegylden
24
+ :other: nederlandske antillegylden
25
+ :AOA:
26
+ :one: angolansk kwanza
27
+ :other: angolanske kwanza
28
+ :AOK:
29
+ :one: angolansk kwanza (1977-1990)
30
+ :other: angolanske kwanza (1977-1990)
31
+ :AON:
32
+ :one: angolansk ny kwanza
33
+ :other: angolanske nye kwanza (1990-2000)
34
+ :AOR:
35
+ :one: angolansk kwanza reajustado (1995-1999)
36
+ :other: angolanske omjusterte kwanza (1995-1999)
37
+ :ARA:
38
+ :one: argentinsk austral
39
+ :other: argentinske australer
40
+ :ARP:
41
+ :one: argentinsk pesos (1983-1985)
42
+ :other: argentinske pesos (1983-1985)
43
+ :ARS:
44
+ :one: argentinsk pesos
45
+ :other: argentinske peso
46
+ :ATS:
47
+ :one: østerriksk schilling
48
+ :other: østerrikske schilling
49
+ :AUD:
50
+ :one: australsk dollar
51
+ :other: australske dollar
52
+ :symbol: A$
53
+ :AWG:
54
+ :one: arubisk gylden
55
+ :other: arubiske floriner
56
+ :AZM:
57
+ :one: aserbajdsjansk manat (1993-2006)
58
+ :other: aserbajdsjanske manat (1993-2006)
59
+ :AZN:
60
+ :one: aserbajdsjansk manat
61
+ :other: aserbajdsjanske manat
62
+ :BAD:
63
+ :one: bosnisk-hercegovinsk dinar
64
+ :other: bosnisk-hercegovinske dinarer
65
+ :BAM:
66
+ :one: bosnisk-hercegovinsk mark (konvertibel)
67
+ :other: bosnisk-hercegovinske konvertible mark
68
+ :BBD:
69
+ :one: barbadisk dollar
70
+ :other: barbadiske dollar
71
+ :BDT:
72
+ :one: bangladeshisk taka
73
+ :other: bangladeshiske taka
74
+ :BEC:
75
+ :one: belgisk franc (konvertibel)
76
+ :other: belgiske franc (konvertible)
77
+ :BEF:
78
+ :one: belgisk franc
79
+ :other: belgiske franc
80
+ :BEL:
81
+ :one: belgisk franc (finansiell)
82
+ :other: belgiske franc (finansielle)
83
+ :BGL:
84
+ :one: bulgarsk lev (hard)
85
+ :other: bulgarske lev (hard)
86
+ :BGN:
87
+ :one: bulgarsk lev
88
+ :other: bulgarske lev
89
+ :BHD:
90
+ :one: bahrainsk dinar
91
+ :other: bahrainske dinarer
92
+ :BIF:
93
+ :one: burundisk franc
94
+ :other: burundiske franc
95
+ :BMD:
96
+ :one: bermudisk dollar
97
+ :other: bermudiske dollar
98
+ :BND:
99
+ :one: bruneisk dollar
100
+ :other: bruneiske dollar
101
+ :BOB:
102
+ :one: boliviansk boliviano
103
+ :other: bolivianske boliviano
104
+ :BOP:
105
+ :one: boliviansk pesos
106
+ :other: bolivianske pesos
107
+ :BOV:
108
+ :one: bolivianske mvdol
109
+ :BRB:
110
+ :one: brasiliansk cruzeiro novo (1967-1986)
111
+ :other: brasilianske cruzeiro novo (1967-1986)
112
+ :BRC:
113
+ :one: brasiliansk cruzado
114
+ :other: brasilianske cruzado
115
+ :BRE:
116
+ :one: brasiliansk cruzeiro (1990-1993)
117
+ :other: brasilianske cruzeiro (1990-1993)
118
+ :BRL:
119
+ :one: brasiliansk real
120
+ :other: brasilianske realer
121
+ :symbol: R$
122
+ :BRN:
123
+ :one: brasiliansk cruzado novo
124
+ :other: brasilianske cruzado novo
125
+ :BRR:
126
+ :one: brasiliansk cruzeiro
127
+ :other: brasilianske cruzeiro
128
+ :BSD:
129
+ :one: bahamsk dollar
130
+ :other: bahamske dollar
131
+ :BTN:
132
+ :one: bhutansk ngultrum
133
+ :other: bhutanske ngultrum
134
+ :BUK:
135
+ :one: burmesisk kyat
136
+ :other: burmesiske kyat
137
+ :BWP:
138
+ :one: botswansk pula
139
+ :other: botswanske pula
140
+ :BYB:
141
+ :one: hviterussisk ny rubel (1994-1999)
142
+ :other: hviterussiske nye rubler (1994-1999)
143
+ :BYR:
144
+ :one: hviterussisk rubel
145
+ :other: hviterussiske rubler
146
+ :BZD:
147
+ :one: belizisk dollar
148
+ :other: beliziske dollar
149
+ :CAD:
150
+ :one: kanadisk dollar
151
+ :other: kanadiske dollar
152
+ :symbol: CA$
153
+ :CDF:
154
+ :one: kongolesisk franc (congolais)
155
+ :other: kongolesiske franc
156
+ :CHE:
157
+ :one: WIR euro
158
+ :CHF:
159
+ :one: sveitsisk franc
160
+ :other: sveitsiske franc
161
+ :CHW:
162
+ :one: WIR franc
163
+ :CLF:
164
+ :one: chilensk unidades de fomento
165
+ :other: chilenske unidades de fomento
166
+ :CLP:
167
+ :one: chilensk pesos
168
+ :other: chilenske pesos
169
+ :CNY:
170
+ :one: kinesisk yuan
171
+ :other: kinesiske yuan
172
+ :symbol: CN¥
173
+ :COP:
174
+ :one: colombiansk pesos
175
+ :other: colombianske pesos
176
+ :COU:
177
+ :one: unidad de valor real
178
+ :other: unidad de valor real
179
+ :CRC:
180
+ :one: costaricansk colon
181
+ :other: costaricanske colon
182
+ :CSD:
183
+ :one: gammel serbisk dinar
184
+ :other: gamle serbiske dinarer
185
+ :CSK:
186
+ :one: tsjekkoslovakisk koruna (hard)
187
+ :other: tsjekkoslovakiske koruna (hard)
188
+ :CUC:
189
+ :one: kubansk peso (konvertibel)
190
+ :other: kubanske konvertible peso
191
+ :CUP:
192
+ :one: kubansk pesos
193
+ :other: kubanske pesos
194
+ :CVE:
195
+ :one: kappverdisk escudo
196
+ :other: kappverdiske escudos
197
+ :CYP:
198
+ :one: kypriotisk pund
199
+ :other: kypriotiske pund
200
+ :CZK:
201
+ :one: tsjekkisk koruna
202
+ :other: tsjekkiske kroner
203
+ :DDM:
204
+ :one: østtysk ostmark
205
+ :other: østtyske ostmark
206
+ :DEM:
207
+ :one: tysk mark
208
+ :other: tyske mark
209
+ :DJF:
210
+ :one: djiboutisk franc
211
+ :other: djiboutiske franc
212
+ :DKK:
213
+ :one: dansk krone
214
+ :other: danske kroner
215
+ :DOP:
216
+ :one: dominikansk pesos
217
+ :other: dominikanske pesos
218
+ :DZD:
219
+ :one: algerisk dinar
220
+ :other: algeriske dinarer
221
+ :ECS:
222
+ :one: ecuadoriansk sucre
223
+ :other: ecuadorianske sucre
224
+ :ECV:
225
+ :one: ecuadoriansk unidad de valor constante (UVC)
226
+ :other: ecuadorianske unidad de valor constante (UVC)
227
+ :EEK:
228
+ :one: estisk kroon
229
+ :other: estiske kroner
230
+ :EGP:
231
+ :one: egyptisk pund
232
+ :other: egyptiske pund
233
+ :ERN:
234
+ :one: eritreisk nakfa
235
+ :other: eritreiske nakfa
236
+ :ESA:
237
+ :one: spansk peseta (A-konto)
238
+ :other: spanske peseta (A-konto)
239
+ :ESB:
240
+ :one: spansk peseta (konvertibel konto)
241
+ :other: spanske peseta (konvertibel konto)
242
+ :ESP:
243
+ :one: spansk peseta
244
+ :other: spanske peseta
245
+ :ETB:
246
+ :one: etiopisk birr
247
+ :other: etiopiske birr
248
+ :EUR:
249
+ :one: euro
250
+ :other: euro
251
+ :symbol: €
252
+ :FIM:
253
+ :one: finsk mark
254
+ :other: finske mark
255
+ :FJD:
256
+ :one: fijiansk dollar
257
+ :other: fijianske dollar
258
+ :FKP:
259
+ :one: falklandspund
260
+ :other: falklandspund
261
+ :FRF:
262
+ :one: fransk franc
263
+ :other: franske franc
264
+ :GBP:
265
+ :one: britisk pund sterling
266
+ :other: britiske pund sterling
267
+ :symbol: £
268
+ :GEK:
269
+ :one: georgisk kupon larit
270
+ :other: georgiske kupon larit
271
+ :GEL:
272
+ :one: georgisk lari
273
+ :other: georgiske lari
274
+ :GHC:
275
+ :one: ghanesisk cedi (1979-2007)
276
+ :other: ghanesiske cedi (1979-2007)
277
+ :GHS:
278
+ :one: ghanesisk cedi
279
+ :other: ghanesiske cedi
280
+ :GIP:
281
+ :one: gibraltarsk pund
282
+ :other: gibraltarske pund
283
+ :GMD:
284
+ :one: gambisk dalasi
285
+ :other: gambiske dalasi
286
+ :GNF:
287
+ :one: guineansk franc
288
+ :other: guineanske franc
289
+ :GNS:
290
+ :one: guineansk syli
291
+ :other: guineanske syli
292
+ :GQE:
293
+ :one: ekvatorialguineansk ekwele guineana
294
+ :other: ekvatorialguineanske ekwele guineana
295
+ :GRD:
296
+ :one: gresk drakme
297
+ :other: greske drakmer
298
+ :GTQ:
299
+ :one: guatemalansk quetzal
300
+ :other: guatemalanske quetzal
301
+ :GWE:
302
+ :one: portugisisk guinea escudo
303
+ :other: portugisiske guinea escudo
304
+ :GWP:
305
+ :one: Guinea-Bissau-pesos
306
+ :other: Guinea-Bissau-pesos
307
+ :GYD:
308
+ :one: guyansk dollar
309
+ :other: guyanske dollar
310
+ :HKD:
311
+ :one: Hongkong-dollar
312
+ :other: Hongkong-dollar
313
+ :symbol: HK$
314
+ :HNL:
315
+ :one: honduransk lempira
316
+ :other: honduranske lempira
317
+ :HRD:
318
+ :one: kroatisk dinar
319
+ :other: kroatiske dinarer
320
+ :HRK:
321
+ :one: kroatisk kuna
322
+ :other: kroatiske kuna
323
+ :HTG:
324
+ :one: haitisk gourde
325
+ :other: haitiske gourde
326
+ :HUF:
327
+ :one: ungarsk forint
328
+ :other: ungarske forinter
329
+ :IDR:
330
+ :one: indonesisk rupi
331
+ :other: indonesiske rupier
332
+ :IEP:
333
+ :one: irsk pund
334
+ :other: irske pund
335
+ :ILP:
336
+ :one: israelsk pund
337
+ :other: israelske pund
338
+ :ILR:
339
+ :one: israelsk gammel shekel
340
+ :other: israelske gamle shekler
341
+ :ILS:
342
+ :one: israelsk ny shekel
343
+ :other: israelske nye shekler
344
+ :symbol: ₪
345
+ :INR:
346
+ :one: indisk rupi
347
+ :other: indiske rupier
348
+ :symbol: ₹
349
+ :IQD:
350
+ :one: iraksk dinar
351
+ :other: irakske dinarer
352
+ :IRR:
353
+ :one: iransk rial
354
+ :other: iranske rialer
355
+ :ISJ:
356
+ :one: gammel islandsk krone
357
+ :other: gamle islandske kroner
358
+ :ISK:
359
+ :one: islandsk krone
360
+ :other: islandske kroner
361
+ :ITL:
362
+ :one: italiensk lire
363
+ :other: italienske lire
364
+ :JMD:
365
+ :one: jamaikansk dollar
366
+ :other: jamaikanske dollar
367
+ :JOD:
368
+ :one: jordansk dinar
369
+ :other: jordanske dinarer
370
+ :JPY:
371
+ :one: japansk yen
372
+ :other: japanske yen
373
+ :symbol: JP¥
374
+ :KES:
375
+ :one: kenyansk shilling
376
+ :other: kenyanske shilling
377
+ :KGS:
378
+ :one: kirgisisk som
379
+ :other: kirgisiske som
380
+ :KHR:
381
+ :one: kambodsjansk riel
382
+ :other: kambodsjanske riel
383
+ :KMF:
384
+ :one: komorisk franc
385
+ :other: komoriske franc
386
+ :KPW:
387
+ :one: nordkoreansk won
388
+ :other: nordkoreanske won
389
+ :KRW:
390
+ :one: sørkoreansk won
391
+ :other: sørkoreanske won
392
+ :symbol: ₩
393
+ :KWD:
394
+ :one: kuwaitisk dinar
395
+ :other: kuwaitiske dinarer
396
+ :KYD:
397
+ :one: caymansk dollar
398
+ :other: caymanske dollar
399
+ :KZT:
400
+ :one: kasakhstansk tenge
401
+ :other: kasakhstanske tenge
402
+ :LAK:
403
+ :one: laotisk kip
404
+ :other: laotiske kip
405
+ :LBP:
406
+ :one: libanesisk pund
407
+ :other: libanesiske pund
408
+ :LKR:
409
+ :one: srilankisk rupi
410
+ :other: srilankiske rupier
411
+ :LRD:
412
+ :one: liberisk dollar
413
+ :other: liberiske dollar
414
+ :LSL:
415
+ :one: lesothisk loti
416
+ :other: lesothiske loti
417
+ :LTL:
418
+ :one: litauisk lita
419
+ :other: litauiske lita
420
+ :LTT:
421
+ :one: litauisk talonas
422
+ :other: litauiske talonas
423
+ :LUC:
424
+ :one: luxemburgsk konvertibel franc
425
+ :other: luxemburgske konvertible franc
426
+ :LUF:
427
+ :one: luxemburgsk franc
428
+ :other: luxemburgske franc
429
+ :LUL:
430
+ :one: luxemburgsk finansiell franc
431
+ :other: luxemburgske finansielle franc
432
+ :LVL:
433
+ :one: latvisk lats
434
+ :other: latviske lats
435
+ :LVR:
436
+ :one: latvisk rubel
437
+ :other: latviske rubler
438
+ :LYD:
439
+ :one: libysk dinar
440
+ :other: libyske dinarer
441
+ :MAD:
442
+ :one: marokkansk dirham
443
+ :other: marokkanske dirham
444
+ :MAF:
445
+ :one: marokkansk franc
446
+ :other: marokkanske franc
447
+ :MDL:
448
+ :one: moldovsk leu
449
+ :other: moldovske leu
450
+ :MGA:
451
+ :one: madagassisk ariary
452
+ :other: madagassiske ariary
453
+ :MGF:
454
+ :one: madagassisk franc
455
+ :other: madagassiske franc
456
+ :MKD:
457
+ :one: makedonsk denar
458
+ :other: makedonske denarer
459
+ :MLF:
460
+ :one: malisk franc
461
+ :other: maliske franc
462
+ :MMK:
463
+ :one: myanmarsk kyat
464
+ :other: myanmarske kyat
465
+ :MNT:
466
+ :one: mongolsk tugrik
467
+ :other: mongolske tugrik
468
+ :MOP:
469
+ :one: makaosk pataca
470
+ :other: makaoske pataca
471
+ :MRO:
472
+ :one: mauritansk ouguiya
473
+ :other: mauritanske ouguiya
474
+ :MTL:
475
+ :one: maltesisk lira
476
+ :other: maltesiske lira
477
+ :MTP:
478
+ :one: maltesisk pund
479
+ :other: maltesiske pund
480
+ :MUR:
481
+ :one: mauritisk rupi
482
+ :other: mauritiske rupier
483
+ :MVR:
484
+ :one: maldivisk rufiyaa
485
+ :other: maldiviske rufiyaa
486
+ :MWK:
487
+ :one: malawisk kwacha
488
+ :other: malawiske kwacha
489
+ :MXN:
490
+ :one: meksikansk pesos
491
+ :other: meksikanske pesos
492
+ :symbol: MX$
493
+ :MXP:
494
+ :one: meksikansk sølvpesos (1860-1992)
495
+ :other: meksikanske sølvpesos (1860-1992)
496
+ :MXV:
497
+ :one: meksikansk unidad de inversion (UDI)
498
+ :other: meksikanske unidad de inversion (UDI)
499
+ :MYR:
500
+ :one: malaysisk ringgit
501
+ :other: malaysiske ringgit
502
+ :MZE:
503
+ :one: mosambikisk escudo
504
+ :other: mosambikiske escudo
505
+ :MZM:
506
+ :one: gammel mosambikisk metical
507
+ :other: gamle mosambikiske metical
508
+ :MZN:
509
+ :one: mosambikisk metical
510
+ :other: mosambikiske metical
511
+ :NAD:
512
+ :one: namibisk dollar
513
+ :other: namibiske dollar
514
+ :NGN:
515
+ :one: nigeriansk naira
516
+ :other: nigerianske naira
517
+ :NIC:
518
+ :one: nicaraguansk cordoba (1988-1991)
519
+ :other: nicaraguanske cordoba (1988–1991)
520
+ :NIO:
521
+ :one: nicaraguansk córdoba
522
+ :other: nicaraguanske córdoba
523
+ :NLG:
524
+ :one: nederlandsk gylden
525
+ :other: nederlandske gylden
526
+ :NOK:
527
+ :one: norsk krone
528
+ :other: norske kroner
529
+ :symbol: kr
530
+ :NPR:
531
+ :one: nepalsk rupi
532
+ :other: nepalske rupier
533
+ :NZD:
534
+ :one: new zealandsk dollar
535
+ :other: new zealandske dollar
536
+ :symbol: NZ$
537
+ :OMR:
538
+ :one: omansk rial
539
+ :other: omanske rialer
540
+ :PAB:
541
+ :one: panamansk balboa
542
+ :other: panamanske balboa
543
+ :PEI:
544
+ :one: peruviansk inti
545
+ :other: peruvianske inti
546
+ :PEN:
547
+ :one: peruviansk ny sol
548
+ :other: peruvianske nye sol
549
+ :PES:
550
+ :one: peruviansk sol (1863-1965)
551
+ :other: peruvianske sol (1863-1965)
552
+ :PGK:
553
+ :one: papuansk kina
554
+ :other: papuanske kina
555
+ :PHP:
556
+ :one: filippinsk pesos
557
+ :other: filippinske pesos
558
+ :PKR:
559
+ :one: pakistansk rupi
560
+ :other: pakistanske rupier
561
+ :PLN:
562
+ :one: polsk zloty
563
+ :other: polske zloty
564
+ :PLZ:
565
+ :one: polsk zloty (1950-1995)
566
+ :other: polske zloty (1950-1995)
567
+ :PTE:
568
+ :one: portugisisk escudo
569
+ :other: portugisiske escudo
570
+ :PYG:
571
+ :one: paraguayansk guarani
572
+ :other: paraguayanske guarani
573
+ :QAR:
574
+ :one: qatarsk rial
575
+ :other: qatarske rialer
576
+ :RHD:
577
+ :one: rhodesisk dollar
578
+ :other: rhodesiske dollar
579
+ :ROL:
580
+ :one: rumensk leu (1952-2006)
581
+ :other: rumenske leu (1952-2006)
582
+ :RON:
583
+ :one: rumensk leu
584
+ :other: rumenske leu
585
+ :RSD:
586
+ :one: serbisk dinar
587
+ :other: serbiske dinarer
588
+ :RUB:
589
+ :one: russisk rubel
590
+ :other: russiske rubler
591
+ :RUR:
592
+ :one: russisk rubel (1991-1998)
593
+ :other: russiske rubler (1991-1998)
594
+ :RWF:
595
+ :one: rwandisk franc
596
+ :other: rwandiske franc
597
+ :SAR:
598
+ :one: saudiarabisk riyal
599
+ :other: saudiarabiske riyaler
600
+ :SBD:
601
+ :one: salomonsk dollar
602
+ :other: salomonske dollar
603
+ :SCR:
604
+ :one: seychellisk rupi
605
+ :other: seychelliske rupier
606
+ :SDD:
607
+ :one: sudansk dinar
608
+ :other: sudanske dinarer
609
+ :SDG:
610
+ :one: sudansk pund
611
+ :other: sudanske pund
612
+ :SDP:
613
+ :one: gammelt sudansk pund
614
+ :other: gamle sudanske pund
615
+ :SEK:
616
+ :one: svensk krone
617
+ :other: svenske kroner
618
+ :SGD:
619
+ :one: singaporsk dollar
620
+ :other: singaporske dollar
621
+ :SHP:
622
+ :one: sankthelensk pund
623
+ :other: sankthelenske pund
624
+ :SIT:
625
+ :one: slovensk tolar
626
+ :other: slovenske tolar
627
+ :SKK:
628
+ :one: slovakisk koruna
629
+ :other: slovakiske koruna
630
+ :SLL:
631
+ :one: sierraleonsk leone
632
+ :other: sierraleonske leone
633
+ :SOS:
634
+ :one: somalisk shilling
635
+ :other: somaliske shilling
636
+ :SRD:
637
+ :one: surinamsk dollar
638
+ :other: surinamske dollar
639
+ :SRG:
640
+ :one: surinamsk gylden
641
+ :other: surinamske gylden
642
+ :SSP:
643
+ :one: sørsudansk pund
644
+ :other: sørsudanske pund
645
+ :STD:
646
+ :one: São Tomé og Príncipe-dobra
647
+ :other: São Tomé og Príncipe-dobra
648
+ :SUR:
649
+ :one: sovjetisk rubel
650
+ :other: sovjetiske rubler
651
+ :SVC:
652
+ :one: salvadoransk colon
653
+ :other: salvadoranske colon
654
+ :SYP:
655
+ :one: syrisk pund
656
+ :other: syriske pund
657
+ :SZL:
658
+ :one: swazilandsk lilangeni
659
+ :other: swazilandske lilangeni
660
+ :THB:
661
+ :one: thailandsk baht
662
+ :other: thailandske baht
663
+ :symbol: ฿
664
+ :TJR:
665
+ :one: tadsjikisk rubel
666
+ :other: tadsjikiske rubler
667
+ :TJS:
668
+ :one: tadsjikisk somoni
669
+ :other: tadsjikiske somoni
670
+ :TMM:
671
+ :one: turkmensk manat
672
+ :other: turkmenske manat
673
+ :TMT:
674
+ :one: turkmenistansk manat
675
+ :other: turkmenistanske manat
676
+ :TND:
677
+ :one: tunisisk dinar
678
+ :other: tunisiske dinarer
679
+ :TOP:
680
+ :one: tongansk paʻanga
681
+ :other: tonganske paʻanga
682
+ :TPE:
683
+ :one: timoresisk escudo
684
+ :other: timoresiske escudo
685
+ :TRL:
686
+ :one: tyrkisk lire
687
+ :other: tyrkiske lire
688
+ :TRY:
689
+ :one: tyrkisk lire*
690
+ :other: tyrkiske lire*
691
+ :TTD:
692
+ :one: trinidadisk dollar
693
+ :other: trinidadiske dollar
694
+ :TWD:
695
+ :one: taiwansk ny dollar
696
+ :other: taiwanske nye dollar
697
+ :symbol: NT$
698
+ :TZS:
699
+ :one: tanzaniansk shilling
700
+ :other: tanzanianske shilling
701
+ :UAH:
702
+ :one: ukrainsk hryvnia
703
+ :other: ukrainske hryvnia
704
+ :UAK:
705
+ :one: ukrainsk karbovanetz
706
+ :other: ukrainske karbovanetz
707
+ :UGS:
708
+ :one: ugandisk shilling (1966-1987)
709
+ :other: ugandiske shilling (1966-1987)
710
+ :UGX:
711
+ :one: ugandisk shilling
712
+ :other: ugandiske shilling
713
+ :USD:
714
+ :one: amerikansk dollar
715
+ :other: amerikanske dollar
716
+ :symbol: US$
717
+ :USN:
718
+ :one: amerikansk dollar (neste dag)
719
+ :other: amerikanske dollar (neste dag)
720
+ :USS:
721
+ :one: amerikansk dollar (samme dag)
722
+ :other: amerikanske dollar (samme dag)
723
+ :UYP:
724
+ :one: uruguayansk pesos (1975-1993)
725
+ :other: uruguayanske pesos (1975-1993)
726
+ :UYU:
727
+ :one: uruguayansk peso uruguayo
728
+ :other: uruguayanske peso uruguayo
729
+ :UZS:
730
+ :one: usbekisk sum
731
+ :other: usbekiske sum
732
+ :VEB:
733
+ :one: venezuelansk bolivar (1871-2008)
734
+ :other: venezuelanske bolivar (1871-2008)
735
+ :VEF:
736
+ :one: venezuelansk bolivar
737
+ :other: venezuelanske bolivarer
738
+ :VND:
739
+ :one: vietnamesisk dong
740
+ :other: vietnamesiske dong
741
+ :symbol: ₫
742
+ :VUV:
743
+ :one: vanuatisk vatu
744
+ :other: vanuatiske vatu
745
+ :WST:
746
+ :one: vestsamoisk tala
747
+ :other: vestsamoiske tala
748
+ :XAF:
749
+ :one: CFA franc BEAC
750
+ :other: CFA franc BEAC
751
+ :symbol: FCFA
752
+ :XAG:
753
+ :one: unse sølv
754
+ :other: unser sølv
755
+ :XAU:
756
+ :one: unse gull
757
+ :other: unser gull
758
+ :XBA:
759
+ :one: europeisk sammensatt enhet
760
+ :other: europeiske sammensatte enheter
761
+ :XBB:
762
+ :one: europeisk monetær enhet
763
+ :other: europeiske monetære enheter
764
+ :XBC:
765
+ :one: europeisk kontoenhet (XBC)
766
+ :other: europeiske kontoenheter
767
+ :XBD:
768
+ :one: europeisk kontoenhet (XBD)
769
+ :other: europeiske kontoenheter (XBD)
770
+ :XCD:
771
+ :one: østkaribisk dollar
772
+ :other: østkaribiske dollar
773
+ :symbol: EC$
774
+ :XDR:
775
+ :one: spesiell trekkrettighet
776
+ :other: spesielle trekkrettigheter
777
+ :XEU:
778
+ :one: europeisk valutaenhet
779
+ :other: europeiske valutaenheter
780
+ :XFO:
781
+ :one: fransk gullfranc
782
+ :other: franske gullfranc
783
+ :XFU:
784
+ :one: fransk UIC-franc
785
+ :other: franske UIC-franc
786
+ :XOF:
787
+ :one: CFA franc BCEAO
788
+ :other: CFA franc BCEAO
789
+ :symbol: CFA
790
+ :XPD:
791
+ :one: unse palladium
792
+ :other: unser palladium
793
+ :XPF:
794
+ :one: CFP franc
795
+ :other: CFP franc
796
+ :symbol: CFPF
797
+ :XPT:
798
+ :one: unse platina
799
+ :other: unser platina
800
+ :XRE:
801
+ :one: RINET-fond
802
+ :XTS:
803
+ :one: testvaluta
804
+ :other: testvaluta
805
+ :XXX:
806
+ :one: (ukjent valuta)
807
+ :other: (ukjent valuta)
808
+ :YDD:
809
+ :one: jemenittisk dinar
810
+ :other: jemenittiske dinarer
811
+ :YER:
812
+ :one: jemenittisk rial
813
+ :other: jemenittiske rialer
814
+ :YUD:
815
+ :one: jugoslavisk dinar (hard)
816
+ :other: jugoslaviske dinarer (hard)
817
+ :YUM:
818
+ :one: jugoslavisk noviy-dinar
819
+ :other: jugoslaviske noviy-dinarer
820
+ :YUN:
821
+ :one: jugoslavisk konvertibel dinar
822
+ :other: jugoslaviske konvertible dinarer
823
+ :ZAL:
824
+ :one: sørafrikansk rand (finansiell)
825
+ :other: sørafrikanske rand (finansielle)
826
+ :ZAR:
827
+ :one: sørafrikansk rand
828
+ :other: sørafrikanske rand
829
+ :ZMK:
830
+ :one: zambisk kwacha
831
+ :other: zambiske kwacha
832
+ :ZRN:
833
+ :one: zairisk ny zaire
834
+ :other: zairiske nye zaire
835
+ :ZRZ:
836
+ :one: zairisk zaire
837
+ :other: zairiske zaire
838
+ :ZWD:
839
+ :one: zimbabwisk dollar (1980-2008)
840
+ :other: zimbabwiske dollar (1980-2008)
841
+ :ZWL:
842
+ :one: zimbabwisk dollar (2009)
843
+ :other: zimbabwiske dollar (2009)
844
+ :ZWR:
845
+ :one: zimbabwisk dollar (2008)
846
+ :other: zimbabwiske dollar (2008)