i18n_data 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (214) hide show
  1. checksums.yaml +5 -5
  2. data/cache/file_data_provider/countries-AB.txt +249 -0
  3. data/cache/file_data_provider/countries-AF.txt +141 -141
  4. data/cache/file_data_provider/countries-AK.txt +249 -0
  5. data/cache/file_data_provider/countries-AM.txt +165 -165
  6. data/cache/file_data_provider/countries-AN.txt +249 -0
  7. data/cache/file_data_provider/countries-AR.txt +133 -133
  8. data/cache/file_data_provider/countries-AS.txt +132 -132
  9. data/cache/file_data_provider/countries-AY.txt +249 -0
  10. data/cache/file_data_provider/countries-AZ.txt +139 -139
  11. data/cache/file_data_provider/countries-BA.txt +249 -0
  12. data/cache/file_data_provider/countries-BE.txt +136 -136
  13. data/cache/file_data_provider/countries-BG.txt +132 -132
  14. data/cache/file_data_provider/countries-BI.txt +249 -0
  15. data/cache/file_data_provider/countries-BN.txt +132 -132
  16. data/cache/file_data_provider/countries-BN_IN.txt +132 -132
  17. data/cache/file_data_provider/countries-BR.txt +163 -163
  18. data/cache/file_data_provider/countries-BS.txt +132 -132
  19. data/cache/file_data_provider/countries-CA.txt +132 -132
  20. data/cache/file_data_provider/countries-CE.txt +249 -0
  21. data/cache/file_data_provider/countries-CH.txt +249 -0
  22. data/cache/file_data_provider/countries-CS.txt +132 -132
  23. data/cache/file_data_provider/countries-CV.txt +249 -0
  24. data/cache/file_data_provider/countries-CY.txt +132 -132
  25. data/cache/file_data_provider/countries-DA.txt +132 -132
  26. data/cache/file_data_provider/countries-DE.txt +132 -132
  27. data/cache/file_data_provider/countries-DV.txt +249 -0
  28. data/cache/file_data_provider/countries-DZ.txt +133 -133
  29. data/cache/file_data_provider/countries-EE.txt +249 -0
  30. data/cache/file_data_provider/countries-EL.txt +142 -142
  31. data/cache/file_data_provider/countries-EN.txt +132 -132
  32. data/cache/file_data_provider/countries-EO.txt +132 -132
  33. data/cache/file_data_provider/countries-ES.txt +137 -137
  34. data/cache/file_data_provider/countries-ET.txt +132 -132
  35. data/cache/file_data_provider/countries-EU.txt +132 -132
  36. data/cache/file_data_provider/countries-FA.txt +133 -133
  37. data/cache/file_data_provider/countries-FF.txt +249 -0
  38. data/cache/file_data_provider/countries-FI.txt +132 -132
  39. data/cache/file_data_provider/countries-FO.txt +132 -132
  40. data/cache/file_data_provider/countries-FR.txt +133 -133
  41. data/cache/file_data_provider/countries-FY.txt +249 -0
  42. data/cache/file_data_provider/countries-GA.txt +132 -132
  43. data/cache/file_data_provider/countries-GL.txt +132 -132
  44. data/cache/file_data_provider/countries-GN.txt +249 -0
  45. data/cache/file_data_provider/countries-GU.txt +132 -132
  46. data/cache/file_data_provider/countries-GV.txt +249 -0
  47. data/cache/file_data_provider/countries-HA.txt +249 -0
  48. data/cache/file_data_provider/countries-HE.txt +134 -134
  49. data/cache/file_data_provider/countries-HI.txt +132 -132
  50. data/cache/file_data_provider/countries-HR.txt +133 -133
  51. data/cache/file_data_provider/countries-HT.txt +249 -0
  52. data/cache/file_data_provider/countries-HU.txt +134 -134
  53. data/cache/file_data_provider/countries-HY.txt +132 -132
  54. data/cache/file_data_provider/countries-IA.txt +132 -132
  55. data/cache/file_data_provider/countries-ID.txt +135 -135
  56. data/cache/file_data_provider/countries-IO.txt +249 -0
  57. data/cache/file_data_provider/countries-IS.txt +136 -136
  58. data/cache/file_data_provider/countries-IT.txt +132 -132
  59. data/cache/file_data_provider/countries-IU.txt +249 -0
  60. data/cache/file_data_provider/countries-JA.txt +132 -132
  61. data/cache/file_data_provider/countries-KA.txt +132 -132
  62. data/cache/file_data_provider/countries-KI.txt +249 -0
  63. data/cache/file_data_provider/countries-KK.txt +132 -132
  64. data/cache/file_data_provider/countries-KL.txt +249 -0
  65. data/cache/file_data_provider/countries-KM.txt +132 -132
  66. data/cache/file_data_provider/countries-KN.txt +132 -132
  67. data/cache/file_data_provider/countries-KO.txt +145 -145
  68. data/cache/file_data_provider/countries-KU.txt +133 -133
  69. data/cache/file_data_provider/countries-KV.txt +249 -0
  70. data/cache/file_data_provider/countries-KW.txt +249 -0
  71. data/cache/file_data_provider/countries-KY.txt +249 -0
  72. data/cache/file_data_provider/countries-LO.txt +249 -0
  73. data/cache/file_data_provider/countries-LT.txt +132 -132
  74. data/cache/file_data_provider/countries-LV.txt +131 -131
  75. data/cache/file_data_provider/countries-MI.txt +130 -130
  76. data/cache/file_data_provider/countries-MK.txt +132 -132
  77. data/cache/file_data_provider/countries-ML.txt +132 -132
  78. data/cache/file_data_provider/countries-MN.txt +145 -145
  79. data/cache/file_data_provider/countries-MR.txt +132 -132
  80. data/cache/file_data_provider/countries-MS.txt +136 -136
  81. data/cache/file_data_provider/countries-MT.txt +159 -159
  82. data/cache/file_data_provider/countries-MY.txt +249 -0
  83. data/cache/file_data_provider/countries-NA.txt +249 -0
  84. data/cache/file_data_provider/countries-NB.txt +132 -132
  85. data/cache/file_data_provider/countries-NE.txt +132 -132
  86. data/cache/file_data_provider/countries-NL.txt +133 -133
  87. data/cache/file_data_provider/countries-NN.txt +130 -130
  88. data/cache/file_data_provider/countries-NV.txt +249 -0
  89. data/cache/file_data_provider/countries-OC.txt +142 -142
  90. data/cache/file_data_provider/countries-OR.txt +132 -132
  91. data/cache/file_data_provider/countries-PA.txt +134 -134
  92. data/cache/file_data_provider/countries-PI.txt +249 -0
  93. data/cache/file_data_provider/countries-PL.txt +133 -133
  94. data/cache/file_data_provider/countries-PS.txt +171 -171
  95. data/cache/file_data_provider/countries-PT.txt +134 -134
  96. data/cache/file_data_provider/countries-PT_BR.txt +132 -132
  97. data/cache/file_data_provider/countries-RO.txt +132 -132
  98. data/cache/file_data_provider/countries-RU.txt +132 -132
  99. data/cache/file_data_provider/countries-RW.txt +134 -134
  100. data/cache/file_data_provider/countries-SC.txt +249 -0
  101. data/cache/file_data_provider/countries-SD.txt +249 -0
  102. data/cache/file_data_provider/countries-SI.txt +132 -132
  103. data/cache/file_data_provider/countries-SK.txt +132 -132
  104. data/cache/file_data_provider/countries-SL.txt +132 -132
  105. data/cache/file_data_provider/countries-SO.txt +142 -142
  106. data/cache/file_data_provider/countries-SQ.txt +133 -133
  107. data/cache/file_data_provider/countries-SR.txt +132 -132
  108. data/cache/file_data_provider/countries-SV.txt +131 -131
  109. data/cache/file_data_provider/countries-SW.txt +133 -133
  110. data/cache/file_data_provider/countries-TA.txt +133 -133
  111. data/cache/file_data_provider/countries-TE.txt +132 -132
  112. data/cache/file_data_provider/countries-TG.txt +249 -0
  113. data/cache/file_data_provider/countries-TH.txt +132 -132
  114. data/cache/file_data_provider/countries-TI.txt +141 -141
  115. data/cache/file_data_provider/countries-TK.txt +140 -140
  116. data/cache/file_data_provider/countries-TL.txt +133 -133
  117. data/cache/file_data_provider/countries-TR.txt +132 -132
  118. data/cache/file_data_provider/countries-TT.txt +132 -132
  119. data/cache/file_data_provider/countries-UG.txt +132 -132
  120. data/cache/file_data_provider/countries-UK.txt +137 -137
  121. data/cache/file_data_provider/countries-UR.txt +249 -0
  122. data/cache/file_data_provider/countries-UZ.txt +249 -0
  123. data/cache/file_data_provider/countries-VE.txt +137 -137
  124. data/cache/file_data_provider/countries-VI.txt +132 -132
  125. data/cache/file_data_provider/countries-WA.txt +132 -132
  126. data/cache/file_data_provider/countries-WO.txt +135 -135
  127. data/cache/file_data_provider/countries-XH.txt +132 -132
  128. data/cache/file_data_provider/countries-YO.txt +249 -0
  129. data/cache/file_data_provider/countries-ZH_CN.txt +132 -132
  130. data/cache/file_data_provider/countries-ZH_HK.txt +132 -132
  131. data/cache/file_data_provider/countries-ZH_TW.txt +133 -133
  132. data/cache/file_data_provider/countries-ZU.txt +154 -154
  133. data/cache/file_data_provider/languages-AF.txt +19 -20
  134. data/cache/file_data_provider/languages-AM.txt +20 -21
  135. data/cache/file_data_provider/languages-AR.txt +38 -39
  136. data/cache/file_data_provider/languages-AS.txt +20 -21
  137. data/cache/file_data_provider/languages-AZ.txt +20 -21
  138. data/cache/file_data_provider/languages-BE.txt +182 -183
  139. data/cache/file_data_provider/languages-BG.txt +18 -19
  140. data/cache/file_data_provider/languages-BN.txt +18 -19
  141. data/cache/file_data_provider/languages-BR.txt +19 -20
  142. data/cache/file_data_provider/languages-BS.txt +19 -20
  143. data/cache/file_data_provider/languages-CA.txt +32 -33
  144. data/cache/file_data_provider/languages-CS.txt +19 -20
  145. data/cache/file_data_provider/languages-CY.txt +21 -22
  146. data/cache/file_data_provider/languages-DA.txt +18 -19
  147. data/cache/file_data_provider/languages-DE.txt +21 -22
  148. data/cache/file_data_provider/languages-EL.txt +38 -39
  149. data/cache/file_data_provider/languages-EN.txt +20 -21
  150. data/cache/file_data_provider/languages-EO.txt +18 -19
  151. data/cache/file_data_provider/languages-ES.txt +22 -23
  152. data/cache/file_data_provider/languages-ET.txt +148 -149
  153. data/cache/file_data_provider/languages-EU.txt +18 -19
  154. data/cache/file_data_provider/languages-FA.txt +20 -21
  155. data/cache/file_data_provider/languages-FI.txt +18 -19
  156. data/cache/file_data_provider/languages-FR.txt +26 -28
  157. data/cache/file_data_provider/languages-GA.txt +18 -19
  158. data/cache/file_data_provider/languages-GL.txt +18 -19
  159. data/cache/file_data_provider/languages-GU.txt +20 -21
  160. data/cache/file_data_provider/languages-HE.txt +21 -22
  161. data/cache/file_data_provider/languages-HI.txt +19 -20
  162. data/cache/file_data_provider/languages-HR.txt +18 -19
  163. data/cache/file_data_provider/languages-HU.txt +24 -25
  164. data/cache/file_data_provider/languages-ID.txt +30 -31
  165. data/cache/file_data_provider/languages-IS.txt +38 -39
  166. data/cache/file_data_provider/languages-IT.txt +19 -20
  167. data/cache/file_data_provider/languages-JA.txt +18 -19
  168. data/cache/file_data_provider/languages-KN.txt +18 -19
  169. data/cache/file_data_provider/languages-KO.txt +20 -21
  170. data/cache/file_data_provider/languages-LT.txt +18 -19
  171. data/cache/file_data_provider/languages-LV.txt +18 -19
  172. data/cache/file_data_provider/languages-MI.txt +19 -20
  173. data/cache/file_data_provider/languages-MK.txt +19 -20
  174. data/cache/file_data_provider/languages-ML.txt +19 -20
  175. data/cache/file_data_provider/languages-MN.txt +18 -19
  176. data/cache/file_data_provider/languages-MR.txt +18 -19
  177. data/cache/file_data_provider/languages-MS.txt +22 -23
  178. data/cache/file_data_provider/languages-MT.txt +19 -20
  179. data/cache/file_data_provider/languages-NB.txt +20 -21
  180. data/cache/file_data_provider/languages-NL.txt +27 -28
  181. data/cache/file_data_provider/languages-NN.txt +18 -19
  182. data/cache/file_data_provider/languages-OC.txt +57 -58
  183. data/cache/file_data_provider/languages-OR.txt +18 -19
  184. data/cache/file_data_provider/languages-PA.txt +20 -21
  185. data/cache/file_data_provider/languages-PL.txt +19 -20
  186. data/cache/file_data_provider/languages-PS.txt +19 -20
  187. data/cache/file_data_provider/languages-PT.txt +22 -23
  188. data/cache/file_data_provider/languages-PT_BR.txt +37 -38
  189. data/cache/file_data_provider/languages-RO.txt +18 -19
  190. data/cache/file_data_provider/languages-RU.txt +21 -22
  191. data/cache/file_data_provider/languages-RW.txt +18 -19
  192. data/cache/file_data_provider/languages-SC.txt +184 -0
  193. data/cache/file_data_provider/languages-SK.txt +21 -22
  194. data/cache/file_data_provider/languages-SL.txt +18 -19
  195. data/cache/file_data_provider/languages-SR.txt +19 -20
  196. data/cache/file_data_provider/languages-SV.txt +39 -40
  197. data/cache/file_data_provider/languages-TA.txt +19 -20
  198. data/cache/file_data_provider/languages-TE.txt +18 -19
  199. data/cache/file_data_provider/languages-TH.txt +19 -20
  200. data/cache/file_data_provider/languages-TI.txt +19 -20
  201. data/cache/file_data_provider/languages-TR.txt +27 -28
  202. data/cache/file_data_provider/languages-TT.txt +19 -20
  203. data/cache/file_data_provider/languages-UK.txt +23 -24
  204. data/cache/file_data_provider/languages-VE.txt +19 -20
  205. data/cache/file_data_provider/languages-VI.txt +18 -19
  206. data/cache/file_data_provider/languages-WA.txt +18 -19
  207. data/cache/file_data_provider/languages-XH.txt +19 -20
  208. data/cache/file_data_provider/languages-ZH_CN.txt +18 -19
  209. data/cache/file_data_provider/languages-ZH_HK.txt +18 -19
  210. data/cache/file_data_provider/languages-ZH_TW.txt +19 -20
  211. data/cache/file_data_provider/languages-ZU.txt +19 -20
  212. data/lib/i18n_data/live_data_provider.rb +16 -17
  213. data/lib/i18n_data/version.rb +1 -1
  214. metadata +39 -3
@@ -2,11 +2,9 @@ AA;;阿法爾語
2
2
  AB;;亞布卡薩語
3
3
  AF;;南非語
4
4
  AK;;迦納語
5
- SQ;;阿爾巴尼亞語
6
5
  AM;;阿姆哈拉語
7
6
  AR;;阿拉伯語
8
7
  AN;;阿拉貢語
9
- HY;;亞美尼亞語
10
8
  AS;;阿薩姆語
11
9
  AV;;阿瓦爾語
12
10
  AE;;阿維斯塔語
@@ -14,46 +12,45 @@ AY;;亞摩拉語
14
12
  AZ;;亞塞拜然語
15
13
  BA;;巴什喀爾語
16
14
  BM;;班巴拉語
17
- EU;;巴斯克語
18
15
  BE;;白俄語
19
16
  BN;;孟加拉語
20
17
  BH;;比哈諸語言
21
18
  BI;;比斯拉馬語
19
+ BO;;藏語
22
20
  BS;;波士尼亞語
23
21
  BR;;布里敦語
24
22
  BG;;保加利亞語
25
- MY;;緬甸語
26
23
  CA;;加泰羅尼亞語
24
+ CS;;捷克語
27
25
  CH;;查莫羅語
28
26
  CE;;車臣語
29
- ZH;;漢語
30
27
  CU;;Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic
31
28
  CV;;楚瓦什語
32
29
  KW;;康沃爾語
33
30
  CO;;科西嘉語
34
31
  CR;;克里語
35
- CS;;捷克語
32
+ CY;;威爾斯語
36
33
  DA;;丹麥語
34
+ DE;;德語
37
35
  DV;;迪維西語
38
- NL;;荷蘭語
39
36
  DZ;;宗卡語(不丹)
37
+ EL;;現代希臘語 (1453-)
40
38
  EN;;英語
41
39
  EO;;世界語
42
40
  ET;;愛沙尼亞語
41
+ EU;;巴斯克語
43
42
  EE;;埃維語
44
43
  FO;;法羅群島語
44
+ FA;;波斯語
45
45
  FJ;;斐濟語
46
46
  FI;;芬蘭語
47
47
  FR;;法語
48
48
  FY;;西夫里斯蘭語
49
49
  FF;;富拉語
50
- KA;;喬治亞語
51
- DE;;德語
52
50
  GD;;蓋爾語
53
51
  GA;;愛爾蘭語
54
52
  GL;;加里斯亞語
55
53
  GV;;馬恩語
56
- EL;;現代希臘語 (1453-)
57
54
  GN;;瓜拉尼語(西印度)
58
55
  GU;;古吉拉特語
59
56
  HT;;克里奧爾語(海地)
@@ -64,8 +61,8 @@ HI;;印地語(北印度)
64
61
  HO;;希里莫圖語
65
62
  HR;;克羅埃西亞語
66
63
  HU;;匈牙利語
64
+ HY;;亞美尼亞語
67
65
  IG;;伊布語
68
- IS;;冰島語
69
66
  IO;;伊多語
70
67
  II;;四川彝語
71
68
  IU;;伊努特語
@@ -73,12 +70,14 @@ IE;;國際語
73
70
  IA;;拉丁國際語
74
71
  ID;;印尼語
75
72
  IK;;依努庇克語
73
+ IS;;冰島語
76
74
  IT;;義大利語
77
75
  JV;;爪哇語
78
76
  JA;;日語
79
77
  KL;;格陵蘭語
80
78
  KN;;卡納達語(西南印度)
81
79
  KS;;喀什米爾語
80
+ KA;;喬治亞語
82
81
  KR;;卡努里語
83
82
  KK;;哈薩克語
84
83
  KM;;中央高棉語
@@ -99,22 +98,23 @@ LT;;立陶宛語
99
98
  LB;;盧森堡語
100
99
  LU;;盧巴-加丹加語
101
100
  LG;;干達語
102
- MK;;馬其頓語
103
101
  MH;;馬紹爾語
104
102
  ML;;馬來亞拉姆語
105
- MI;;毛利語
106
103
  MR;;馬拉提語(中西印度)
107
- MS;;馬來語
104
+ MK;;馬其頓語
108
105
  MG;;馬達加斯加語
109
106
  MT;;馬爾他語
110
- MO;;摩爾達維亞語
111
107
  MN;;蒙古語
112
- NA;;諾魯語
108
+ MI;;毛利語
109
+ MS;;馬來語
110
+ MY;;緬甸語
111
+ NA;;諾魯
113
112
  NV;;納瓦霍語
114
113
  NR;;南恩德貝勒語
115
114
  ND;;北恩德貝勒語
116
115
  NG;;恩敦加語
117
116
  NE;;尼泊爾語
117
+ NL;;荷蘭語
118
118
  NN;;新挪威語
119
119
  NB;;書面挪威語
120
120
  NO;;挪威語
@@ -125,14 +125,13 @@ OR;;歐利亞語(印度)
125
125
  OM;;奧洛莫語
126
126
  OS;;奧塞提語
127
127
  PA;;旁遮普語
128
- FA;;波斯語
129
128
  PI;;巴利語
130
129
  PL;;波蘭語
131
130
  PT;;葡萄牙語
132
131
  PS;;普什圖語
133
132
  QU;;印加語
134
133
  RM;;里托羅曼語
135
- RO;;羅馬尼亞語
134
+ RO;;摩爾達維亞語
136
135
  RN;;克倫地語
137
136
  RU;;俄語
138
137
  SG;;桑戈語(中非)
@@ -147,6 +146,7 @@ SD;;信德語(印度)
147
146
  SO;;索馬利語
148
147
  ST;;南索托語
149
148
  ES;;西班牙語
149
+ SQ;;阿爾巴尼亞語
150
150
  SC;;薩丁尼亞語
151
151
  SR;;塞爾維亞語
152
152
  SS;;斯瓦齊語
@@ -160,7 +160,6 @@ TE;;特拉古語
160
160
  TG;;塔吉克語
161
161
  TL;;塔加拉語
162
162
  TH;;泰語
163
- BO;;藏語
164
163
  TI;;提格利尼亞語
165
164
  TO;;東加語(東加群島)
166
165
  TN;;茨瓦納語
@@ -175,11 +174,11 @@ UZ;;烏茲別克語
175
174
  VE;;溫達語
176
175
  VI;;越南語
177
176
  VO;;沃拉普克語
178
- CY;;威爾斯語
179
177
  WA;;瓦隆語(比利時)
180
178
  WO;;渥魯夫語
181
179
  XH;;科薩語
182
180
  YI;;意第緒語
183
181
  YO;;約魯巴語
184
182
  ZA;;壯語
183
+ ZH;;漢語
185
184
  ZU;;祖魯語
@@ -2,11 +2,9 @@ AA;;Afar
2
2
  AB;;Isi-Azerbaijani
3
3
  AF;;Isibhunu
4
4
  AK;;Isi-Azerbaijani
5
- SQ;;Isi-Azerbaijani
6
5
  AM;;isi-Arabhu
7
6
  AR;;isi-Arabhu
8
7
  AN;;Aragonese
9
- HY;;Isi-Romayinani
10
8
  AS;;Assamese
11
9
  AV;;isi-Arabhu
12
10
  AE;;Avestan
@@ -14,46 +12,45 @@ AY;;Aymara
14
12
  AZ;;Isi-Azerbaijani
15
13
  BA;;Bashkir
16
14
  BM;;Bambara
17
- EU;;Isi-Basque
18
15
  BE;;Isi-Buligariyana
19
16
  BN;;Bengali
20
17
  BH;;Isi-Koreyani
21
18
  BI;;Bislama
19
+ BO;;Tibetan
22
20
  BS;;Isi-Romayinani
23
21
  BR;;Isi-Bretoni
24
22
  BG;;Isi-Buligariyana
25
- MY;;Burmese
26
23
  CA;;Catalan; Valencian
24
+ CS;;Isi Czechiya
27
25
  CH;;Chamorro
28
26
  CE;;Isi Czechiya
29
- ZH;;Isi-Shayina
30
27
  CU;;Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic
31
28
  CV;;Chuvash
32
29
  KW;;Isi-Irishi
33
30
  CO;;Isi-Bosniyani
34
31
  CR;;isi-Grike
35
- CS;;Isi Czechiya
32
+ CY;;Isi Welsh
36
33
  DA;;Isi-Danishi
34
+ DE;;isi-Jalimani
37
35
  DV;;Divehi; Dhivehi; Maldivian
38
- NL;;Dutch; Flemish
39
36
  DZ;;Dzongkha
37
+ EL;;Greek, Modern (1453-)
40
38
  EN;;Isi-Ngisi (UK)
41
39
  EO;;Isi-Esperanto
42
40
  ET;;Isi-Estoniyani
41
+ EU;;Isi-Basque
43
42
  EE;;Ewe
44
43
  FO;;Faroese
44
+ FA;;Isi-Sebhiyani
45
45
  FJ;;Fijian
46
46
  FI;;Isi-Finishi
47
47
  FR;;Isi-Frentshi
48
48
  FY;;Isi-Ukraniyani
49
49
  FF;;Fulah
50
- KA;;isi-Jalimani
51
- DE;;isi-Jalimani
52
50
  GD;;Gaelic; Scottish Gaelic
53
51
  GA;;Isi-Irishi
54
52
  GL;;Isi-Galashiyani
55
53
  GV;;Manx
56
- EL;;Greek, Modern (1453-)
57
54
  GN;;Isi-Buligariyana
58
55
  GU;;Gujarati
59
56
  HT;;Haitian; Haitian Creole
@@ -64,8 +61,8 @@ HI;;Hindi
64
61
  HO;;Isi-Thekishi
65
62
  HR;;Isi-Croshiyani
66
63
  HU;;Isi-Hangariyani
64
+ HY;;Isi-Romayinani
67
65
  IG;;Igbo
68
- IS;;isi-Icilendikhi
69
66
  IO;;Ido
70
67
  II;;Isi-Lithuwaniya
71
68
  IU;;Inuktitut
@@ -73,12 +70,14 @@ IE;;Interlingue; Occidental
73
70
  IA;;Interlingua (International Auxiliary Language Association)
74
71
  ID;;Indoneshiya
75
72
  IK;;Inupiaq
73
+ IS;;isi-Icilendikhi
76
74
  IT;;Isi-Taliyane
77
75
  JV;;Isi-Jaliphani
78
76
  JA;;Isi-Jaliphani
79
77
  KL;;Kalaallisut; Greenlandic
80
78
  KN;;Kannada
81
79
  KS;;Kashmiri
80
+ KA;;isi-Jalimani
82
81
  KR;;isi-Kedishi
83
82
  KK;;Kazakh
84
83
  KM;;Central Khmer
@@ -99,40 +98,40 @@ LT;;Isi-Lithuwaniya
99
98
  LB;;Luxembourgish; Letzeburgesch
100
99
  LU;;Luba-Katanga
101
100
  LG;;Ganda
102
- MK;;Isi-Makhedoniya
103
101
  MH;;Isi-Malithalise
104
102
  ML;;Malayalam
105
- MI;;Isi-Mawori
106
103
  MR;;Isi-Mawori
107
- MS;;Malay
104
+ MK;;Isi-Makhedoniya
108
105
  MG;;Malagasy
109
106
  MT;;Isi-Malithalise
110
- MO;;Isi-Lavithiyani
111
107
  MN;;Isi-Makhedoniya
108
+ MI;;Isi-Mawori
109
+ MS;;Malay
110
+ MY;;Burmese
112
111
  NA;;Nauru
113
112
  NV;;Navajo; Navaho
114
113
  NR;;Ndebele, South; South Ndebele
115
114
  ND;;Ndebele, North; North Ndebele
116
115
  NG;;Isi-Bosniyani
117
116
  NE;;Nepali
117
+ NL;;Dutch; Flemish
118
118
  NN;;Isi-Nowejiyani (Nynorsk)
119
119
  NB;;Bokmål, Norwegian; Norwegian Bokmål
120
120
  NO;;Isi-Koreyani
121
121
  NY;;Chichewa; Chewa; Nyanja
122
- OC;;Occitan (post 1500)
122
+ OC;;Occitan (post 1500); Provençal
123
123
  OJ;;Ojibwa
124
124
  OR;;Oriya
125
125
  OM;;Oromo
126
126
  OS;;Isi-Rashiyani
127
127
  PA;;Panjabi; Punjabi
128
- FA;;Isi-Sebhiyani
129
128
  PI;;Isi-Pholishi
130
129
  PL;;Isi-Pholishi
131
130
  PT;;Isi-Phuthukesi
132
131
  PS;;Pushto; Pashto
133
132
  QU;;Quechua
134
133
  RM;;Isi-Romayinani
135
- RO;;Isi-Romayinani
134
+ RO;;Isi-Lavithiyani
136
135
  RN;;Rundi
137
136
  RU;;Isi-Rashiyani
138
137
  SG;;Sango
@@ -147,6 +146,7 @@ SD;;Sindhi
147
146
  SO;;Somali
148
147
  ST;;Sotho, Southern
149
148
  ES;;Spanish; Castilian
149
+ SQ;;Isi-Azerbaijani
150
150
  SC;;Isi-Makhedoniya
151
151
  SR;;Isi-Sebhiyani
152
152
  SS;;Swati
@@ -160,7 +160,6 @@ TE;;Telugu
160
160
  TG;;Isi-Thayi
161
161
  TL;;Tagalog
162
162
  TH;;Isi-Thayi
163
- BO;;Tibetan
164
163
  TI;;Isi-Thekishi
165
164
  TO;;Tonga (Tonga Islands)
166
165
  TN;;Tswana
@@ -175,11 +174,11 @@ UZ;;Uzbek
175
174
  VE;;Venda
176
175
  VI;;Isi-Vitheyinamise
177
176
  VO;;Volapük
178
- CY;;Isi Welsh
179
177
  WA;;Isi-Waloni
180
178
  WO;;Wolof
181
179
  XH;;Isi-Xhosa
182
180
  YI;;Yiddish
183
181
  YO;;Yoruba
184
182
  ZA;;Zhuang; Chuang
183
+ ZH;;Isi-Shayina
185
184
  ZU;;Isi-Zulu
@@ -1,20 +1,20 @@
1
- require 'open-uri'
2
- require 'rexml/document'
1
+ require 'json'
3
2
 
4
3
  module I18nData
5
4
  # fetches data online from debian git
6
5
  module LiveDataProvider
7
6
  extend self
8
7
 
9
- XML_CODES = {
10
- :countries => 'iso_3166/iso_3166.xml',
11
- :languages => 'iso_639/iso_639.xml'
8
+ JSON_CODES = {
9
+ :countries => 'data/iso_3166-1.json',
10
+ :languages => 'data/iso_639-2.json'
12
11
  }
12
+
13
13
  TRANSLATIONS = {
14
- :countries => 'iso_3166/',
15
- :languages => 'iso_639/'
14
+ :countries => 'iso_3166-1/',
15
+ :languages => 'iso_639-2/'
16
16
  }
17
- REPO = "git://anonscm.debian.org/iso-codes/pkg-iso-codes.git"
17
+ REPO = "https://salsa.debian.org/iso-codes-team/iso-codes.git"
18
18
  CLONE_DEST = "/tmp/i18n_data_iso_clone"
19
19
 
20
20
  def codes(type, language_code)
@@ -79,9 +79,9 @@ module I18nData
79
79
  def english_languages
80
80
  @english_languages ||= begin
81
81
  codes = {}
82
- xml(:languages).elements.each('*/iso_639_entry') do |entry|
83
- name = entry.attributes['name'].to_s
84
- code = entry.attributes['iso_639_1_code'].to_s.upcase
82
+ json(:languages)['639-2'].each do |entry|
83
+ name = entry['name'].to_s
84
+ code = entry['alpha_2'].to_s.upcase
85
85
  next if code.empty? or name.empty?
86
86
  codes[code] = name
87
87
  end
@@ -92,10 +92,9 @@ module I18nData
92
92
  def english_countries
93
93
  @english_countries ||= begin
94
94
  codes = {}
95
- xml(:countries).elements.each('*/iso_3166_entry') do |entry|
96
- name = entry.attributes['name'].to_s
97
- name = "Taiwan" if name == "Taiwan, Province of China"
98
- code = entry.attributes['alpha_2_code'].to_s.upcase
95
+ json(:countries)['3166-1'].each do |entry|
96
+ name = (entry['common_name'] || entry['name']).to_s
97
+ code = entry['alpha_2'].to_s.upcase
99
98
  codes[code] = name
100
99
  end
101
100
  codes
@@ -115,8 +114,8 @@ module I18nData
115
114
  File.read("#{CLONE_DEST}/#{url}")
116
115
  end
117
116
 
118
- def xml(type)
119
- REXML::Document.new(get(XML_CODES[type]))
117
+ def json(type)
118
+ JSON.parse(get(JSON_CODES[type]))
120
119
  end
121
120
  end
122
121
  end
@@ -1,3 +1,3 @@
1
1
  module I18nData
2
- VERSION = Version = "0.8.0"
2
+ VERSION = Version = "0.9.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-21 00:00:00.000000000 Z
11
+ date: 2018-12-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it
@@ -16,23 +16,34 @@ executables: []
16
16
  extensions: []
17
17
  extra_rdoc_files: []
18
18
  files:
19
+ - cache/file_data_provider/countries-AB.txt
19
20
  - cache/file_data_provider/countries-AF.txt
21
+ - cache/file_data_provider/countries-AK.txt
20
22
  - cache/file_data_provider/countries-AM.txt
23
+ - cache/file_data_provider/countries-AN.txt
21
24
  - cache/file_data_provider/countries-AR.txt
22
25
  - cache/file_data_provider/countries-AS.txt
26
+ - cache/file_data_provider/countries-AY.txt
23
27
  - cache/file_data_provider/countries-AZ.txt
28
+ - cache/file_data_provider/countries-BA.txt
24
29
  - cache/file_data_provider/countries-BE.txt
25
30
  - cache/file_data_provider/countries-BG.txt
31
+ - cache/file_data_provider/countries-BI.txt
26
32
  - cache/file_data_provider/countries-BN.txt
27
33
  - cache/file_data_provider/countries-BN_IN.txt
28
34
  - cache/file_data_provider/countries-BR.txt
29
35
  - cache/file_data_provider/countries-BS.txt
30
36
  - cache/file_data_provider/countries-CA.txt
37
+ - cache/file_data_provider/countries-CE.txt
38
+ - cache/file_data_provider/countries-CH.txt
31
39
  - cache/file_data_provider/countries-CS.txt
40
+ - cache/file_data_provider/countries-CV.txt
32
41
  - cache/file_data_provider/countries-CY.txt
33
42
  - cache/file_data_provider/countries-DA.txt
34
43
  - cache/file_data_provider/countries-DE.txt
44
+ - cache/file_data_provider/countries-DV.txt
35
45
  - cache/file_data_provider/countries-DZ.txt
46
+ - cache/file_data_provider/countries-EE.txt
36
47
  - cache/file_data_provider/countries-EL.txt
37
48
  - cache/file_data_provider/countries-EN.txt
38
49
  - cache/file_data_provider/countries-EO.txt
@@ -40,28 +51,42 @@ files:
40
51
  - cache/file_data_provider/countries-ET.txt
41
52
  - cache/file_data_provider/countries-EU.txt
42
53
  - cache/file_data_provider/countries-FA.txt
54
+ - cache/file_data_provider/countries-FF.txt
43
55
  - cache/file_data_provider/countries-FI.txt
44
56
  - cache/file_data_provider/countries-FO.txt
45
57
  - cache/file_data_provider/countries-FR.txt
58
+ - cache/file_data_provider/countries-FY.txt
46
59
  - cache/file_data_provider/countries-GA.txt
47
60
  - cache/file_data_provider/countries-GL.txt
61
+ - cache/file_data_provider/countries-GN.txt
48
62
  - cache/file_data_provider/countries-GU.txt
63
+ - cache/file_data_provider/countries-GV.txt
64
+ - cache/file_data_provider/countries-HA.txt
49
65
  - cache/file_data_provider/countries-HE.txt
50
66
  - cache/file_data_provider/countries-HI.txt
51
67
  - cache/file_data_provider/countries-HR.txt
68
+ - cache/file_data_provider/countries-HT.txt
52
69
  - cache/file_data_provider/countries-HU.txt
53
70
  - cache/file_data_provider/countries-HY.txt
54
71
  - cache/file_data_provider/countries-IA.txt
55
72
  - cache/file_data_provider/countries-ID.txt
73
+ - cache/file_data_provider/countries-IO.txt
56
74
  - cache/file_data_provider/countries-IS.txt
57
75
  - cache/file_data_provider/countries-IT.txt
76
+ - cache/file_data_provider/countries-IU.txt
58
77
  - cache/file_data_provider/countries-JA.txt
59
78
  - cache/file_data_provider/countries-KA.txt
79
+ - cache/file_data_provider/countries-KI.txt
60
80
  - cache/file_data_provider/countries-KK.txt
81
+ - cache/file_data_provider/countries-KL.txt
61
82
  - cache/file_data_provider/countries-KM.txt
62
83
  - cache/file_data_provider/countries-KN.txt
63
84
  - cache/file_data_provider/countries-KO.txt
64
85
  - cache/file_data_provider/countries-KU.txt
86
+ - cache/file_data_provider/countries-KV.txt
87
+ - cache/file_data_provider/countries-KW.txt
88
+ - cache/file_data_provider/countries-KY.txt
89
+ - cache/file_data_provider/countries-LO.txt
65
90
  - cache/file_data_provider/countries-LT.txt
66
91
  - cache/file_data_provider/countries-LV.txt
67
92
  - cache/file_data_provider/countries-MI.txt
@@ -71,13 +96,17 @@ files:
71
96
  - cache/file_data_provider/countries-MR.txt
72
97
  - cache/file_data_provider/countries-MS.txt
73
98
  - cache/file_data_provider/countries-MT.txt
99
+ - cache/file_data_provider/countries-MY.txt
100
+ - cache/file_data_provider/countries-NA.txt
74
101
  - cache/file_data_provider/countries-NB.txt
75
102
  - cache/file_data_provider/countries-NE.txt
76
103
  - cache/file_data_provider/countries-NL.txt
77
104
  - cache/file_data_provider/countries-NN.txt
105
+ - cache/file_data_provider/countries-NV.txt
78
106
  - cache/file_data_provider/countries-OC.txt
79
107
  - cache/file_data_provider/countries-OR.txt
80
108
  - cache/file_data_provider/countries-PA.txt
109
+ - cache/file_data_provider/countries-PI.txt
81
110
  - cache/file_data_provider/countries-PL.txt
82
111
  - cache/file_data_provider/countries-PS.txt
83
112
  - cache/file_data_provider/countries-PT.txt
@@ -85,6 +114,8 @@ files:
85
114
  - cache/file_data_provider/countries-RO.txt
86
115
  - cache/file_data_provider/countries-RU.txt
87
116
  - cache/file_data_provider/countries-RW.txt
117
+ - cache/file_data_provider/countries-SC.txt
118
+ - cache/file_data_provider/countries-SD.txt
88
119
  - cache/file_data_provider/countries-SI.txt
89
120
  - cache/file_data_provider/countries-SK.txt
90
121
  - cache/file_data_provider/countries-SL.txt
@@ -95,6 +126,7 @@ files:
95
126
  - cache/file_data_provider/countries-SW.txt
96
127
  - cache/file_data_provider/countries-TA.txt
97
128
  - cache/file_data_provider/countries-TE.txt
129
+ - cache/file_data_provider/countries-TG.txt
98
130
  - cache/file_data_provider/countries-TH.txt
99
131
  - cache/file_data_provider/countries-TI.txt
100
132
  - cache/file_data_provider/countries-TK.txt
@@ -103,11 +135,14 @@ files:
103
135
  - cache/file_data_provider/countries-TT.txt
104
136
  - cache/file_data_provider/countries-UG.txt
105
137
  - cache/file_data_provider/countries-UK.txt
138
+ - cache/file_data_provider/countries-UR.txt
139
+ - cache/file_data_provider/countries-UZ.txt
106
140
  - cache/file_data_provider/countries-VE.txt
107
141
  - cache/file_data_provider/countries-VI.txt
108
142
  - cache/file_data_provider/countries-WA.txt
109
143
  - cache/file_data_provider/countries-WO.txt
110
144
  - cache/file_data_provider/countries-XH.txt
145
+ - cache/file_data_provider/countries-YO.txt
111
146
  - cache/file_data_provider/countries-ZH_CN.txt
112
147
  - cache/file_data_provider/countries-ZH_HK.txt
113
148
  - cache/file_data_provider/countries-ZH_TW.txt
@@ -171,6 +206,7 @@ files:
171
206
  - cache/file_data_provider/languages-RO.txt
172
207
  - cache/file_data_provider/languages-RU.txt
173
208
  - cache/file_data_provider/languages-RW.txt
209
+ - cache/file_data_provider/languages-SC.txt
174
210
  - cache/file_data_provider/languages-SK.txt
175
211
  - cache/file_data_provider/languages-SL.txt
176
212
  - cache/file_data_provider/languages-SR.txt
@@ -214,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
250
  version: '0'
215
251
  requirements: []
216
252
  rubyforge_project:
217
- rubygems_version: 2.5.1
253
+ rubygems_version: 2.7.6
218
254
  signing_key:
219
255
  specification_version: 4
220
256
  summary: country/language names and 2-letter-code pairs, in 85 languages