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
@@ -0,0 +1,92 @@
1
+ ---
2
+ :cy:
3
+ :languages:
4
+ :af: Affricaneg
5
+ :am: Amhareg
6
+ :ar: Arabeg
7
+ :as: Asameg
8
+ :be: Belarwsiyn
9
+ :bg: Bwlgareg
10
+ :bh: Bihari
11
+ :bn: Bengali; Bangla
12
+ :br: Llydaweg
13
+ :bs: Bosnieg
14
+ :ca: Catalaneg
15
+ :cs: Tsiec
16
+ :cy: Cymraeg
17
+ :da: Daneg
18
+ :de: Almaeneg
19
+ :el: Groeg
20
+ :en: Saesneg
21
+ :eo: Esperanto
22
+ :es: Sbaeneg
23
+ :et: Estoneg
24
+ :eu: Basgeg
25
+ :fa: Persieg
26
+ :fi: Ffineg
27
+ :fil: Tagalog
28
+ :fo: Ffaroeg
29
+ :fr: Ffrangeg
30
+ :ga: Gwyddeleg
31
+ :gd: Gaeleg yr Alban
32
+ :gl: Galiseg
33
+ :he: Hebraeg
34
+ :hi: Hindi
35
+ :hr: Croateg
36
+ :hu: Hwngareg
37
+ :hy: Armeneg
38
+ :ia: Interlingua
39
+ :id: Indonesieg
40
+ :ie: Interlingue
41
+ :is: Islandeg
42
+ :it: Eidaleg
43
+ :ja: Siapaneeg
44
+ :jv: Jafanaeg
45
+ :ka: Georgeg
46
+ :km: Cambodieg
47
+ :kn: Kannada
48
+ :ko: Corëeg
49
+ :ku: Cwrdeg
50
+ :la: Lladin
51
+ :ln: Lingala
52
+ :lo: Laoeg
53
+ :lt: Lithwaneg
54
+ :lv: Latfieg
55
+ :ml: Malayalam
56
+ :mn: Mongoleg
57
+ :mr: Marathi
58
+ :ms: Malai
59
+ :mt: Malteseg
60
+ :ne: Nepali
61
+ :nl: Iseldireg
62
+ :nn: Norwyeg (Nynorsk)
63
+ :no: Norwyeg
64
+ :oc: Ocsitaneg
65
+ :or: Oriya
66
+ :pa: Pwnjabi
67
+ :pl: Pwyleg
68
+ :ps: Pashto
69
+ :pt: Portiwgaleg
70
+ :ro: Rwmaneg
71
+ :ru: Rwsieg
72
+ :sa: Sansgrit
73
+ :sd: Sindhi
74
+ :sh: Serbo-Croateg
75
+ :si: Sinhaleg
76
+ :sk: Slofaceg
77
+ :sl: Slofeneg
78
+ :so: Somaleg
79
+ :sq: Albaneg
80
+ :sr: Serbeg
81
+ :st: Sesotheg
82
+ :su: Sundaneg
83
+ :sv: Swedeg
84
+ :sw: Swahili
85
+ :ta: Tamil
86
+ :tlh: Klingon
87
+ :uk: Wcreineg
88
+ :und: anh
89
+ :uz: Wsbeceg
90
+ :vi: Fietnameg
91
+ :zh: Tseineeg
92
+ :zu: Zwlw
@@ -0,0 +1,4 @@
1
+ ---
2
+ :cy:
3
+ :layout:
4
+ :orientation: {}
@@ -0,0 +1,7 @@
1
+ ---
2
+ :cy:
3
+ :lists:
4
+ 2: ! '{0} a {1}'
5
+ :end: ! '{0}, a {1}'
6
+ :middle: ! '{0}, {1}'
7
+ :start: ! '{0}, {1}'
@@ -0,0 +1,49 @@
1
+ ---
2
+ :cy:
3
+ :numbers:
4
+ :formats:
5
+ :currency:
6
+ :patterns:
7
+ :default: ¤#,##0.00
8
+ :unit:
9
+ :few: ! '{0} {1}'
10
+ :many: ! '{0} {1}'
11
+ :one: ! '{0} {1}'
12
+ :other: ! '{0} {1}'
13
+ :two: ! '{0} {1}'
14
+ :zero: ! '{0} {1}'
15
+ :decimal:
16
+ :patterns:
17
+ :default: ! '#,##0.###'
18
+ :long: {}
19
+ :short:
20
+ 1000: 0K
21
+ 10000: 00K
22
+ 100000: 000K
23
+ 1000000: 0M
24
+ 10000000: 00M
25
+ 100000000: 000M
26
+ 1000000000: 0G
27
+ 10000000000: 00G
28
+ 100000000000: 000G
29
+ 1000000000000: 0T
30
+ 10000000000000: 00T
31
+ 100000000000000: 000T
32
+ :percent:
33
+ :patterns:
34
+ :default: ! '#,##0%'
35
+ :scientific:
36
+ :patterns:
37
+ :default: ! '#E0'
38
+ :symbols:
39
+ :alias: ''
40
+ :decimal: .
41
+ :exponential: E
42
+ :group: ! ','
43
+ :infinity: ∞
44
+ :list: ;
45
+ :minus_sign: ! '-'
46
+ :nan: NaN
47
+ :per_mille: ‰
48
+ :percent_sign: ! '%'
49
+ :plus_sign: +
@@ -0,0 +1,4 @@
1
+ ---
2
+ :cy: ! '{ :cy => { :i18n => {:plural => { :keys => [:zero, :one, :two, :few, :many,
3
+ :other], :rule => lambda { |n| n == 0 ? :zero : n == 1 ? :one : n == 2 ? :two :
4
+ n == 3 ? :few : n == 6 ? :many : :other } } } } }'
@@ -0,0 +1,73 @@
1
+ ---
2
+ :cy:
3
+ :units:
4
+ :day:
5
+ :default:
6
+ :other: ! '{0} d'
7
+ :short: {}
8
+ :day-future:
9
+ :default:
10
+ :other: +{0} d
11
+ :day-past:
12
+ :default:
13
+ :other: -{0} d
14
+ :hour:
15
+ :default:
16
+ :other: ! '{0} h'
17
+ :short: {}
18
+ :hour-future:
19
+ :default:
20
+ :other: +{0} h
21
+ :hour-past:
22
+ :default:
23
+ :other: -{0} h
24
+ :minute:
25
+ :default:
26
+ :other: ! '{0} min'
27
+ :short: {}
28
+ :minute-future:
29
+ :default:
30
+ :other: +{0} min
31
+ :minute-past:
32
+ :default:
33
+ :other: -{0} min
34
+ :month:
35
+ :default:
36
+ :other: ! '{0} m'
37
+ :short: {}
38
+ :month-future:
39
+ :default:
40
+ :other: +{0} m
41
+ :month-past:
42
+ :default:
43
+ :other: -{0} m
44
+ :second:
45
+ :default:
46
+ :other: ! '{0} s'
47
+ :short: {}
48
+ :second-future:
49
+ :default:
50
+ :other: +{0} s
51
+ :second-past:
52
+ :default:
53
+ :other: -{0} s
54
+ :week:
55
+ :default:
56
+ :other: ! '{0} w'
57
+ :short: {}
58
+ :week-future:
59
+ :default:
60
+ :other: +{0} w
61
+ :week-past:
62
+ :default:
63
+ :other: -{0} w
64
+ :year:
65
+ :default:
66
+ :other: ! '{0} y'
67
+ :short: {}
68
+ :year-future:
69
+ :default:
70
+ :other: +{0} y
71
+ :year-past:
72
+ :default:
73
+ :other: -{0} y
@@ -2,17 +2,64 @@
2
2
  :da:
3
3
  :calendars:
4
4
  :gregorian:
5
+ :additional_formats:
6
+ :Ed: E 'd'. d.
7
+ :H: HH
8
+ :Hm: HH.mm
9
+ :Hms: HH.mm.ss
10
+ :M: M
11
+ :MEd: E d/M
12
+ :MMM: MMM
13
+ :MMMEd: E d. MMM
14
+ :MMMMEd: E d. MMMM
15
+ :MMMd: d. MMM
16
+ :MMdd: dd/MM
17
+ :Md: d/M
18
+ :d: d.
19
+ :h: h a
20
+ :hm: h.mm a
21
+ :hms: h.mm.ss a
22
+ :ms: mm.ss
23
+ :y: y
24
+ :yM: M/y
25
+ :yMEd: E d/M/y
26
+ :yMMM: MMM y
27
+ :yMMMEd: E d. MMM y
28
+ :yMMMd: d. MMM y
29
+ :yMd: d/M/y
30
+ :yQQQ: QQQ y
31
+ :yQQQQ: QQQQ y
32
+ :yyMM: MM/yy
33
+ :yyMMM: MMM yy
34
+ :yyyy: y
35
+ :yyyyMM: MM/yyyy
36
+ :yyyyMMM: MMM y
5
37
  :days:
6
38
  :format:
7
39
  :abbreviated:
8
- :fri: fre
9
- :mon: man
10
- :sat: lør
11
- :sun: søn
12
- :thu: tor
13
- :tue: tir
14
- :wed: ons
15
- :narrow: :calendars.gregorian.days.stand-alone.narrow
40
+ :fri: fre.
41
+ :mon: man.
42
+ :sat: lør.
43
+ :sun: søn.
44
+ :thu: tor.
45
+ :tue: tir.
46
+ :wed: ons.
47
+ :narrow:
48
+ :fri: F
49
+ :mon: M
50
+ :sat: L
51
+ :sun: S
52
+ :thu: T
53
+ :tue: T
54
+ :wed: O
55
+ :short:
56
+ :fri: fr
57
+ :mon: ma
58
+ :sat: lø
59
+ :sun: sø
60
+ :thu: to
61
+ :tue: ti
62
+ :wed: true
16
63
  :wide:
17
64
  :fri: fredag
18
65
  :mon: mandag
@@ -22,7 +69,14 @@
22
69
  :tue: tirsdag
23
70
  :wed: onsdag
24
71
  :stand-alone:
25
- :abbreviated: :calendars.gregorian.days.format.abbreviated
72
+ :abbreviated:
73
+ :fri: fre
74
+ :mon: man
75
+ :sat: lør
76
+ :sun: søn
77
+ :thu: tor
78
+ :tue: tir
79
+ :wed: ons
26
80
  :narrow:
27
81
  :fri: F
28
82
  :mon: M
@@ -31,7 +85,22 @@
31
85
  :thu: T
32
86
  :tue: T
33
87
  :wed: O
34
- :wide: :calendars.gregorian.days.format.wide
88
+ :short:
89
+ :fri: fr
90
+ :mon: ma
91
+ :sat: lø
92
+ :sun: sø
93
+ :thu: to
94
+ :tue: ti
95
+ :wed: true
96
+ :wide:
97
+ :fri: fredag
98
+ :mon: mandag
99
+ :sat: lørdag
100
+ :sun: søndag
101
+ :thu: torsdag
102
+ :tue: tirsdag
103
+ :wed: onsdag
35
104
  :eras:
36
105
  :abbr:
37
106
  0: f.Kr.
@@ -100,7 +169,19 @@
100
169
  7: jul.
101
170
  8: aug.
102
171
  9: sep.
103
- :narrow: :calendars.gregorian.months.stand-alone.narrow
172
+ :narrow:
173
+ 1: J
174
+ 10: O
175
+ 11: N
176
+ 12: D
177
+ 2: F
178
+ 3: M
179
+ 4: A
180
+ 5: M
181
+ 6: J
182
+ 7: J
183
+ 8: A
184
+ 9: S
104
185
  :wide:
105
186
  1: januar
106
187
  10: oktober
@@ -141,7 +222,19 @@
141
222
  7: J
142
223
  8: A
143
224
  9: S
144
- :wide: :calendars.gregorian.months.format.wide
225
+ :wide:
226
+ 1: januar
227
+ 10: oktober
228
+ 11: november
229
+ 12: december
230
+ 2: februar
231
+ 3: marts
232
+ 4: april
233
+ 5: maj
234
+ 6: juni
235
+ 7: juli
236
+ 8: august
237
+ 9: september
145
238
  :periods:
146
239
  :format:
147
240
  :abbreviated:
@@ -149,9 +242,9 @@
149
242
  :narrow:
150
243
  :noon: middag
151
244
  :wide:
152
- :am: f.m.
245
+ :am: AM
153
246
  :noon: middag
154
- :pm: e.m.
247
+ :pm: PM
155
248
  :stand-alone:
156
249
  :wide:
157
250
  :am: formiddag
@@ -174,10 +267,18 @@
174
267
  3: 3. kvartal
175
268
  4: 4. kvartal
176
269
  :stand-alone:
177
- :abbreviated: :calendars.gregorian.quarters.format.abbreviated
270
+ :abbreviated:
271
+ 1: K1
272
+ 2: K2
273
+ 3: K3
274
+ 4: K4
178
275
  :narrow:
179
276
  1: 1
180
277
  2: 2
181
278
  3: 3
182
279
  4: 4
183
- :wide: :calendars.gregorian.quarters.format.wide
280
+ :wide:
281
+ 1: 1. kvartal
282
+ 2: 2. kvartal
283
+ 3: 3. kvartal
284
+ 4: 4. kvartal
@@ -0,0 +1,814 @@
1
+ ---
2
+ :da:
3
+ :currencies:
4
+ :ADP:
5
+ :one: Andorransk peseta
6
+ :other: Andorranske pesetas
7
+ :AED:
8
+ :one: FAE-dirham
9
+ :other: FAE-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: Gylden fra De Hollandske Antiller
24
+ :other: Gylden fra De Hollandske Antiller
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 nye kwanza (1990-2000)
33
+ :other: Angolanske nye kwanza (1990-2000)
34
+ :AOR:
35
+ :one: Angolansk kwanza (1995-1999)
36
+ :other: Angolanske kwanza (1995-1999)
37
+ :ARA:
38
+ :one: Argentinsk austral
39
+ :other: Argentinske austral
40
+ :ARP:
41
+ :one: Argentinsk pesos (1983-1985)
42
+ :other: Argentinske pesos (1983-1985)
43
+ :ARS:
44
+ :one: Argentinsk pesos
45
+ :other: Argentinske pesos
46
+ :ATS:
47
+ :one: Østrigsk schilling
48
+ :other: Østrigske schilling
49
+ :AUD:
50
+ :one: Australsk dollar
51
+ :other: Australske dollar
52
+ :symbol: AU$
53
+ :AWG:
54
+ :one: Arubansk florin
55
+ :other: Arubanske 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: Bosnien-Hercegovinsk dinar
64
+ :other: Bosnien-Hercegovinske dinarer
65
+ :BAM:
66
+ :one: Bosnien-Hercegovinsk konvertibel mark
67
+ :other: Bosnien-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 (financial)
82
+ :other: Belgiske franc (financial)
83
+ :BGL:
84
+ :one: Bulgarsk hard lev
85
+ :other: Bulgarske hard lev
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: Bermudansk dollar
97
+ :other: Bermudanske 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 peso
106
+ :other: Bolivianske pesos
107
+ :BOV:
108
+ :one: Boliviansk mvdol
109
+ :other: Bolivianske mvdol
110
+ :BRB:
111
+ :one: Brasiliansk cruzeiro novo (1967-1986)
112
+ :other: Brasilianske cruzeiro novo (1967-1986)
113
+ :BRC:
114
+ :one: Brasiliansk cruzado (1986-1989)
115
+ :other: Brasilianske cruzado (1986-1989)
116
+ :BRE:
117
+ :one: Brasiliansk cruzeiro (1990-1993)
118
+ :other: Brasilianske cruzeiro (1990-1993)
119
+ :BRL:
120
+ :one: Brasiliansk real
121
+ :other: Brasilianske real
122
+ :symbol: R$
123
+ :BRN:
124
+ :one: Brasiliansk cruzado novo (1989-1990)
125
+ :other: Brasilianske cruzado novo (1989-1990)
126
+ :BRR:
127
+ :one: Brasiliansk cruzeiro (1993-1994)
128
+ :other: Brasilianske cruzeiro (1993-1994)
129
+ :BSD:
130
+ :one: Bahamansk dollar
131
+ :other: Bahamanske dollar
132
+ :BTN:
133
+ :one: Bhutansk ngultrum
134
+ :other: Bhutanske ngultrum
135
+ :BUK:
136
+ :one: Burmesisk kyat
137
+ :other: Burmesiske kyat
138
+ :BWP:
139
+ :one: Botswansk pula
140
+ :other: Botswanske pula
141
+ :BYB:
142
+ :one: Hviderussisk rubel (1994-1999)
143
+ :other: Hviderussiske rubler (1994-1999)
144
+ :BYR:
145
+ :one: Hviderussisk rubel
146
+ :other: Hviderussiske rubler
147
+ :BZD:
148
+ :one: Belizisk dollar
149
+ :other: Beliziske dollar
150
+ :CAD:
151
+ :one: Canadisk dollar
152
+ :other: Canadiske dollar
153
+ :symbol: CA$
154
+ :CDF:
155
+ :one: Congolesisk franc
156
+ :other: Congolesiske franc
157
+ :CHE:
158
+ :one: WIR euro
159
+ :other: WIR euro
160
+ :CHF:
161
+ :one: Schweizisk franc
162
+ :other: Schweiziske franc
163
+ :CHW:
164
+ :one: WIR franc
165
+ :other: WIR franc
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
+ :CRC:
177
+ :one: Costaricansk colon
178
+ :other: Costaricanske colon
179
+ :CSD:
180
+ :one: Serbisk dinar (2002-2006)
181
+ :other: Serbiske dinar (2002-2006)
182
+ :CSK:
183
+ :one: Tjekkoslovakisk hard koruna
184
+ :other: Tjekkoslovakiske hard koruna
185
+ :CUC:
186
+ :one: Cubansk konvertible pesos
187
+ :other: Cubanske konvertible pesos
188
+ :CUP:
189
+ :one: Cubansk pesos
190
+ :other: Cubanske pesos
191
+ :CVE:
192
+ :one: Kapverdisk escudo
193
+ :other: Kapverdiske escudos
194
+ :CYP:
195
+ :one: Cypriotisk pund
196
+ :other: Cypriotiske pund
197
+ :CZK:
198
+ :one: Tjekkisk koruna
199
+ :other: Tjekkiske koruna
200
+ :DDM:
201
+ :one: Østtysk mark
202
+ :other: Østtyske mark
203
+ :DEM:
204
+ :one: Tysk mark
205
+ :other: Tyske mark
206
+ :DJF:
207
+ :one: Djiboutisk franc
208
+ :other: Djiboutiske franc
209
+ :DKK:
210
+ :one: Dansk krone
211
+ :other: Danske kroner
212
+ :symbol: kr
213
+ :DOP:
214
+ :one: Dominikansk peso
215
+ :other: Dominikanske pesos
216
+ :DZD:
217
+ :one: Algerisk dinar
218
+ :other: Algeriske dinarer
219
+ :ECS:
220
+ :one: Ecuadoriansk sucre
221
+ :other: Ecuadorianske sucre
222
+ :EEK:
223
+ :one: Estisk kroon
224
+ :other: Estiske kroon
225
+ :EGP:
226
+ :one: Egyptisk pund
227
+ :other: Egyptiske pund
228
+ :ERN:
229
+ :one: Eritreisk nakfa
230
+ :other: Eritreiske nakfa
231
+ :ESA:
232
+ :one: Spansk peseta (A-konto)
233
+ :other: Spanske peseta (A-konto)
234
+ :ESB:
235
+ :one: Spansk peseta (konvertibel konto)
236
+ :other: Spanske peseta (konvertibel konto)
237
+ :ESP:
238
+ :one: Spansk pesetas
239
+ :other: Spanske pesetas
240
+ :ETB:
241
+ :one: Etiopisk birr
242
+ :other: Etiopiske birr
243
+ :EUR:
244
+ :one: Euro
245
+ :other: Euro
246
+ :symbol: €
247
+ :FIM:
248
+ :one: Finsk mark
249
+ :other: Finske mark
250
+ :FJD:
251
+ :one: Fijiansk dollar
252
+ :other: Fijianske dollar
253
+ :FKP:
254
+ :one: Pund fra Falklandsøerne
255
+ :other: Pund fra Falklandsøerne
256
+ :FRF:
257
+ :one: Fransk franc
258
+ :other: Franske franc
259
+ :GBP:
260
+ :one: Britisk pund
261
+ :other: Britiske pund
262
+ :symbol: £
263
+ :GEK:
264
+ :one: Georgisk kupon larit
265
+ :other: Georgiske kupon larit
266
+ :GEL:
267
+ :one: Georgisk lari
268
+ :other: Georgiske lari
269
+ :GHC:
270
+ :one: Ghanesisk cedi (1979-2007)
271
+ :other: Ghanesiske cedi (1979-2007)
272
+ :GHS:
273
+ :one: Ghanesisk cedi
274
+ :other: Ghanesiske cedi
275
+ :GIP:
276
+ :one: Gibraltarisk pund
277
+ :other: Gibraltariske pund
278
+ :GMD:
279
+ :one: Gambisk dalasi
280
+ :other: Gambiske dalasi
281
+ :GNF:
282
+ :one: Guineansk franc
283
+ :other: Guineanske franc
284
+ :GNS:
285
+ :one: Guineansk syli
286
+ :other: Guineanske syli
287
+ :GQE:
288
+ :one: Ækvatorialguineask ekwele
289
+ :other: Ækvatorialguineaske ekwele
290
+ :GRD:
291
+ :one: Græsk drakmer
292
+ :other: Græske drakmer
293
+ :GTQ:
294
+ :one: Guatemalansk quetzal
295
+ :other: Guatemalanske quetzal
296
+ :GWE:
297
+ :one: Portugisiske guinea escudo
298
+ :other: Portugisiske guinea escudo
299
+ :GWP:
300
+ :one: Guinea-Bissau-peso
301
+ :other: Guinea-Bissau-pesos
302
+ :GYD:
303
+ :one: Guyansk dollar
304
+ :other: Guyanske dollar
305
+ :HKD:
306
+ :one: Hongkong dollar
307
+ :other: Hongkong dollar
308
+ :symbol: HK$
309
+ :HNL:
310
+ :one: Honduransk lempira
311
+ :other: Honduranske lempira
312
+ :HRD:
313
+ :one: Kroatisk dinar
314
+ :other: Kroatiske dinarer
315
+ :HRK:
316
+ :one: Kroatisk kuna
317
+ :other: Kroatiske kuna
318
+ :HTG:
319
+ :one: Haitisk gourde
320
+ :other: Haitiske gourde
321
+ :HUF:
322
+ :one: Ungarsk forint
323
+ :other: Ungarske forint
324
+ :IDR:
325
+ :one: Indonesisk rupiah
326
+ :other: Indonesiske rupiah
327
+ :IEP:
328
+ :one: Irsk pund
329
+ :other: Irske pund
330
+ :ILP:
331
+ :one: Israelsk pund
332
+ :other: Israelske pund
333
+ :ILS:
334
+ :one: Ny israelsk shekel
335
+ :other: Nye israelske shekel
336
+ :symbol: ₪
337
+ :INR:
338
+ :one: Indisk rupee
339
+ :other: Indiske rupees
340
+ :symbol: ₹
341
+ :IQD:
342
+ :one: Irakisk dinar
343
+ :other: Irakiske dinarer
344
+ :IRR:
345
+ :one: Iransk rial
346
+ :other: Iranske rial
347
+ :ISK:
348
+ :one: Islandsk krone
349
+ :other: Islandske kroner
350
+ :ITL:
351
+ :one: Italiensk lire
352
+ :other: Italienske lire
353
+ :JMD:
354
+ :one: Jamaicansk dollar
355
+ :other: Jamaicanske dollar
356
+ :JOD:
357
+ :one: Jordansk dinar
358
+ :other: Jordanske dinarer
359
+ :JPY:
360
+ :one: Japansk yen
361
+ :other: Japanske yen
362
+ :symbol: JP¥
363
+ :KES:
364
+ :one: Kenyansk shilling
365
+ :other: Kenyanske shilling
366
+ :KGS:
367
+ :one: Kirgisisk sum
368
+ :other: Kirgisiske som
369
+ :KHR:
370
+ :one: Cambodjansk riel
371
+ :other: Cambodjanske riel
372
+ :KMF:
373
+ :one: Comorisk franc
374
+ :other: Comoriske franc
375
+ :KPW:
376
+ :one: Nordkoreansk won
377
+ :other: Nordkoreanske won
378
+ :KRW:
379
+ :one: Sydkoreansk won
380
+ :other: Sydkoreanske won
381
+ :symbol: ₩
382
+ :KWD:
383
+ :one: Kuwaitisk dinar
384
+ :other: Kuwaitiske dinarer
385
+ :KYD:
386
+ :one: Dollar fra Caymanøerne
387
+ :other: Dollar fra Caymanøerne
388
+ :KZT:
389
+ :one: Kasakhisk tenge
390
+ :other: Kasakhiske tenge
391
+ :LAK:
392
+ :one: Laotisk kip
393
+ :other: Laotiske kip
394
+ :LBP:
395
+ :one: Libanesisk pund
396
+ :other: Libanesiske pund
397
+ :LKR:
398
+ :one: Srilankansk rupee
399
+ :other: Srilankanske rupees
400
+ :LRD:
401
+ :one: Liberisk dollar
402
+ :other: Liberiske dollar
403
+ :LSL:
404
+ :one: Lesothisk loti
405
+ :other: Lesothiske loti
406
+ :LTL:
407
+ :one: Litauisk lita
408
+ :other: Litauiske lita
409
+ :LTT:
410
+ :one: Litauisk talonas
411
+ :other: Litauiske talonas
412
+ :LUC:
413
+ :one: Luxembourgsk konvertibel franc
414
+ :other: Luxembourgsk konvertibel franc
415
+ :LUF:
416
+ :one: Luxembourgsk franc
417
+ :other: Luxembourgske franc
418
+ :LUL:
419
+ :one: Luxembourgsk finansiel franc
420
+ :other: Luxembourgsk finansiel franc
421
+ :LVL:
422
+ :one: Lettisk lat
423
+ :other: Lettiske lat
424
+ :LVR:
425
+ :one: Lettisk rubel
426
+ :other: Lettiske rubler
427
+ :LYD:
428
+ :one: Libysk dinar
429
+ :other: Libyske dinarer
430
+ :MAD:
431
+ :one: Marokkansk dirham
432
+ :other: Marokkanske dirham
433
+ :MAF:
434
+ :one: Marokkansk franc
435
+ :other: Marokkanske franc
436
+ :MDL:
437
+ :one: Moldovisk leu
438
+ :other: Moldoviske leu
439
+ :MGA:
440
+ :one: Madagaskisk ariary
441
+ :other: Madagaskiske ariary
442
+ :MGF:
443
+ :one: Madagaskisk franc
444
+ :other: Madagaskiske franc
445
+ :MKD:
446
+ :one: Makedonsk denar
447
+ :other: Makedonske denarer
448
+ :MLF:
449
+ :one: Malisk franc
450
+ :other: Maliske franc
451
+ :MMK:
452
+ :one: Myanmarsk kyat
453
+ :other: Myanmarske kyat
454
+ :MNT:
455
+ :one: Mongolsk tugrik
456
+ :other: Mongolske tugrik
457
+ :MOP:
458
+ :one: Macaosk pataca
459
+ :other: Macaoske pataca
460
+ :MRO:
461
+ :one: Mauritansk ouguiya
462
+ :other: Mauritanske ouguiya
463
+ :MTL:
464
+ :one: Maltesisk lira
465
+ :other: Maltesiske lira
466
+ :MTP:
467
+ :one: Maltesisk pund
468
+ :other: Maltesiske pund
469
+ :MUR:
470
+ :one: Mauritisk rupee
471
+ :other: Mauritiske rupees
472
+ :MVR:
473
+ :one: Maldivisk rufiyaa
474
+ :other: Maldiviske rufiyaa
475
+ :MWK:
476
+ :one: Malawisk kwacha
477
+ :other: Malawiske kwacha
478
+ :MXN:
479
+ :one: Mexicansk pesos
480
+ :other: Mexicanske pesos
481
+ :symbol: MX$
482
+ :MXP:
483
+ :one: Mexicansk silver peso (1861-1992)
484
+ :other: Mexicanske silver peso (1861-1992)
485
+ :MYR:
486
+ :one: Malaysisk ringgit
487
+ :other: Malaysiske ringgit
488
+ :MZE:
489
+ :one: Mozambiquisk escudo
490
+ :other: Mozambiquiske escudo
491
+ :MZM:
492
+ :one: Mozambiquisk metical (1980-2006)
493
+ :other: Mozambiquiske metical (1980-2006)
494
+ :MZN:
495
+ :one: Mozambiquisk metical
496
+ :other: Mozambiquiske metical
497
+ :NAD:
498
+ :one: Namibisk dollar
499
+ :other: Namibiske dollar
500
+ :NGN:
501
+ :one: Nigeriansk naira
502
+ :other: Nigerianske naira
503
+ :NIC:
504
+ :one: Nicaraguansk cordoba (1988-1991)
505
+ :other: Nicaraguanske cordoba (1988-1991)
506
+ :NIO:
507
+ :one: Nicaraguansk cordoba
508
+ :other: Nicaraguanske cordoba
509
+ :NLG:
510
+ :one: Hollandsk gylden
511
+ :other: Hollandske gylden
512
+ :NOK:
513
+ :one: Norsk krone
514
+ :other: Norske kroner
515
+ :NPR:
516
+ :one: Nepalesisk rupee
517
+ :other: Nepalesiske rupees
518
+ :NZD:
519
+ :one: New Zealandsk dollar
520
+ :other: New Zealandske dollar
521
+ :symbol: NZ$
522
+ :OMR:
523
+ :one: Omansk rial
524
+ :other: Omanske rial
525
+ :PAB:
526
+ :one: Panamansk balboa
527
+ :other: Panamanske balboa
528
+ :PEI:
529
+ :one: Peruviansk inti
530
+ :other: Peruvianske inti
531
+ :PEN:
532
+ :one: Peruviansk sol nuevo
533
+ :other: Peruvianske sol nuevo
534
+ :PES:
535
+ :one: Peruviansk sol (1863-1965)
536
+ :other: Peruvianske sol (1863-1965)
537
+ :PGK:
538
+ :one: Papuansk kina
539
+ :other: Papuanske kina
540
+ :PHP:
541
+ :one: Filippinsk pesos
542
+ :other: Filippinske pesos
543
+ :PKR:
544
+ :one: Pakistansk rupee
545
+ :other: Pakistanske rupees
546
+ :PLN:
547
+ :one: Polsk zloty
548
+ :other: Polske zloty
549
+ :PLZ:
550
+ :one: Polsk zloty (1950-1995)
551
+ :other: Polske zloty (1950-1995)
552
+ :PTE:
553
+ :one: Portugisisk escudo
554
+ :other: Portugisiske escudo
555
+ :PYG:
556
+ :one: Paraguayske guarani
557
+ :other: Paraguayske guarani
558
+ :QAR:
559
+ :one: Qatarsk rial
560
+ :other: Qatarske rial
561
+ :ROL:
562
+ :one: Rumænsk leu (1952-2006)
563
+ :other: Rumænske leu (1952-2006)
564
+ :RON:
565
+ :one: Rumænsk leu
566
+ :other: Rumænske leu
567
+ :RSD:
568
+ :one: Serbisk dinar
569
+ :other: Serbiske dinarer
570
+ :RUB:
571
+ :one: Russisk rubel
572
+ :other: Russiske rubler
573
+ :RUR:
574
+ :one: Russisk rubel (1991-1998)
575
+ :other: Russiske rubler (1991-1998)
576
+ :RWF:
577
+ :one: Rwandisk franc
578
+ :other: Rwandiske franc
579
+ :SAR:
580
+ :one: Saudisk riyal
581
+ :other: Saudiske riyal
582
+ :SBD:
583
+ :one: Salomonsk dollar
584
+ :other: Salomonske dollar
585
+ :SCR:
586
+ :one: Seychellisk rupee
587
+ :other: Seychelliske rupees
588
+ :SDD:
589
+ :one: Sudansk dinar (1992-2007)
590
+ :other: Sudanske dinar (1992-2007)
591
+ :SDG:
592
+ :one: Sudanske pund
593
+ :other: Sudanske pund
594
+ :SDP:
595
+ :one: Sudanske pund (1957-1998)
596
+ :other: Sudanske pund (1957-1998)
597
+ :SEK:
598
+ :one: Svensk krone
599
+ :other: Svenske kroner
600
+ :SGD:
601
+ :one: Singaporeansk dollar
602
+ :other: Singaporeanske dollar
603
+ :SHP:
604
+ :one: Pund fra Saint Helena
605
+ :other: Pund fra Saint Helena
606
+ :SIT:
607
+ :one: Slovensk tolar
608
+ :other: Slovenske tolar
609
+ :SKK:
610
+ :one: Slovakisk koruna
611
+ :other: Slovakiske koruna
612
+ :SLL:
613
+ :one: Sierraleonsk leone
614
+ :other: Sierraleonske leone
615
+ :SOS:
616
+ :one: Somalisk shilling
617
+ :other: Somaliske shilling
618
+ :SRD:
619
+ :one: Surinamsk dollar
620
+ :other: Surinamske dollar
621
+ :SRG:
622
+ :one: Surinamsk guilder
623
+ :other: Surinamske guilder
624
+ :SSP:
625
+ :one: Sydsudansk pund
626
+ :other: Sydsudanske pund
627
+ :STD:
628
+ :one: Dobra fra Sao Tome og Principe
629
+ :other: Dobra fra Sao Tome og Principe
630
+ :SUR:
631
+ :one: Sovjetisk rubel
632
+ :other: Sovjetiske rubler
633
+ :SVC:
634
+ :one: Salvadoransk colon
635
+ :other: Salvadoranske colon
636
+ :SYP:
637
+ :one: Syrisk pund
638
+ :other: Syriske pund
639
+ :SZL:
640
+ :one: Swazilandsk lilangeni
641
+ :other: Swazilandske lilangeni
642
+ :THB:
643
+ :one: Thailandsk baht
644
+ :other: Thailandske baht
645
+ :symbol: ฿
646
+ :TJR:
647
+ :one: Tadsjikisk rubel
648
+ :other: Tadsjikiske rubel
649
+ :TJS:
650
+ :one: Tadsjikisk somoni
651
+ :other: Tadsjikiske somoni
652
+ :TMM:
653
+ :one: Turkmensk manat (1993-2009)
654
+ :other: Turkmenske manat (1993-2009)
655
+ :TMT:
656
+ :one: Turkmensk manat
657
+ :other: Turkmenske manat
658
+ :TND:
659
+ :one: Tunesisk dinar
660
+ :other: Tunesiske dinarer
661
+ :TOP:
662
+ :one: Tongansk paʻanga
663
+ :other: Tonganske paʻanga
664
+ :TPE:
665
+ :one: Escudo fra Timor
666
+ :other: Escudo fra Timor
667
+ :TRL:
668
+ :one: Tyrkisk lire (1922-2005)
669
+ :other: Tyrkiske lire (1922-2005)
670
+ :TRY:
671
+ :one: Tyrkisk lira
672
+ :other: Tyrkiske lira
673
+ :TTD:
674
+ :one: Dollar fra Trinidad og Tobago
675
+ :other: Dollar fra Trinidad og Tobago
676
+ :TWD:
677
+ :one: Ny taiwansk dollar
678
+ :other: Ny taiwanske dollar
679
+ :symbol: NT$
680
+ :TZS:
681
+ :one: Tanzanisk shilling
682
+ :other: Tanzaniske shilling
683
+ :UAH:
684
+ :one: Ukrainsk grynia
685
+ :other: Ukrainske grynia
686
+ :UAK:
687
+ :one: Ukrainsk karbovanetz
688
+ :other: Ukrainske karbovanetz
689
+ :UGS:
690
+ :one: Ugandisk shilling (1966-1987)
691
+ :other: Ugandiske shilling (1966-1987)
692
+ :UGX:
693
+ :one: Ugandisk shilling
694
+ :other: Ugandiske shilling
695
+ :USD:
696
+ :one: Amerikansk dollar
697
+ :other: Amerikanske dollar
698
+ :symbol: $
699
+ :USN:
700
+ :one: Amerikansk dollar (næste dag)
701
+ :other: Amerikanske dollar (næste dag)
702
+ :USS:
703
+ :one: Amerikansk dollar (samme dag)
704
+ :other: Amerikanske dollar (samme dag)
705
+ :UYP:
706
+ :one: Uruguayansk peso (1975-1993)
707
+ :other: Uruguayanske peso (1975-1993)
708
+ :UYU:
709
+ :one: Uruguayansk peso
710
+ :other: Uruguayanske pesos
711
+ :UZS:
712
+ :one: Usbekisk sum
713
+ :other: Usbekiske sum
714
+ :VEB:
715
+ :one: Venezuelansk bolivar (1871-2008)
716
+ :other: Venezuelanske bolivar (1871-2008)
717
+ :VEF:
718
+ :one: Venezuelansk bolivar
719
+ :other: Venezuelanske bolivar
720
+ :VND:
721
+ :one: Vietnamesisk dong
722
+ :other: Vietnamesiske dong
723
+ :symbol: ₫
724
+ :VUV:
725
+ :one: Vanuaisk vatu
726
+ :other: Vanuaiske vatu
727
+ :WST:
728
+ :one: Samoansk tala
729
+ :other: Samoanske tala
730
+ :XAF:
731
+ :one: Beninsk CFA-franc
732
+ :other: Beninske CFA-franc
733
+ :symbol: FCFA
734
+ :XAG:
735
+ :one: Sølv
736
+ :XAU:
737
+ :one: Guld
738
+ :XBA:
739
+ :one: EURCO
740
+ :XBB:
741
+ :one: EMU
742
+ :XCD:
743
+ :one: Østkaribisk dollar
744
+ :other: Østkaribiske dollar
745
+ :symbol: EC$
746
+ :XDR:
747
+ :one: SDR
748
+ :XEU:
749
+ :one: ECU
750
+ :XFO:
751
+ :one: Fransk guldfranc
752
+ :other: Franske guldfranc
753
+ :XFU:
754
+ :one: Fransk UIC-franc
755
+ :other: Franske UIC-franc
756
+ :XOF:
757
+ :one: CFA-franc BCEAO
758
+ :other: CFA-franc BCEAO
759
+ :symbol: CFA
760
+ :XPD:
761
+ :one: Palladium
762
+ :XPF:
763
+ :one: CFP-franc
764
+ :other: CFP-franc
765
+ :symbol: CFPF
766
+ :XPT:
767
+ :one: Platin
768
+ :XRE:
769
+ :one: RINET-fond
770
+ :XTS:
771
+ :one: testvaluta
772
+ :other: testvaluta
773
+ :XXX:
774
+ :one: ukendt valuta
775
+ :other: ukendt valuta
776
+ :YDD:
777
+ :one: Yemenitisk dinar
778
+ :other: Yemenitiske dinarer
779
+ :YER:
780
+ :one: Yemenitisk rial
781
+ :other: Yemenitiske rial
782
+ :YUD:
783
+ :one: Jugoslavisk hard dinar (1966-1990)
784
+ :other: Jugoslaviske hard dinar (1966-1990)
785
+ :YUM:
786
+ :one: Jugoslavisk noviy dinar (1994-2002)
787
+ :other: Jugoslaviske noviy dinar (1994-2002)
788
+ :YUN:
789
+ :one: Jugoslavisk konvertibel dinar (1990-1992)
790
+ :other: Jugoslaviske konvertibel dinar (1990-1992)
791
+ :ZAL:
792
+ :one: Sydafrikansk rand (financial)
793
+ :other: Sydafrikanske rand (financial)
794
+ :ZAR:
795
+ :one: Sydafrikansk rand
796
+ :other: Sydafrikanske rand
797
+ :ZMK:
798
+ :one: Zambisk kwacha
799
+ :other: Zambiske kwacha
800
+ :ZRN:
801
+ :one: Ny zairisk zaire (1993-1998)
802
+ :other: Ny zairiske zaire (1993-1998)
803
+ :ZRZ:
804
+ :one: Zairisk zaire (1971-1993)
805
+ :other: Zairiske zaire (1971-1993)
806
+ :ZWD:
807
+ :one: Zimbabwisk dollar (1980-2008)
808
+ :other: Zimbabwiske dollar (1980-2008)
809
+ :ZWL:
810
+ :one: Zimbabwisk dollar (2009)
811
+ :other: Zimbabwiske dollar (2009)
812
+ :ZWR:
813
+ :one: Zimbabwisk dollar (2008)
814
+ :other: Zimbabwiske dollar (2008)