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,4 @@
1
+ ---
2
+ :sr:
3
+ :layout:
4
+ :orientation: {}
@@ -0,0 +1,7 @@
1
+ ---
2
+ :sr:
3
+ :lists:
4
+ 2: ! '{0} и {1}'
5
+ :end: ! '{0} и {1}'
6
+ :middle: ! '{0}, {1}'
7
+ :start: ! '{0}, {1}'
@@ -0,0 +1,59 @@
1
+ ---
2
+ :sr:
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
+ :decimal:
14
+ :patterns:
15
+ :default: ! '#,##0.###'
16
+ :long:
17
+ 1000: 0 хиљада
18
+ 10000: 00 хиљада
19
+ 100000: 000 хиљада
20
+ 1000000: 0 милиона
21
+ 10000000: 00 милиона
22
+ 100000000: 000 милиона
23
+ 1000000000: 0 милијарди
24
+ 10000000000: 00 милијарди
25
+ 100000000000: 000 милијарди
26
+ 1000000000000: 0 трилиона
27
+ 10000000000000: 00 трилиона
28
+ 100000000000000: 000 трилиона
29
+ :short:
30
+ 1000: 0
31
+ 10000: 00 хиљ
32
+ 100000: 000 хиљ
33
+ 1000000: 0 мил
34
+ 10000000: 00 мил
35
+ 100000000: 000 мил
36
+ 1000000000: 0 млрд
37
+ 10000000000: 00 млрд
38
+ 100000000000: 000 млрд
39
+ 1000000000000: 0 бил
40
+ 10000000000000: 00 бил
41
+ 100000000000000: 000 бил
42
+ :percent:
43
+ :patterns:
44
+ :default: ! '#,##0%'
45
+ :scientific:
46
+ :patterns:
47
+ :default: ! '#E0'
48
+ :symbols:
49
+ :alias: ''
50
+ :decimal: ! ','
51
+ :exponential: E
52
+ :group: .
53
+ :infinity: ∞
54
+ :list: ;
55
+ :minus_sign: ! '-'
56
+ :nan: NaN
57
+ :per_mille: ‰
58
+ :percent_sign: ! '%'
59
+ :plus_sign: +
@@ -0,0 +1,5 @@
1
+ ---
2
+ :sr: ! '{ :sr => { :i18n => {:plural => { :keys => [:one, :few, :many, :other], :rule
3
+ => lambda { |n| n % 10 == 1 && n % 100 != 11 ? :one : [2, 3, 4].include?(n % 10)
4
+ && ![12, 13, 14].include?(n % 100) ? :few : n % 10 == 0 || [5, 6, 7, 8, 9].include?(n
5
+ % 10) || [11, 12, 13, 14].include?(n % 100) ? :many : :other } } } } }'
@@ -0,0 +1,164 @@
1
+ ---
2
+ :sr:
3
+ :units:
4
+ :day:
5
+ :default:
6
+ :few: ! '{0} дана'
7
+ :many: ! '{0} дана'
8
+ :one: ! '{0} дан'
9
+ :other: ! '{0} дан'
10
+ :short:
11
+ :few: ! '{0} дана'
12
+ :many: ! '{0} дана'
13
+ :one: ! '{0} дан'
14
+ :other: ! '{0} дан'
15
+ :day-future:
16
+ :default:
17
+ :few: за {0} дана
18
+ :many: за {0} дана
19
+ :one: за {0} дан
20
+ :other: за {0} дана
21
+ :day-past:
22
+ :default:
23
+ :few: пре {0} дана
24
+ :many: пре {0} дана
25
+ :one: пре {0} дан
26
+ :other: пре {0} дана
27
+ :hour:
28
+ :default:
29
+ :few: ! '{0} сата'
30
+ :many: ! '{0} сати'
31
+ :one: ! '{0} сат'
32
+ :other: ! '{0} сат'
33
+ :short:
34
+ :few: ! '{0} сата'
35
+ :many: ! '{0} сати'
36
+ :one: ! '{0} сат'
37
+ :other: ! '{0} сат'
38
+ :hour-future:
39
+ :default:
40
+ :few: за {0} сата
41
+ :many: за {0} сати
42
+ :one: за {0} сат
43
+ :other: за {0} сати
44
+ :hour-past:
45
+ :default:
46
+ :few: пре {0} сата
47
+ :many: пре {0} сати
48
+ :one: пре {0} сат
49
+ :other: пре {0} сати
50
+ :minute:
51
+ :default:
52
+ :few: ! '{0} минута'
53
+ :many: ! '{0} минута'
54
+ :one: ! '{0} минут'
55
+ :other: ! '{0} минут'
56
+ :short:
57
+ :few: ! '{0} мин'
58
+ :many: ! '{0} мин'
59
+ :one: ! '{0} мин'
60
+ :other: ! '{0} мин'
61
+ :minute-future:
62
+ :default:
63
+ :few: за {0} минута
64
+ :many: за {0} минута
65
+ :one: за {0} минут
66
+ :other: за {0} минута
67
+ :minute-past:
68
+ :default:
69
+ :few: пре {0} минута
70
+ :many: пре {0} минута
71
+ :one: пре {0} минут
72
+ :other: пре {0} минута
73
+ :month:
74
+ :default:
75
+ :few: ! '{0} месеца'
76
+ :many: ! '{0} месеци'
77
+ :one: ! '{0} месец'
78
+ :other: ! '{0} месец'
79
+ :short:
80
+ :few: ! '{0} мес'
81
+ :many: ! '{0} мес'
82
+ :one: ! '{0} мес'
83
+ :other: ! '{0} мес'
84
+ :month-future:
85
+ :default:
86
+ :few: за {0} месеца
87
+ :many: за {0} месеци
88
+ :one: за {0} месец
89
+ :other: за {0} месеци
90
+ :month-past:
91
+ :default:
92
+ :few: пре {0} месеца
93
+ :many: пре {0} месеци
94
+ :one: пре {0} месец
95
+ :other: пре {0} месеци
96
+ :second:
97
+ :default:
98
+ :few: ! '{0} секунде'
99
+ :many: ! '{0} секунди'
100
+ :one: ! '{0} секунда'
101
+ :other: ! '{0} секунда'
102
+ :short:
103
+ :few: ! '{0} сек'
104
+ :many: ! '{0} сек'
105
+ :one: ! '{0} сек'
106
+ :other: ! '{0} сек'
107
+ :second-future:
108
+ :default:
109
+ :few: за {0} секунде
110
+ :many: за {0} секунди
111
+ :one: за {0} секунд
112
+ :other: за {0} секунди
113
+ :second-past:
114
+ :default:
115
+ :few: пре {0} секунде
116
+ :many: пре {0} секунди
117
+ :one: пре {0} секунд
118
+ :other: пре {0} секунди
119
+ :week:
120
+ :default:
121
+ :few: ! '{0} недеље'
122
+ :many: ! '{0} недеља'
123
+ :one: ! '{0} недеља'
124
+ :other: ! '{0} недеља'
125
+ :short:
126
+ :few: ! '{0} нед'
127
+ :many: ! '{0} нед'
128
+ :one: ! '{0} нед'
129
+ :other: ! '{0} нед'
130
+ :week-future:
131
+ :default:
132
+ :few: за {0} недеље
133
+ :many: за {0} недеља
134
+ :one: за {0} недељу
135
+ :other: за {0} недеља
136
+ :week-past:
137
+ :default:
138
+ :few: пре {0} недеље
139
+ :many: пре {0} недеља
140
+ :one: пре {0} недељу
141
+ :other: пре {0} недеља
142
+ :year:
143
+ :default:
144
+ :few: ! '{0} године'
145
+ :many: ! '{0} година'
146
+ :one: ! '{0} година'
147
+ :other: ! '{0} година'
148
+ :short:
149
+ :few: ! '{0} год'
150
+ :many: ! '{0} год'
151
+ :one: ! '{0} год'
152
+ :other: ! '{0} год'
153
+ :year-future:
154
+ :default:
155
+ :few: за {0} године
156
+ :many: за {0} година
157
+ :one: за {0} годину
158
+ :other: за {0} година
159
+ :year-past:
160
+ :default:
161
+ :few: пре {0} године
162
+ :many: пре {0} година
163
+ :one: пре {0} годину
164
+ :other: пре {0} година
@@ -2,6 +2,41 @@
2
2
  :sv:
3
3
  :calendars:
4
4
  :gregorian:
5
+ :additional_formats:
6
+ :Ed: E d
7
+ :H: HH
8
+ :Hm: HH:mm
9
+ :Hms: HH:mm:ss
10
+ :M: L
11
+ :MEd: E d/M
12
+ :MMM: LLL
13
+ :MMMEd: E d MMM
14
+ :MMMMEd: E d:'e' MMMM
15
+ :MMMMd: d:'e' MMMM
16
+ :MMMd: d MMM
17
+ :MMd: d/M
18
+ :MMdd: dd/MM
19
+ :Md: d/M
20
+ :d: d
21
+ :h: h a
22
+ :hm: h:mm a
23
+ :hms: h:mm:ss a
24
+ :ms: mm:ss
25
+ :y: y
26
+ :yM: yyyy-MM
27
+ :yMEd: E, yyyy-MM-dd
28
+ :yMMM: MMM y
29
+ :yMMMEd: E d MMM y
30
+ :yMMMd: d MMM y
31
+ :yMd: yyyy-MM-dd
32
+ :yQQQ: y QQQ
33
+ :yQQQQ: y QQQQ
34
+ :yyMM: yy-MM
35
+ :yyMMM: MMM -yy
36
+ :yyQQQ: QQQ yy
37
+ :yyyyMM: yyyy-MM
38
+ :yyyyMMM: MMM y
39
+ :yyyyQQQQ: QQQQ y
5
40
  :days:
6
41
  :format:
7
42
  :abbreviated:
@@ -20,6 +55,14 @@
20
55
  :thu: T
21
56
  :tue: T
22
57
  :wed: O
58
+ :short:
59
+ :fri: fr
60
+ :mon: må
61
+ :sat: lö
62
+ :sun: sö
63
+ :thu: to
64
+ :tue: ti
65
+ :wed: true
23
66
  :wide:
24
67
  :fri: fredag
25
68
  :mon: måndag
@@ -45,6 +88,14 @@
45
88
  :thu: T
46
89
  :tue: T
47
90
  :wed: O
91
+ :short:
92
+ :fri: fr
93
+ :mon: må
94
+ :sat: lö
95
+ :sun: sö
96
+ :thu: to
97
+ :tue: ti
98
+ :wed: true
48
99
  :wide:
49
100
  :fri: fredag
50
101
  :mon: måndag
@@ -152,6 +203,7 @@
152
203
  1: jan
153
204
  10: okt
154
205
  11: nov
206
+ 12: dec
155
207
  2: feb
156
208
  3: mar
157
209
  4: apr
@@ -176,6 +228,8 @@
176
228
  :wide:
177
229
  1: januari
178
230
  10: oktober
231
+ 11: november
232
+ 12: december
179
233
  2: februari
180
234
  3: mars
181
235
  4: april
@@ -212,7 +266,11 @@
212
266
  2: K2
213
267
  3: K3
214
268
  4: K4
215
- :narrow: :calendars.gregorian.quarters.stand-alone.narrow
269
+ :narrow:
270
+ 1: 1
271
+ 2: 2
272
+ 3: 3
273
+ 4: 4
216
274
  :wide:
217
275
  1: 1:a kvartalet
218
276
  2: 2:a kvartalet
@@ -0,0 +1,919 @@
1
+ ---
2
+ :sv:
3
+ :currencies:
4
+ :ADP:
5
+ :one: andorransk peseta
6
+ :other: andorranska pesetas
7
+ :AED:
8
+ :one: Förenade Arabemiratens dirham
9
+ :other: Förenade Arabemiratens dirham
10
+ :AFA:
11
+ :one: afghani (1927-2002)
12
+ :other: afghani (1927-2002)
13
+ :AFN:
14
+ :one: afghani
15
+ :other: afghani
16
+ :ALK:
17
+ :one: albansk gammal lek
18
+ :other: albanska gamla lek
19
+ :ALL:
20
+ :one: albansk lek
21
+ :other: albanska lek
22
+ :AMD:
23
+ :one: armenisk dram
24
+ :other: armeniska dram
25
+ :ANG:
26
+ :one: Nederländska Antillernas gulden
27
+ :other: Nederländska Antillernas gulden
28
+ :AOA:
29
+ :one: angolansk kwanza
30
+ :other: angolanska kwanza
31
+ :AOK:
32
+ :one: angolansk kwanza (1977-1990)
33
+ :other: angolanska kwanza (1977-1990)
34
+ :AON:
35
+ :one: angolansk kwanza (1990-2000)
36
+ :other: angolanska nya kwanza (1990-2000)
37
+ :AOR:
38
+ :one: angolansk kwanza reajustado (1995-1999)
39
+ :other: angolanska kwanza reajustado (1995-1999)
40
+ :ARA:
41
+ :one: argentinsk austral
42
+ :other: argentinska australer
43
+ :ARL:
44
+ :one: argentisk peso (1970–1983)
45
+ :other: argentiska pesos (1970–1983)
46
+ :ARM:
47
+ :one: argentisk peso (1881-1969)
48
+ :other: argentiska pesos (1881-1969)
49
+ :ARP:
50
+ :one: argentinsk peso (1983-1985)
51
+ :other: argentinska pesos (1983-1985)
52
+ :ARS:
53
+ :one: argentinsk peso
54
+ :other: argentinska pesos
55
+ :ATS:
56
+ :one: österrikisk schilling
57
+ :other: österrikiska schilling
58
+ :AUD:
59
+ :one: australisk dollar
60
+ :other: australiska dollar
61
+ :symbol: AU$
62
+ :AWG:
63
+ :one: Aruba-florin
64
+ :other: Aruba-floriner
65
+ :AZM:
66
+ :one: azerbajdzjansk manat (1993-2006)
67
+ :other: azerbajdzjanska manat (1993-2006)
68
+ :AZN:
69
+ :one: azerbajdzjansk manat
70
+ :other: azerbajdzjansk manat
71
+ :BAD:
72
+ :one: bosnisk-hercegovinsk dinar
73
+ :other: bosnisk-hercegovinska dinarer
74
+ :BAM:
75
+ :one: bosnisk-hercegovinsk mark (konvertibel)
76
+ :other: bosnisk-hercegovinska mark (konvertibla)
77
+ :BAN:
78
+ :one: bosnisk-hercegovinsk dinar (1994-1998)
79
+ :other: bosnisk-hercegovinska dinarer (1994-1998)
80
+ :BBD:
81
+ :one: Barbados-dollar
82
+ :other: Barbados-dollar
83
+ :symbol: Bds$
84
+ :BDT:
85
+ :one: bangladeshisk taka
86
+ :other: bangladeshiska taka
87
+ :symbol: Tk
88
+ :BEC:
89
+ :one: belgisk franc (konvertibel)
90
+ :other: belgiska franc (konvertibla)
91
+ :BEF:
92
+ :one: belgisk franc
93
+ :other: belgiska franc
94
+ :BEL:
95
+ :one: belgisk franc (finansiell)
96
+ :other: belgiska franc (finansiella)
97
+ :BGL:
98
+ :one: bulgarisk hård lev (1962–1999)
99
+ :other: bulgariska hård lev (1962–1999)
100
+ :BGM:
101
+ :one: bulgarisk lev (1952–1962)
102
+ :other: bulgariska lev (1952–1962)
103
+ :BGN:
104
+ :one: bulgarisk lev
105
+ :other: bulgariska lev
106
+ :BGO:
107
+ :one: bulgarisk lev (1881–1952)
108
+ :other: bulgarisk lev (1881–1952)
109
+ :BHD:
110
+ :one: Bahrain-dinar
111
+ :other: Bahrain-dinar
112
+ :BIF:
113
+ :one: burundisk franc
114
+ :other: burundiska franc
115
+ :BMD:
116
+ :one: Bermuda-dollar
117
+ :other: Bermuda-dollar
118
+ :symbol: BM$
119
+ :BND:
120
+ :one: Brunei-dollar
121
+ :other: Brunei-dollar
122
+ :symbol: BN$
123
+ :BOB:
124
+ :one: boliviansk boliviano
125
+ :other: bolivianska bolivianos
126
+ :BOL:
127
+ :one: boliviansk boliviano (1864-1963)
128
+ :other: bolivianska bolivianos (1864-1963)
129
+ :BOP:
130
+ :one: boliviansk peso
131
+ :other: bolivianska pesos
132
+ :BOV:
133
+ :one: boliviansk mvdol
134
+ :other: bolivianska mvdol
135
+ :BRB:
136
+ :one: brasiliansk cruzeiro (1967-1986)
137
+ :other: brasilianska cruzeiro novo (1967-1986)
138
+ :BRC:
139
+ :one: brasiliansk cruzado
140
+ :other: brasilianska cruzado
141
+ :BRE:
142
+ :one: brasiliansk cruzeiro (1990-1993)
143
+ :other: brasilianska cruzeiro (1990-1993)
144
+ :BRL:
145
+ :one: brasiliansk real
146
+ :other: brasilianska real
147
+ :symbol: BR$
148
+ :BRN:
149
+ :one: brasiliansk cruzado novo
150
+ :other: brasilianska cruzado novo
151
+ :BRR:
152
+ :one: brasiliansk cruzeiro
153
+ :other: brasilianska cruzeiros
154
+ :BRZ:
155
+ :one: brasiliansk cruzeiro (1942-1967)
156
+ :other: brasilianska cruzeiros (1942-1967)
157
+ :BSD:
158
+ :one: Bahamas-dollar
159
+ :other: Bahamas-dollar
160
+ :symbol: BS$
161
+ :BTN:
162
+ :one: bhutanesisk ngultrum
163
+ :other: bhutanesiska ngultrum
164
+ :BUK:
165
+ :one: burmesisk kyat
166
+ :other: burmesiska kyat
167
+ :BWP:
168
+ :one: botswansk pula
169
+ :other: botswanska pula
170
+ :BYB:
171
+ :one: vitrysk rubel (1994-1999)
172
+ :other: vitryska nya rubel (1994-1999)
173
+ :BYR:
174
+ :one: vitrysk rubel
175
+ :other: vitryska rubel
176
+ :BZD:
177
+ :one: belizisk dollar
178
+ :other: belizisk dollar
179
+ :symbol: BZ$
180
+ :CAD:
181
+ :one: kanadensisk dollar
182
+ :other: kanadensiska dollar
183
+ :symbol: CAN$
184
+ :CDF:
185
+ :one: kongolesisk franc
186
+ :other: kongolesiska franc
187
+ :CHE:
188
+ :one: euro (WIR Bank)
189
+ :other: euro (konvertibelt konto, WIR Bank, Schweiz)
190
+ :CHF:
191
+ :one: schweizisk franc
192
+ :other: schweiziska franc
193
+ :CHW:
194
+ :one: franc (WIR Bank)
195
+ :other: franc (konvertibelt konto, WIR Bank, Schweiz)
196
+ :CLE:
197
+ :one: chilensk escudo (1960-1975)
198
+ :other: chilenska escudos (1960-1975)
199
+ :CLF:
200
+ :one: chilensk unidad de fomento
201
+ :other: chilenska unidad de fomento
202
+ :CLP:
203
+ :one: chilensk peso
204
+ :other: chilenska pesos
205
+ :CNX:
206
+ :one: kinesisk dollar
207
+ :other: kinesiska dollar
208
+ :CNY:
209
+ :one: kinesisk yuan renminbi
210
+ :other: kinesiska yuan renminbi
211
+ :symbol: CN¥
212
+ :COP:
213
+ :one: colombiansk peso
214
+ :other: colombianska pesos
215
+ :COU:
216
+ :one: colombiansk unidad de valor real
217
+ :other: colombianska unidad de valor real
218
+ :CRC:
219
+ :one: costarikansk colón
220
+ :other: costarikanska colón
221
+ :CSD:
222
+ :one: serbisk dinar (2002-2006)
223
+ :other: serbiska dinarer (2002-2006)
224
+ :CSK:
225
+ :one: tjeckoslovakisk hård koruna
226
+ :other: tjeckiska hårda koruna
227
+ :CUC:
228
+ :one: kubansk peso (konvertibel)
229
+ :other: kubanska pesos (konvertibla)
230
+ :CUP:
231
+ :one: kubansk peso
232
+ :other: kubanska pesos
233
+ :CVE:
234
+ :one: kapverdisk escudo
235
+ :other: kapverdiska escudos
236
+ :CYP:
237
+ :one: cypriotiskt pund
238
+ :other: cypriotiska pund
239
+ :CZK:
240
+ :one: tjeckisk koruna
241
+ :other: tjeckiska koruna
242
+ :DDM:
243
+ :one: östtysk mark
244
+ :other: östtyska mark
245
+ :DEM:
246
+ :one: tysk mark
247
+ :other: tyska mark
248
+ :DJF:
249
+ :one: djiboutisk franc
250
+ :other: djiboutiska franc
251
+ :DKK:
252
+ :one: dansk krona
253
+ :other: danska kronor
254
+ :symbol: Dkr
255
+ :DOP:
256
+ :one: dominikansk peso
257
+ :other: dominikanska pesos
258
+ :symbol: RD$
259
+ :DZD:
260
+ :one: algerisk dinar
261
+ :other: algeriska dinarer
262
+ :ECS:
263
+ :one: ecuadoriansk sucre
264
+ :other: ecuadorianska sucre
265
+ :ECV:
266
+ :one: ecuadoriansk unidad de valor constante
267
+ :other: ecuadorianska unidad de valor constante
268
+ :EEK:
269
+ :one: estnisk krona
270
+ :other: estniska kronor
271
+ :EGP:
272
+ :one: egyptiskt pund
273
+ :other: egyptiska pund
274
+ :symbol: EG£
275
+ :ERN:
276
+ :one: eritreansk nakfa
277
+ :other: eritreanska nakfa
278
+ :ESA:
279
+ :one: spansk peseta (konto)
280
+ :other: spanska pesetas (konto)
281
+ :ESB:
282
+ :one: spansk peseta (konvertibelt konto)
283
+ :other: spanska pesetas (konvertibelt konto)
284
+ :ESP:
285
+ :one: spansk peseta
286
+ :other: spanska pesetas
287
+ :ETB:
288
+ :one: etiopisk birr
289
+ :other: etiopiska birr
290
+ :EUR:
291
+ :one: euro
292
+ :other: euro
293
+ :symbol: €
294
+ :FIM:
295
+ :one: finsk mark
296
+ :other: finska mark
297
+ :FJD:
298
+ :one: Fiji-dollar
299
+ :other: Fiji-dollar
300
+ :FKP:
301
+ :one: Falklandsöarnas pund
302
+ :other: Falklandsöarnas pund
303
+ :FRF:
304
+ :one: fransk franc
305
+ :other: franska franc
306
+ :GBP:
307
+ :one: brittiskt pund sterling
308
+ :other: brittiska pund sterling
309
+ :symbol: GB£
310
+ :GEK:
311
+ :one: georgisk kupon larit
312
+ :other: georgiska kupon larit
313
+ :GEL:
314
+ :one: georgisk lari
315
+ :other: georgiska lari
316
+ :GHC:
317
+ :one: ghanansk cedi (1979-2007)
318
+ :other: ghananska cedi (1979-2007)
319
+ :GHS:
320
+ :one: ghanansk cedi
321
+ :other: ghananska cedi
322
+ :GIP:
323
+ :one: gibraltiskt pund
324
+ :other: gibraltiska pund
325
+ :GMD:
326
+ :one: gambisk dalasi
327
+ :other: gambiska dalasi
328
+ :GNF:
329
+ :one: guineansk franc
330
+ :other: guineanska franc
331
+ :GNS:
332
+ :one: guineansk syli
333
+ :other: guineanska syli
334
+ :GQE:
335
+ :one: ekvatorialguineansk ekwele
336
+ :other: ekvatorialguineanska ekweler
337
+ :GRD:
338
+ :one: grekisk drachma
339
+ :other: grekiska drachmer
340
+ :GTQ:
341
+ :one: guatemalansk quetzal
342
+ :other: guatemalanska quetzal
343
+ :GWE:
344
+ :one: Portugisiska Guinea-escudo
345
+ :other: Portugisiska Guinea-escudos
346
+ :GWP:
347
+ :one: Guinea-Bissau-peso
348
+ :other: Guinea-Bissau-pesos
349
+ :GYD:
350
+ :one: Guyana-dollar
351
+ :other: guyanska dollar
352
+ :symbol: GY$
353
+ :HKD:
354
+ :one: Hongkong-dollar
355
+ :other: Hongkong-dollar
356
+ :symbol: HK$
357
+ :HNL:
358
+ :one: honduransk lempira
359
+ :other: honduranska lempira
360
+ :HRD:
361
+ :one: kroatisk dinar
362
+ :other: kroatiska dinarer
363
+ :HRK:
364
+ :one: kroatisk kuna
365
+ :other: kroatiska kunor
366
+ :HTG:
367
+ :one: haitisk gourde
368
+ :other: haitiska gourder
369
+ :HUF:
370
+ :one: ungersk forint
371
+ :other: ungerska forinter
372
+ :IDR:
373
+ :one: indonesisk rupiah
374
+ :other: indonesiska rupier
375
+ :IEP:
376
+ :one: irländskt pund
377
+ :other: irländska pund
378
+ :ILP:
379
+ :one: israeliskt pund
380
+ :other: israeliska pund
381
+ :ILR:
382
+ :one: israelisk gammal shekel
383
+ :other: israeliska gamla shekel
384
+ :ILS:
385
+ :one: israelisk ny shekel
386
+ :other: israeliska nya shekel
387
+ :symbol: ₪
388
+ :INR:
389
+ :one: indisk rupie
390
+ :other: indiska rupier
391
+ :symbol: ₹
392
+ :IQD:
393
+ :one: irakisk dinar
394
+ :other: irakiska dinarer
395
+ :IRR:
396
+ :one: iransk rial
397
+ :other: iranska rial
398
+ :ISJ:
399
+ :one: isländsk gammal krona
400
+ :other: isländska kronor (1874–1981)
401
+ :ISK:
402
+ :one: isländsk krona
403
+ :other: isländska kronor
404
+ :symbol: Ikr
405
+ :ITL:
406
+ :one: italiensk lire
407
+ :other: italienska lire
408
+ :JMD:
409
+ :one: Jamaica-dollar
410
+ :other: Jamaica-dollar
411
+ :symbol: JM$
412
+ :JOD:
413
+ :one: jordansk dinar
414
+ :other: jordanska dinarer
415
+ :JPY:
416
+ :one: japansk yen
417
+ :other: japanska yen
418
+ :symbol: JP¥
419
+ :KES:
420
+ :one: kenyansk shilling
421
+ :other: kenyanska shilling
422
+ :KGS:
423
+ :one: kirgizisk som
424
+ :other: kirgiziska somer
425
+ :KHR:
426
+ :one: kambodjansk riel
427
+ :other: kambodjanska riel
428
+ :KMF:
429
+ :one: komorisk franc
430
+ :other: komoriska franc
431
+ :KPW:
432
+ :one: nordkoreansk won
433
+ :other: nordkoreanska won
434
+ :symbol: NK₩
435
+ :KRH:
436
+ :one: sydkoreansk hwan (1953-1962)
437
+ :other: sydkoreanska hwan (1953-1962)
438
+ :KRO:
439
+ :one: sydkoreansk won (1945-1953)
440
+ :other: sydkoreanska won (1945-1953)
441
+ :KRW:
442
+ :one: sydkoreansk won
443
+ :other: sydkoreanska won
444
+ :symbol: SK₩
445
+ :KWD:
446
+ :one: kuwaitisk dinar
447
+ :other: kuwaitiska dinarer
448
+ :KYD:
449
+ :one: Cayman-dollar
450
+ :other: Cayman-dollar
451
+ :KZT:
452
+ :one: kazakisk tenge
453
+ :other: kazakiska tenger
454
+ :LAK:
455
+ :one: laotisk kip
456
+ :other: laotiska kiper
457
+ :LBP:
458
+ :one: libanesiskt pund
459
+ :other: libanesiska pund
460
+ :LKR:
461
+ :one: srilankesisk rupie
462
+ :other: srilankesiska rupier
463
+ :LRD:
464
+ :one: Liberia-dollar
465
+ :other: Liberia-dollar
466
+ :LSL:
467
+ :one: lesothisk loti
468
+ :other: lesothiska lotier
469
+ :LTL:
470
+ :one: litauisk litas
471
+ :other: litauiska litas
472
+ :LTT:
473
+ :one: litauisk talonas
474
+ :other: litauiska talonas
475
+ :LUC:
476
+ :one: luxemburgsk franc (konvertibel)
477
+ :other: luxemburgska franc (konvertibla)
478
+ :LUF:
479
+ :one: luxemburgsk franc
480
+ :other: luxemburgska franc
481
+ :LUL:
482
+ :one: luxemburgsk franc (finansiell)
483
+ :other: luxemburgska franc (finansiella)
484
+ :LVL:
485
+ :one: lettisk lats
486
+ :other: lettiska lats
487
+ :symbol: Ls
488
+ :LVR:
489
+ :one: lettisk rubel
490
+ :other: lettiska rubel
491
+ :LYD:
492
+ :one: libysk dinar
493
+ :other: libyska dinarer
494
+ :MAD:
495
+ :one: marockansk dirham
496
+ :other: marockanska dirhamer
497
+ :MAF:
498
+ :one: marockansk franc
499
+ :other: marockanska franc
500
+ :MCF:
501
+ :one: monegaskisk franc (-2001)
502
+ :other: monegaskiska franc (-2001)
503
+ :MDC:
504
+ :one: moldavisk cupon (1992-1993)
505
+ :other: moldaviska cupon (1992-1993)
506
+ :MDL:
507
+ :one: moldavisk leu
508
+ :other: moldaviska leu
509
+ :MGA:
510
+ :one: madagaskisk ariary
511
+ :other: madagaskiska ariary
512
+ :MGF:
513
+ :one: madagaskisk franc
514
+ :other: madagaskiska franc
515
+ :MKD:
516
+ :one: makedonisk denar
517
+ :other: makedoniska denarer
518
+ :MKN:
519
+ :one: makedonisk denar (1992-1993)
520
+ :other: makedoniska denarer (1992-1993)
521
+ :MLF:
522
+ :one: malisk franc
523
+ :other: maliska franc
524
+ :MMK:
525
+ :one: myanmarisk kyat
526
+ :other: myanmariska kyat
527
+ :MNT:
528
+ :one: mongolisk tugrik
529
+ :other: mongoliska tugrik
530
+ :MOP:
531
+ :one: Macao-pataca
532
+ :other: Macao-pataca
533
+ :MRO:
534
+ :one: mauretansk ouguiya
535
+ :other: mauretanska ouguiya
536
+ :MTL:
537
+ :one: maltesisk lire
538
+ :other: maltesiska lire
539
+ :MTP:
540
+ :one: maltesiskt pund
541
+ :other: maltesiska pund
542
+ :MUR:
543
+ :one: mauritisk rupie
544
+ :other: mauritiska rupier
545
+ :MVR:
546
+ :one: maldivisk rufiyaa
547
+ :other: maldiviska rufiyer
548
+ :MWK:
549
+ :one: malawisk kwacha
550
+ :other: malawiska kwacha
551
+ :MXN:
552
+ :one: mexikansk peso
553
+ :other: mexikanska pesos
554
+ :symbol: MX$
555
+ :MXP:
556
+ :one: mexikansk silverpeso (1861-1992)
557
+ :other: mexikanska silverpesos (1861-1992)
558
+ :MXV:
559
+ :one: mexikansk unidad de inversion
560
+ :other: mexikanska unidad de inversion
561
+ :MYR:
562
+ :one: malaysisk ringgit
563
+ :other: malaysiska ringgiter
564
+ :MZE:
565
+ :one: moçambikisk escudo (1914–1980)
566
+ :other: moçambikiska escudos
567
+ :MZM:
568
+ :one: moçambikisk metical (1980-2006)
569
+ :other: gammla moçambikiska metical
570
+ :MZN:
571
+ :one: moçambikisk metical
572
+ :other: moçambikiska metical
573
+ :NAD:
574
+ :one: Namibia-dollar
575
+ :other: Namibia-dollar
576
+ :NGN:
577
+ :one: nigeriansk naira
578
+ :other: nigerianska naira
579
+ :NIC:
580
+ :one: nicaraguansk córdoba
581
+ :other: nicaraguanska córdoba
582
+ :NIO:
583
+ :one: nicaraguansk córdoba oro
584
+ :other: nicaraguanska córdoba oro
585
+ :NLG:
586
+ :one: nederländsk gulden
587
+ :other: nederländska gulden
588
+ :NOK:
589
+ :one: norsk krona
590
+ :other: norska kronor
591
+ :symbol: NKr
592
+ :NPR:
593
+ :one: nepalesisk rupie
594
+ :other: nepalesiska rupier
595
+ :NZD:
596
+ :one: nyzeeländsk dollar
597
+ :other: nyzeeländska dollar
598
+ :symbol: NZ$
599
+ :OMR:
600
+ :one: omansk rial
601
+ :other: omanska rial
602
+ :PAB:
603
+ :one: panamansk balboa
604
+ :other: panamanska balboa
605
+ :PEI:
606
+ :one: peruansk inti
607
+ :other: peruanska intier
608
+ :PEN:
609
+ :one: peruansk sol nuevo
610
+ :other: peruanska sol nuevo
611
+ :PES:
612
+ :one: peruansk sol
613
+ :other: peruanska sol
614
+ :PGK:
615
+ :one: papuansk kina
616
+ :other: papuanska kinor
617
+ :PHP:
618
+ :one: filippinsk peso
619
+ :other: filippinska pesos
620
+ :PKR:
621
+ :one: pakistansk rupie
622
+ :other: pakistanska rupier
623
+ :PLN:
624
+ :one: polsk zloty
625
+ :other: polska zloty
626
+ :PLZ:
627
+ :one: polsk zloty (1950-1995)
628
+ :other: polska zloty (1950-1995)
629
+ :PTE:
630
+ :one: portugisisk escudo
631
+ :other: portugisiska escudos
632
+ :PYG:
633
+ :one: paraguaysk guarani
634
+ :other: paraguayska guarani
635
+ :QAR:
636
+ :one: qatarisk rial
637
+ :other: qatariska rial
638
+ :RHD:
639
+ :one: rhodesisk dollar
640
+ :other: rhodesiska dollar
641
+ :ROL:
642
+ :one: rumänsk leu (1952-2005)
643
+ :other: rumänska leu (1952-2005)
644
+ :RON:
645
+ :one: rumänsk leu
646
+ :other: rumänska leu
647
+ :RSD:
648
+ :one: serbisk dinar
649
+ :other: serbiska dinarer
650
+ :RUB:
651
+ :one: rysk rubel
652
+ :other: ryska rubel
653
+ :RUR:
654
+ :one: rysk rubel (1991-1998)
655
+ :other: ryska rubel (1991-1998)
656
+ :RWF:
657
+ :one: rwandisk franc
658
+ :other: rwandiska franc
659
+ :SAR:
660
+ :one: saudisk riyal
661
+ :other: saudiska riyal
662
+ :SBD:
663
+ :one: Salomon-dollar
664
+ :other: Salomon-dollar
665
+ :SCR:
666
+ :one: seychellisk rupie
667
+ :other: seychelliska rupier
668
+ :SDD:
669
+ :one: sudansk dinar (1992-2007)
670
+ :other: sudanska dinarer (1992-2007)
671
+ :SDG:
672
+ :one: sudanskt pund
673
+ :other: sudanska pund
674
+ :SDP:
675
+ :one: sudanskt pund (1916-1992)
676
+ :other: sudanska pund (1916-1992)
677
+ :SEK:
678
+ :one: svensk krona
679
+ :other: svenska kronor
680
+ :symbol: kr
681
+ :SGD:
682
+ :one: Singapore-dollar
683
+ :other: Singapore-dollar
684
+ :SHP:
685
+ :one: S:t Helena-pund
686
+ :other: S:t Helena-pund
687
+ :SIT:
688
+ :one: slovensk tolar
689
+ :other: slovenska tolar
690
+ :SKK:
691
+ :one: slovakisk krona
692
+ :other: slovakiska korunor
693
+ :SLL:
694
+ :one: sierraleonsk leone
695
+ :other: sierraleonska leoner
696
+ :SOS:
697
+ :one: somalisk shilling
698
+ :other: somaliska shilling
699
+ :SRD:
700
+ :one: Surinam-dollar
701
+ :other: Surinam-dollar
702
+ :SRG:
703
+ :one: Surinam-gulden
704
+ :other: Surinam-gulden
705
+ :SSP:
706
+ :one: sydsudanskt pund
707
+ :other: sydsudanska pund
708
+ :STD:
709
+ :one: São Tomé och Príncipe-dobra
710
+ :other: São Tomé och Príncipe-dobror
711
+ :SUR:
712
+ :one: sovjetisk rubel
713
+ :other: sovjetiska rubler
714
+ :SVC:
715
+ :one: salvadoransk colón
716
+ :other: salvadoranska colón
717
+ :SYP:
718
+ :one: syriskt pund
719
+ :other: syriska pund
720
+ :SZL:
721
+ :one: swaziländsk lilangeni
722
+ :other: swaziländska lilangeni
723
+ :THB:
724
+ :one: thailändsk baht
725
+ :other: thailändska baht
726
+ :symbol: TH฿
727
+ :TJR:
728
+ :one: tadzjikisk rubel
729
+ :other: tadzjikiska rubler
730
+ :TJS:
731
+ :one: tadzjikisk somoni
732
+ :other: tadzjikiska somoni
733
+ :TMM:
734
+ :one: turkmenistansk manat (1993-2009)
735
+ :other: turkmenistanska manat (1993-2009)
736
+ :TMT:
737
+ :one: turkmenistansk manat
738
+ :other: turkmenistanska manat
739
+ :TND:
740
+ :one: tunisisk dinar
741
+ :other: tunisiska dinarer
742
+ :TOP:
743
+ :one: tongansk paʻanga
744
+ :other: tonganska paʻanga
745
+ :TPE:
746
+ :one: östtimoresisk escudo
747
+ :other: timorianska escudos
748
+ :TRL:
749
+ :one: gammal turkisk lira
750
+ :other: gamla turkiska lire
751
+ :TRY:
752
+ :one: turkisk lira
753
+ :other: turkiska lire
754
+ :TTD:
755
+ :one: Trinidad och Tobago-dollar
756
+ :other: Trinidad och Tobago-dollar
757
+ :TWD:
758
+ :one: Taiwan-dollar
759
+ :other: taiwanesiska nya dollar
760
+ :symbol: TW$
761
+ :TZS:
762
+ :one: tanzanisk shilling
763
+ :other: tanzaniska shilling
764
+ :UAH:
765
+ :one: ukrainsk hryvnia
766
+ :other: ukrainska hryvnia
767
+ :UAK:
768
+ :one: ukrainsk karbovanetz (1992–1996)
769
+ :other: ukrainska karbovanetz (1992–1996)
770
+ :UGS:
771
+ :one: ugandisk shilling (1966-1987)
772
+ :other: ugandiska shilling (1966-1987)
773
+ :UGX:
774
+ :one: ugandisk shilling
775
+ :other: ugandiska shilling
776
+ :USD:
777
+ :one: US-dollar
778
+ :other: US-dollar
779
+ :symbol: US$
780
+ :USN:
781
+ :one: US-dollar (nästa dag)
782
+ :other: US-dollar (nästa dag)
783
+ :USS:
784
+ :one: US-dollar (samma dag)
785
+ :other: US-dollar (samma dag)
786
+ :UYI:
787
+ :one: uruguayansk peso en unidades indexadas
788
+ :other: uruguayanska pesos en unidades indexadas
789
+ :UYP:
790
+ :one: uruguayansk peso (1975-1993)
791
+ :other: uruguayanska pesos (1975-1993)
792
+ :UYU:
793
+ :one: uruguayansk peso
794
+ :other: uruguayanska pesos
795
+ :UZS:
796
+ :one: uzbekisk sum
797
+ :other: uzbekiska sum
798
+ :VEB:
799
+ :one: venezuelansk bolivar (1871-2008)
800
+ :other: venezuelanska bolivar (1871-2008)
801
+ :VEF:
802
+ :one: venezuelansk bolivar
803
+ :other: venezuelanska bolivar
804
+ :VND:
805
+ :one: vietnamesisk dong
806
+ :other: vietnamesiska dong
807
+ :symbol: VN₫
808
+ :VNN:
809
+ :one: vietnamesisk dong (1978-1985)
810
+ :other: vietnamesiska dong (1978-1985)
811
+ :VUV:
812
+ :one: vanuatisk vatu
813
+ :other: vanuatiska vatu
814
+ :WST:
815
+ :one: västsamoansk tala
816
+ :other: västsamoanska tala
817
+ :XAF:
818
+ :one: centralafrikansk franc
819
+ :other: centralafrikanska franc
820
+ :symbol: FCFA
821
+ :XAG:
822
+ :one: uns silver
823
+ :other: silveruns
824
+ :XAU:
825
+ :one: uns guld
826
+ :other: gulduns
827
+ :XBA:
828
+ :one: europeisk gammal kompositenhet
829
+ :other: europeiska kompositenheter
830
+ :XBB:
831
+ :one: europeisk gammal monetär enhet
832
+ :other: europeiska monetära enheter
833
+ :XBC:
834
+ :one: europeisk gammal kontoenhet-9
835
+ :other: europeiska kontoenheter (XBC)
836
+ :XBD:
837
+ :one: europeisk kontoenhet (XBD)
838
+ :other: europeiska kontoenheter (XBD)
839
+ :XCD:
840
+ :one: östkaribisk dollar
841
+ :other: östkaribiska dollar
842
+ :symbol: EC$
843
+ :XDR:
844
+ :one: IMF särskild dragningsrätt
845
+ :other: IMF särskilda dragningsrätter
846
+ :XEU:
847
+ :one: europeisk valutaenhet
848
+ :other: europeiska valutaenheter
849
+ :XFO:
850
+ :one: fransk guldfranc
851
+ :other: franska guldfranc
852
+ :XFU:
853
+ :one: internationella järnvägsunionens franc
854
+ :other: internationella järnvägsunionens franc
855
+ :XOF:
856
+ :one: västafrikansk franc
857
+ :other: västafrikanska franc
858
+ :symbol: CFA
859
+ :XPD:
860
+ :one: uns palladium
861
+ :other: palladium
862
+ :XPF:
863
+ :one: Stilla Havet-franc
864
+ :other: Stilla Havet-franc
865
+ :symbol: CFPF
866
+ :XPT:
867
+ :one: uns platina
868
+ :other: platina
869
+ :XRE:
870
+ :one: RINET-fond
871
+ :other: RINET-fond
872
+ :XTS:
873
+ :one: (valutakod för teständamål)
874
+ :other: test-valutakod
875
+ :XXX:
876
+ :one: okänd/ogiltig valuta
877
+ :other: okänd eller ogiltig valuta
878
+ :YDD:
879
+ :one: jemenitisk dinar
880
+ :other: jemenitiska dinarer
881
+ :YER:
882
+ :one: jemenitisk rial
883
+ :other: jemenitiska rial
884
+ :YUD:
885
+ :one: jugoslavisk hård dinar
886
+ :other: jugoslaviska hårda dinarer
887
+ :YUM:
888
+ :one: jugoslavisk ny dinar
889
+ :other: jugoslaviska nya dinarer
890
+ :YUN:
891
+ :one: jugoslavisk dinar (konvertibel)
892
+ :other: jugoslaviska dinarer (konvertibla)
893
+ :YUR:
894
+ :one: jugoslavisk dinar (1992-1993)
895
+ :other: jugoslaviska dinarer (1992-1993)
896
+ :ZAL:
897
+ :one: sydafrikansk rand (finansiell)
898
+ :other: sydafrikanska rand (finansiella)
899
+ :ZAR:
900
+ :one: sydafrikansk rand
901
+ :other: sydafrikanska rand
902
+ :ZMK:
903
+ :one: zambisk kwacha
904
+ :other: zambiska kwacha
905
+ :ZRN:
906
+ :one: zaïrisk ny zaïre
907
+ :other: zaïriska nya zaïre
908
+ :ZRZ:
909
+ :one: zaïrisk zaïre
910
+ :other: zaïriska zaïre
911
+ :ZWD:
912
+ :one: Zimbabwe-dollar
913
+ :other: Zimbabwe-dollar
914
+ :ZWL:
915
+ :one: Zimbabwe-dollar (2009)
916
+ :other: Zimbabwe-dollar (2009)
917
+ :ZWR:
918
+ :one: Zimbabwe-dollar (2008)
919
+ :other: Zimbabwe-dollar (2008)