dm_core 4.2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (522) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +22 -0
  3. data/README.md +25 -0
  4. data/Rakefile +34 -0
  5. data/app/assets/images/dm_core/draft_menu_bg.png +0 -0
  6. data/app/assets/images/dm_core/expand.png +0 -0
  7. data/app/assets/images/dm_core/flags/ad.gif +0 -0
  8. data/app/assets/images/dm_core/flags/ae.gif +0 -0
  9. data/app/assets/images/dm_core/flags/af.gif +0 -0
  10. data/app/assets/images/dm_core/flags/ag.gif +0 -0
  11. data/app/assets/images/dm_core/flags/ai.gif +0 -0
  12. data/app/assets/images/dm_core/flags/al.gif +0 -0
  13. data/app/assets/images/dm_core/flags/am.gif +0 -0
  14. data/app/assets/images/dm_core/flags/an.gif +0 -0
  15. data/app/assets/images/dm_core/flags/ao.gif +0 -0
  16. data/app/assets/images/dm_core/flags/ar.gif +0 -0
  17. data/app/assets/images/dm_core/flags/as.gif +0 -0
  18. data/app/assets/images/dm_core/flags/at.gif +0 -0
  19. data/app/assets/images/dm_core/flags/au.gif +0 -0
  20. data/app/assets/images/dm_core/flags/aw.gif +0 -0
  21. data/app/assets/images/dm_core/flags/ax.gif +0 -0
  22. data/app/assets/images/dm_core/flags/az.gif +0 -0
  23. data/app/assets/images/dm_core/flags/ba.gif +0 -0
  24. data/app/assets/images/dm_core/flags/bb.gif +0 -0
  25. data/app/assets/images/dm_core/flags/bd.gif +0 -0
  26. data/app/assets/images/dm_core/flags/be.gif +0 -0
  27. data/app/assets/images/dm_core/flags/bf.gif +0 -0
  28. data/app/assets/images/dm_core/flags/bg.gif +0 -0
  29. data/app/assets/images/dm_core/flags/bh.gif +0 -0
  30. data/app/assets/images/dm_core/flags/bi.gif +0 -0
  31. data/app/assets/images/dm_core/flags/bj.gif +0 -0
  32. data/app/assets/images/dm_core/flags/bm.gif +0 -0
  33. data/app/assets/images/dm_core/flags/bn.gif +0 -0
  34. data/app/assets/images/dm_core/flags/bo.gif +0 -0
  35. data/app/assets/images/dm_core/flags/br.gif +0 -0
  36. data/app/assets/images/dm_core/flags/bs.gif +0 -0
  37. data/app/assets/images/dm_core/flags/bt.gif +0 -0
  38. data/app/assets/images/dm_core/flags/bv.gif +0 -0
  39. data/app/assets/images/dm_core/flags/bw.gif +0 -0
  40. data/app/assets/images/dm_core/flags/by.gif +0 -0
  41. data/app/assets/images/dm_core/flags/bz.gif +0 -0
  42. data/app/assets/images/dm_core/flags/ca.gif +0 -0
  43. data/app/assets/images/dm_core/flags/cc.gif +0 -0
  44. data/app/assets/images/dm_core/flags/cd.gif +0 -0
  45. data/app/assets/images/dm_core/flags/cf.gif +0 -0
  46. data/app/assets/images/dm_core/flags/cg.gif +0 -0
  47. data/app/assets/images/dm_core/flags/ch.gif +0 -0
  48. data/app/assets/images/dm_core/flags/ci.gif +0 -0
  49. data/app/assets/images/dm_core/flags/ck.gif +0 -0
  50. data/app/assets/images/dm_core/flags/cl.gif +0 -0
  51. data/app/assets/images/dm_core/flags/cm.gif +0 -0
  52. data/app/assets/images/dm_core/flags/cn.gif +0 -0
  53. data/app/assets/images/dm_core/flags/co.gif +0 -0
  54. data/app/assets/images/dm_core/flags/cr.gif +0 -0
  55. data/app/assets/images/dm_core/flags/cs.gif +0 -0
  56. data/app/assets/images/dm_core/flags/cu.gif +0 -0
  57. data/app/assets/images/dm_core/flags/cv.gif +0 -0
  58. data/app/assets/images/dm_core/flags/cx.gif +0 -0
  59. data/app/assets/images/dm_core/flags/cy.gif +0 -0
  60. data/app/assets/images/dm_core/flags/cz.gif +0 -0
  61. data/app/assets/images/dm_core/flags/de.gif +0 -0
  62. data/app/assets/images/dm_core/flags/dj.gif +0 -0
  63. data/app/assets/images/dm_core/flags/dk.gif +0 -0
  64. data/app/assets/images/dm_core/flags/dm.gif +0 -0
  65. data/app/assets/images/dm_core/flags/do.gif +0 -0
  66. data/app/assets/images/dm_core/flags/dz.gif +0 -0
  67. data/app/assets/images/dm_core/flags/ec.gif +0 -0
  68. data/app/assets/images/dm_core/flags/ee.gif +0 -0
  69. data/app/assets/images/dm_core/flags/eg.gif +0 -0
  70. data/app/assets/images/dm_core/flags/eh.gif +0 -0
  71. data/app/assets/images/dm_core/flags/en.gif +0 -0
  72. data/app/assets/images/dm_core/flags/england.gif +0 -0
  73. data/app/assets/images/dm_core/flags/er.gif +0 -0
  74. data/app/assets/images/dm_core/flags/es.gif +0 -0
  75. data/app/assets/images/dm_core/flags/et.gif +0 -0
  76. data/app/assets/images/dm_core/flags/fam.gif +0 -0
  77. data/app/assets/images/dm_core/flags/fi.gif +0 -0
  78. data/app/assets/images/dm_core/flags/fj.gif +0 -0
  79. data/app/assets/images/dm_core/flags/fk.gif +0 -0
  80. data/app/assets/images/dm_core/flags/fm.gif +0 -0
  81. data/app/assets/images/dm_core/flags/fo.gif +0 -0
  82. data/app/assets/images/dm_core/flags/fr.gif +0 -0
  83. data/app/assets/images/dm_core/flags/ga.gif +0 -0
  84. data/app/assets/images/dm_core/flags/gb.gif +0 -0
  85. data/app/assets/images/dm_core/flags/gd.gif +0 -0
  86. data/app/assets/images/dm_core/flags/ge.gif +0 -0
  87. data/app/assets/images/dm_core/flags/gh.gif +0 -0
  88. data/app/assets/images/dm_core/flags/gi.gif +0 -0
  89. data/app/assets/images/dm_core/flags/gl.gif +0 -0
  90. data/app/assets/images/dm_core/flags/gm.gif +0 -0
  91. data/app/assets/images/dm_core/flags/gn.gif +0 -0
  92. data/app/assets/images/dm_core/flags/gp.gif +0 -0
  93. data/app/assets/images/dm_core/flags/gq.gif +0 -0
  94. data/app/assets/images/dm_core/flags/gr.gif +0 -0
  95. data/app/assets/images/dm_core/flags/gs.gif +0 -0
  96. data/app/assets/images/dm_core/flags/gt.gif +0 -0
  97. data/app/assets/images/dm_core/flags/gu.gif +0 -0
  98. data/app/assets/images/dm_core/flags/gw.gif +0 -0
  99. data/app/assets/images/dm_core/flags/gy.gif +0 -0
  100. data/app/assets/images/dm_core/flags/hk.gif +0 -0
  101. data/app/assets/images/dm_core/flags/hn.gif +0 -0
  102. data/app/assets/images/dm_core/flags/hr.gif +0 -0
  103. data/app/assets/images/dm_core/flags/ht.gif +0 -0
  104. data/app/assets/images/dm_core/flags/hu.gif +0 -0
  105. data/app/assets/images/dm_core/flags/id.gif +0 -0
  106. data/app/assets/images/dm_core/flags/ie.gif +0 -0
  107. data/app/assets/images/dm_core/flags/il.gif +0 -0
  108. data/app/assets/images/dm_core/flags/in.gif +0 -0
  109. data/app/assets/images/dm_core/flags/io.gif +0 -0
  110. data/app/assets/images/dm_core/flags/iq.gif +0 -0
  111. data/app/assets/images/dm_core/flags/ir.gif +0 -0
  112. data/app/assets/images/dm_core/flags/is.gif +0 -0
  113. data/app/assets/images/dm_core/flags/it.gif +0 -0
  114. data/app/assets/images/dm_core/flags/ja.gif +0 -0
  115. data/app/assets/images/dm_core/flags/jm.gif +0 -0
  116. data/app/assets/images/dm_core/flags/jo.gif +0 -0
  117. data/app/assets/images/dm_core/flags/ke.gif +0 -0
  118. data/app/assets/images/dm_core/flags/kg.gif +0 -0
  119. data/app/assets/images/dm_core/flags/kh.gif +0 -0
  120. data/app/assets/images/dm_core/flags/ki.gif +0 -0
  121. data/app/assets/images/dm_core/flags/km.gif +0 -0
  122. data/app/assets/images/dm_core/flags/kn.gif +0 -0
  123. data/app/assets/images/dm_core/flags/kp.gif +0 -0
  124. data/app/assets/images/dm_core/flags/kr.gif +0 -0
  125. data/app/assets/images/dm_core/flags/kw.gif +0 -0
  126. data/app/assets/images/dm_core/flags/ky.gif +0 -0
  127. data/app/assets/images/dm_core/flags/kz.gif +0 -0
  128. data/app/assets/images/dm_core/flags/la.gif +0 -0
  129. data/app/assets/images/dm_core/flags/lb.gif +0 -0
  130. data/app/assets/images/dm_core/flags/lc.gif +0 -0
  131. data/app/assets/images/dm_core/flags/li.gif +0 -0
  132. data/app/assets/images/dm_core/flags/lk.gif +0 -0
  133. data/app/assets/images/dm_core/flags/lr.gif +0 -0
  134. data/app/assets/images/dm_core/flags/ls.gif +0 -0
  135. data/app/assets/images/dm_core/flags/lt.gif +0 -0
  136. data/app/assets/images/dm_core/flags/lu.gif +0 -0
  137. data/app/assets/images/dm_core/flags/lv.gif +0 -0
  138. data/app/assets/images/dm_core/flags/ly.gif +0 -0
  139. data/app/assets/images/dm_core/flags/ma.gif +0 -0
  140. data/app/assets/images/dm_core/flags/mc.gif +0 -0
  141. data/app/assets/images/dm_core/flags/md.gif +0 -0
  142. data/app/assets/images/dm_core/flags/mg.gif +0 -0
  143. data/app/assets/images/dm_core/flags/mh.gif +0 -0
  144. data/app/assets/images/dm_core/flags/mk.gif +0 -0
  145. data/app/assets/images/dm_core/flags/ml.gif +0 -0
  146. data/app/assets/images/dm_core/flags/mm.gif +0 -0
  147. data/app/assets/images/dm_core/flags/mn.gif +0 -0
  148. data/app/assets/images/dm_core/flags/mo.gif +0 -0
  149. data/app/assets/images/dm_core/flags/mp.gif +0 -0
  150. data/app/assets/images/dm_core/flags/mq.gif +0 -0
  151. data/app/assets/images/dm_core/flags/mr.gif +0 -0
  152. data/app/assets/images/dm_core/flags/ms.gif +0 -0
  153. data/app/assets/images/dm_core/flags/mt.gif +0 -0
  154. data/app/assets/images/dm_core/flags/mu.gif +0 -0
  155. data/app/assets/images/dm_core/flags/mv.gif +0 -0
  156. data/app/assets/images/dm_core/flags/mw.gif +0 -0
  157. data/app/assets/images/dm_core/flags/mx.gif +0 -0
  158. data/app/assets/images/dm_core/flags/my.gif +0 -0
  159. data/app/assets/images/dm_core/flags/mz.gif +0 -0
  160. data/app/assets/images/dm_core/flags/na.gif +0 -0
  161. data/app/assets/images/dm_core/flags/nc.gif +0 -0
  162. data/app/assets/images/dm_core/flags/ne.gif +0 -0
  163. data/app/assets/images/dm_core/flags/nf.gif +0 -0
  164. data/app/assets/images/dm_core/flags/ng.gif +0 -0
  165. data/app/assets/images/dm_core/flags/ni.gif +0 -0
  166. data/app/assets/images/dm_core/flags/nl.gif +0 -0
  167. data/app/assets/images/dm_core/flags/no.gif +0 -0
  168. data/app/assets/images/dm_core/flags/np.gif +0 -0
  169. data/app/assets/images/dm_core/flags/nr.gif +0 -0
  170. data/app/assets/images/dm_core/flags/nu.gif +0 -0
  171. data/app/assets/images/dm_core/flags/nz.gif +0 -0
  172. data/app/assets/images/dm_core/flags/om.gif +0 -0
  173. data/app/assets/images/dm_core/flags/pa.gif +0 -0
  174. data/app/assets/images/dm_core/flags/pe.gif +0 -0
  175. data/app/assets/images/dm_core/flags/pf.gif +0 -0
  176. data/app/assets/images/dm_core/flags/pg.gif +0 -0
  177. data/app/assets/images/dm_core/flags/ph.gif +0 -0
  178. data/app/assets/images/dm_core/flags/pk.gif +0 -0
  179. data/app/assets/images/dm_core/flags/pl.gif +0 -0
  180. data/app/assets/images/dm_core/flags/pm.gif +0 -0
  181. data/app/assets/images/dm_core/flags/pn.gif +0 -0
  182. data/app/assets/images/dm_core/flags/pr.gif +0 -0
  183. data/app/assets/images/dm_core/flags/ps.gif +0 -0
  184. data/app/assets/images/dm_core/flags/pt.gif +0 -0
  185. data/app/assets/images/dm_core/flags/pw.gif +0 -0
  186. data/app/assets/images/dm_core/flags/py.gif +0 -0
  187. data/app/assets/images/dm_core/flags/qa.gif +0 -0
  188. data/app/assets/images/dm_core/flags/ro.gif +0 -0
  189. data/app/assets/images/dm_core/flags/ru.gif +0 -0
  190. data/app/assets/images/dm_core/flags/rw.gif +0 -0
  191. data/app/assets/images/dm_core/flags/sa.gif +0 -0
  192. data/app/assets/images/dm_core/flags/sb.gif +0 -0
  193. data/app/assets/images/dm_core/flags/sc.gif +0 -0
  194. data/app/assets/images/dm_core/flags/scotland.gif +0 -0
  195. data/app/assets/images/dm_core/flags/sd.gif +0 -0
  196. data/app/assets/images/dm_core/flags/se.gif +0 -0
  197. data/app/assets/images/dm_core/flags/sg.gif +0 -0
  198. data/app/assets/images/dm_core/flags/sh.gif +0 -0
  199. data/app/assets/images/dm_core/flags/si.gif +0 -0
  200. data/app/assets/images/dm_core/flags/sk.gif +0 -0
  201. data/app/assets/images/dm_core/flags/sl.gif +0 -0
  202. data/app/assets/images/dm_core/flags/sm.gif +0 -0
  203. data/app/assets/images/dm_core/flags/sn.gif +0 -0
  204. data/app/assets/images/dm_core/flags/so.gif +0 -0
  205. data/app/assets/images/dm_core/flags/sr.gif +0 -0
  206. data/app/assets/images/dm_core/flags/st.gif +0 -0
  207. data/app/assets/images/dm_core/flags/sv.gif +0 -0
  208. data/app/assets/images/dm_core/flags/sy.gif +0 -0
  209. data/app/assets/images/dm_core/flags/sz.gif +0 -0
  210. data/app/assets/images/dm_core/flags/tc.gif +0 -0
  211. data/app/assets/images/dm_core/flags/td.gif +0 -0
  212. data/app/assets/images/dm_core/flags/tf.gif +0 -0
  213. data/app/assets/images/dm_core/flags/tg.gif +0 -0
  214. data/app/assets/images/dm_core/flags/th.gif +0 -0
  215. data/app/assets/images/dm_core/flags/tj.gif +0 -0
  216. data/app/assets/images/dm_core/flags/tk.gif +0 -0
  217. data/app/assets/images/dm_core/flags/tl.gif +0 -0
  218. data/app/assets/images/dm_core/flags/tm.gif +0 -0
  219. data/app/assets/images/dm_core/flags/tn.gif +0 -0
  220. data/app/assets/images/dm_core/flags/to.gif +0 -0
  221. data/app/assets/images/dm_core/flags/tr.gif +0 -0
  222. data/app/assets/images/dm_core/flags/tt.gif +0 -0
  223. data/app/assets/images/dm_core/flags/tv.gif +0 -0
  224. data/app/assets/images/dm_core/flags/tw.gif +0 -0
  225. data/app/assets/images/dm_core/flags/tz.gif +0 -0
  226. data/app/assets/images/dm_core/flags/ua.gif +0 -0
  227. data/app/assets/images/dm_core/flags/ug.gif +0 -0
  228. data/app/assets/images/dm_core/flags/um.gif +0 -0
  229. data/app/assets/images/dm_core/flags/us.gif +0 -0
  230. data/app/assets/images/dm_core/flags/uy.gif +0 -0
  231. data/app/assets/images/dm_core/flags/uz.gif +0 -0
  232. data/app/assets/images/dm_core/flags/va.gif +0 -0
  233. data/app/assets/images/dm_core/flags/vc.gif +0 -0
  234. data/app/assets/images/dm_core/flags/ve.gif +0 -0
  235. data/app/assets/images/dm_core/flags/vg.gif +0 -0
  236. data/app/assets/images/dm_core/flags/vi.gif +0 -0
  237. data/app/assets/images/dm_core/flags/vn.gif +0 -0
  238. data/app/assets/images/dm_core/flags/vu.gif +0 -0
  239. data/app/assets/images/dm_core/flags/wales.gif +0 -0
  240. data/app/assets/images/dm_core/flags/wf.gif +0 -0
  241. data/app/assets/images/dm_core/flags/ws.gif +0 -0
  242. data/app/assets/images/dm_core/flags/ye.gif +0 -0
  243. data/app/assets/images/dm_core/flags/yt.gif +0 -0
  244. data/app/assets/images/dm_core/flags/za.gif +0 -0
  245. data/app/assets/images/dm_core/flags/zm.gif +0 -0
  246. data/app/assets/images/dm_core/flags/zw.gif +0 -0
  247. data/app/assets/images/dm_core/user.gif +0 -0
  248. data/app/assets/javascripts/dm_core/admin.js +223 -0
  249. data/app/assets/javascripts/dm_core/admin_extra.js.coffee +118 -0
  250. data/app/assets/javascripts/dm_core/application.js +14 -0
  251. data/app/assets/javascripts/dm_core/common_js.js.coffee +61 -0
  252. data/app/assets/javascripts/dm_core/underscore-1.4.4-min.js +1 -0
  253. data/app/assets/javascripts/dm_core/underscore-1.4.4.js +1227 -0
  254. data/app/assets/stylesheets/dm_core/admin.css +250 -0
  255. data/app/assets/stylesheets/dm_core/application.css +31 -0
  256. data/app/assets/stylesheets/dm_core/font-awesome.css +1479 -0
  257. data/app/assets/stylesheets/dm_core/font/FontAwesome.otf +0 -0
  258. data/app/assets/stylesheets/dm_core/font/fontawesome-webfont.eot +0 -0
  259. data/app/assets/stylesheets/dm_core/font/fontawesome-webfont.svg +399 -0
  260. data/app/assets/stylesheets/dm_core/font/fontawesome-webfont.ttf +0 -0
  261. data/app/assets/stylesheets/dm_core/font/fontawesome-webfont.woff +0 -0
  262. data/app/controllers/dm_core/admin/accounts_controller.rb +125 -0
  263. data/app/controllers/dm_core/admin/admin_controller.rb +133 -0
  264. data/app/controllers/dm_core/admin/comments_controller.rb +70 -0
  265. data/app/controllers/dm_core/admin/dashboard_controller.rb +38 -0
  266. data/app/controllers/dm_core/admin/system_controller.rb +44 -0
  267. data/app/controllers/dm_core/admin/users_controller.rb +106 -0
  268. data/app/controllers/dm_core/application_controller.rb +253 -0
  269. data/app/controllers/dm_core/concerns/profile_controller.rb +41 -0
  270. data/app/controllers/dm_core/profile_controller.rb +8 -0
  271. data/app/datatables/user_datatable.rb +75 -0
  272. data/app/helpers/devise_helper.rb +25 -0
  273. data/app/helpers/dm_core/account_helper.rb +70 -0
  274. data/app/helpers/dm_core/admin/application_helper.rb +23 -0
  275. data/app/helpers/dm_core/application_helper.rb +58 -0
  276. data/app/helpers/dm_core/liquid_helper.rb +79 -0
  277. data/app/helpers/dm_core/params_helper.rb +19 -0
  278. data/app/helpers/dm_core/render_helper.rb +104 -0
  279. data/app/helpers/dm_core/url_helper.rb +189 -0
  280. data/app/helpers/dm_utilities/currency_helper.rb +24 -0
  281. data/app/helpers/dm_utilities/date_helper.rb +72 -0
  282. data/app/inputs/code_editor_input.rb +51 -0
  283. data/app/inputs/text_full_width_input.rb +9 -0
  284. data/app/inputs/toggle_checked_input.rb +9 -0
  285. data/app/inputs/toggle_input.rb +9 -0
  286. data/app/mailers/dm_core/site_mailer.rb +18 -0
  287. data/app/models/account.rb +241 -0
  288. data/app/models/activity.rb +10 -0
  289. data/app/models/address.rb +24 -0
  290. data/app/models/category.rb +18 -0
  291. data/app/models/comment.rb +24 -0
  292. data/app/models/custom_field.rb +99 -0
  293. data/app/models/custom_field_def.rb +61 -0
  294. data/app/models/dm_core/concerns/ability.rb +17 -0
  295. data/app/models/dm_core/concerns/defines_custom_fields.rb +17 -0
  296. data/app/models/dm_core/concerns/friendly_id.rb +57 -0
  297. data/app/models/dm_core/concerns/has_custom_fields.rb +28 -0
  298. data/app/models/dm_core/concerns/public_private.rb +151 -0
  299. data/app/models/dm_core/concerns/user.rb +144 -0
  300. data/app/models/dm_core/concerns/user_profile.rb +113 -0
  301. data/app/models/dm_core/concerns/user_site_profile.rb +65 -0
  302. data/app/models/dm_core/country.rb +8 -0
  303. data/app/models/dm_core/language.rb +59 -0
  304. data/app/models/dm_core/permitted_params.rb +52 -0
  305. data/app/models/follow.rb +13 -0
  306. data/app/models/liquid_validator.rb +26 -0
  307. data/app/models/payment_history.rb +57 -0
  308. data/app/models/presence_default_locale_validator.rb +12 -0
  309. data/app/models/role.rb +12 -0
  310. data/app/models/system_email.rb +15 -0
  311. data/app/models/ultracart/notification.rb +107 -0
  312. data/app/models/ultracart/payment_history.rb +55 -0
  313. data/app/models/user.rb +22 -0
  314. data/app/models/user_profile.rb +9 -0
  315. data/app/models/user_site_profile.rb +11 -0
  316. data/app/presenters/base_presenter.rb +30 -0
  317. data/app/presenters/comment_presenter.rb +20 -0
  318. data/app/presenters/user_presenter.rb +48 -0
  319. data/app/uploaders/avatar_uploader.rb +75 -0
  320. data/app/views/devise/mailer/confirmation_instructions.html.erb +7 -0
  321. data/app/views/devise/mailer/confirmation_instructions.text.erb +7 -0
  322. data/app/views/devise/mailer/reset_password_instructions.html.erb +9 -0
  323. data/app/views/devise/mailer/reset_password_instructions.text.erb +9 -0
  324. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  325. data/app/views/devise/mailer/unlock_instructions.text.erb +7 -0
  326. data/app/views/dm_core/admin/accounts/_settings_menu.html.erb +24 -0
  327. data/app/views/dm_core/admin/accounts/analytics.html.erb +38 -0
  328. data/app/views/dm_core/admin/accounts/email.html.erb +26 -0
  329. data/app/views/dm_core/admin/accounts/general.html.erb +22 -0
  330. data/app/views/dm_core/admin/accounts/media.html.erb +37 -0
  331. data/app/views/dm_core/admin/accounts/metadata.html.erb +22 -0
  332. data/app/views/dm_core/admin/comments/_comment.html.erb +14 -0
  333. data/app/views/dm_core/admin/comments/_comment_edit_form.html.erb +3 -0
  334. data/app/views/dm_core/admin/comments/_comment_form.html.erb +15 -0
  335. data/app/views/dm_core/admin/comments/_comment_list.html.erb +5 -0
  336. data/app/views/dm_core/admin/comments/_comment_section.html.erb +7 -0
  337. data/app/views/dm_core/admin/comments/create.js.erb +4 -0
  338. data/app/views/dm_core/admin/comments/destroy.js.erb +1 -0
  339. data/app/views/dm_core/admin/comments/edit.js.erb +2 -0
  340. data/app/views/dm_core/admin/comments/update.js.erb +2 -0
  341. data/app/views/dm_core/admin/custom_fields/_check_box_collection.html.erb +4 -0
  342. data/app/views/dm_core/admin/custom_fields/_custom_field_def_fields.html.erb +34 -0
  343. data/app/views/dm_core/admin/custom_fields/_divider.html.erb +1 -0
  344. data/app/views/dm_core/admin/custom_fields/_number_field.html.erb +4 -0
  345. data/app/views/dm_core/admin/custom_fields/_radio_buttons.html.erb +4 -0
  346. data/app/views/dm_core/admin/custom_fields/_select.html.erb +4 -0
  347. data/app/views/dm_core/admin/custom_fields/_text_area.html.erb +4 -0
  348. data/app/views/dm_core/admin/custom_fields/_text_field.html.erb +4 -0
  349. data/app/views/dm_core/admin/dashboard/_index_sidebar.html.erb +22 -0
  350. data/app/views/dm_core/admin/dashboard/_widget_recent_new_users.html.erb +23 -0
  351. data/app/views/dm_core/admin/dashboard/_widget_recent_user_activity.html.erb +21 -0
  352. data/app/views/dm_core/admin/dashboard/index.html.erb +7 -0
  353. data/app/views/dm_core/admin/dashboard/update_site_assets.html.erb +5 -0
  354. data/app/views/dm_core/admin/shared/_header_stats_new_users.html.erb +2 -0
  355. data/app/views/dm_core/admin/shared/_header_stats_user_activity.html.erb +2 -0
  356. data/app/views/dm_core/admin/system/show.html.erb +23 -0
  357. data/app/views/dm_core/admin/users/_form.html.erb +44 -0
  358. data/app/views/dm_core/admin/users/edit.html.erb +201 -0
  359. data/app/views/dm_core/admin/users/index.html.erb +30 -0
  360. data/app/views/dm_core/profile/_profile_sidebar.html.erb +6 -0
  361. data/app/views/dm_core/profile/account.html.erb +38 -0
  362. data/app/views/dm_core/profile/details.html.erb +38 -0
  363. data/app/views/layouts/dm_core/application.html.erb +14 -0
  364. data/app/views/layouts/dm_core/maintenance.html.erb +31 -0
  365. data/app/views/layouts/email_templates/default_email_layout.html.erb +289 -0
  366. data/config/initializers/_dm_core.rb +7 -0
  367. data/config/initializers/carrierwave.rb +33 -0
  368. data/config/initializers/devise.rb +252 -0
  369. data/config/initializers/friendly_id.rb +88 -0
  370. data/config/initializers/globalize_easy_accessors.rb +67 -0
  371. data/config/initializers/globalize_papertrail_fix.rb +20 -0
  372. data/config/initializers/globalize_reflections.rb +22 -0
  373. data/config/initializers/rolify.rb +8 -0
  374. data/config/initializers/simple_form.rb +161 -0
  375. data/config/initializers/simple_form_amsterdam.rb +31 -0
  376. data/config/initializers/simple_form_bootstrap.rb +87 -0
  377. data/config/initializers/simple_form_bootstrap3.rb +175 -0
  378. data/config/initializers/will_paginate.rb +87 -0
  379. data/config/locales/custom.cs.yml +82 -0
  380. data/config/locales/custom.de.yml +82 -0
  381. data/config/locales/custom.en.yml +84 -0
  382. data/config/locales/custom.fi.yml +84 -0
  383. data/config/locales/custom.ja.yml +84 -0
  384. data/config/locales/devise.cs.yml +70 -0
  385. data/config/locales/devise.de.yml +60 -0
  386. data/config/locales/devise.en.yml +59 -0
  387. data/config/locales/devise.fi.yml +57 -0
  388. data/config/locales/devise.ja.yml +102 -0
  389. data/config/locales/rails.cs.yml +211 -0
  390. data/config/locales/rails.de-AT.yml +203 -0
  391. data/config/locales/rails.de.yml +203 -0
  392. data/config/locales/rails.en-GB.yml +205 -0
  393. data/config/locales/rails.en-IN.yml +205 -0
  394. data/config/locales/rails.en.yml +205 -0
  395. data/config/locales/rails.fi.yml +199 -0
  396. data/config/locales/rails.fr-CH.yml +207 -0
  397. data/config/locales/rails.fr.yml +215 -0
  398. data/config/locales/rails.ja.yml +197 -0
  399. data/config/locales/simple_form.cs.yml +26 -0
  400. data/config/locales/simple_form.de.yml +26 -0
  401. data/config/locales/simple_form.en.yml +26 -0
  402. data/config/locales/simple_form.fi.yml +26 -0
  403. data/config/locales/simple_form.ja.yml +26 -0
  404. data/config/routes.rb +33 -0
  405. data/db/globalize_seed_data.sql +76 -0
  406. data/db/migrate/20121023202117_add_globalize_countries.rb +49 -0
  407. data/db/migrate/20121028125329_devise_create_users.rb +45 -0
  408. data/db/migrate/20121028125831_add_user_fields.rb +13 -0
  409. data/db/migrate/20121028153317_rolify_create_roles.rb +19 -0
  410. data/db/migrate/20121105205634_add_last_access.rb +9 -0
  411. data/db/migrate/20121110213512_create_versions.rb +18 -0
  412. data/db/migrate/20121110213513_add_object_changes_column_to_versions.rb +11 -0
  413. data/db/migrate/20130206121535_create_dm_core_accounts.rb +12 -0
  414. data/db/migrate/20130206223323_add_account_to_users.rb +8 -0
  415. data/db/migrate/20130207170247_create_preferences.rb +12 -0
  416. data/db/migrate/20130321144726_create_comments.rb +21 -0
  417. data/db/migrate/20130402203739_add_activity.rb +20 -0
  418. data/db/migrate/20130415095617_add_type_to_comments.rb +8 -0
  419. data/db/migrate/20130429191051_add_category.rb +27 -0
  420. data/db/migrate/20130513112751_create_email_table.rb +25 -0
  421. data/db/migrate/20130516143539_add_user_profile.rb +45 -0
  422. data/db/migrate/20130518155712_add_profile_email.rb +13 -0
  423. data/db/migrate/20130620145610_create_payment_history.rb +36 -0
  424. data/db/migrate/20130625091108_change_anchor_field.rb +9 -0
  425. data/db/migrate/20130628112848_create_user_site_profile.rb +26 -0
  426. data/db/migrate/20130708150236_add_avatar.rb +11 -0
  427. data/db/migrate/20130914132041_add_notify_to_payment_history.rb +7 -0
  428. data/db/migrate/20140105133446_acts_as_votable_migration.rb +27 -0
  429. data/db/migrate/20140107112418_add_user_site_profile_uuid.rb +18 -0
  430. data/db/migrate/20140129110547_add_invoice_id.rb +6 -0
  431. data/db/migrate/20140201092656_acts_as_follower_migration.rb +17 -0
  432. data/db/migrate/20140203131320_rename_invoice_id.rb +11 -0
  433. data/db/migrate/20140210195143_add_core_addresses.rb +17 -0
  434. data/db/migrate/20140411190454_papertrail_increase_column.rb +8 -0
  435. data/db/migrate/20140501160009_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb +31 -0
  436. data/db/migrate/20140501160010_add_missing_unique_indices.acts_as_taggable_on_engine.rb +22 -0
  437. data/db/migrate/20140501160011_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb +15 -0
  438. data/db/migrate/20140529164730_create_custom_fields.rb +39 -0
  439. data/db/migrate/20140709145503_add_missing_taggable_index.acts_as_taggable_on_engine.rb +10 -0
  440. data/db/migrate/20141216094639_add_favored_locale.rb +18 -0
  441. data/db/migrate/20160128094739_update_papertrail_v4.rb +73 -0
  442. data/db/migrate/20160630095745_create_delayed_jobs.rb +22 -0
  443. data/db/migrate/20160821150111_index_foreign_keys_in_core_accounts.rb +5 -0
  444. data/db/migrate/20160821150113_index_foreign_keys_in_core_addresses.rb +5 -0
  445. data/db/migrate/20160821150114_index_foreign_keys_in_core_categories.rb +5 -0
  446. data/db/migrate/20160821150115_index_foreign_keys_in_core_comments.rb +5 -0
  447. data/db/migrate/20160821150116_index_foreign_keys_in_core_custom_fields.rb +5 -0
  448. data/db/migrate/20160821150117_index_foreign_keys_in_core_payment_histories.rb +7 -0
  449. data/db/migrate/20160821150118_index_foreign_keys_in_core_system_email_translations.rb +5 -0
  450. data/db/migrate/20160821150119_index_foreign_keys_in_core_system_emails.rb +6 -0
  451. data/db/migrate/20160821150128_index_foreign_keys_in_preferences.rb +5 -0
  452. data/db/migrate/20160821150129_index_foreign_keys_in_roles.rb +5 -0
  453. data/db/migrate/20160821150130_index_foreign_keys_in_taggings.rb +5 -0
  454. data/db/migrate/20160821150131_index_foreign_keys_in_user_profiles.rb +7 -0
  455. data/db/migrate/20160821150132_index_foreign_keys_in_user_site_profiles.rb +6 -0
  456. data/db/migrate/20160821150133_index_foreign_keys_in_users_roles.rb +5 -0
  457. data/db/migrate/20160821150134_index_foreign_keys_in_version_associations.rb +5 -0
  458. data/db/migrate/20160821150135_index_foreign_keys_in_versions.rb +5 -0
  459. data/db/seeds.rb +433 -0
  460. data/db/seeds/globalize_countries.rb +239 -0
  461. data/db/seeds/globalize_languages.rb +186 -0
  462. data/lib/dm_core.rb +38 -0
  463. data/lib/dm_core/csv_exporter.rb +210 -0
  464. data/lib/dm_core/csv_importer.rb +16 -0
  465. data/lib/dm_core/engine.rb +51 -0
  466. data/lib/dm_core/liquid_extensions.rb +125 -0
  467. data/lib/dm_core/nls.rb +31 -0
  468. data/lib/dm_core/scio_excel.rb +501 -0
  469. data/lib/dm_core/state_select.rb +135 -0
  470. data/lib/dm_core/version.rb +3 -0
  471. data/lib/tasks/dm_core_tasks.rake +60 -0
  472. data/spec/dummy/README.rdoc +28 -0
  473. data/spec/dummy/Rakefile +6 -0
  474. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  475. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  476. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  477. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  478. data/spec/dummy/app/models/ability.rb +10 -0
  479. data/spec/dummy/app/models/user.rb +6 -0
  480. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  481. data/spec/dummy/bin/bundle +3 -0
  482. data/spec/dummy/bin/rails +4 -0
  483. data/spec/dummy/bin/rake +4 -0
  484. data/spec/dummy/config.ru +4 -0
  485. data/spec/dummy/config/application.rb +27 -0
  486. data/spec/dummy/config/boot.rb +5 -0
  487. data/spec/dummy/config/database.yml +25 -0
  488. data/spec/dummy/config/environment.rb +5 -0
  489. data/spec/dummy/config/environments/development.rb +37 -0
  490. data/spec/dummy/config/environments/production.rb +82 -0
  491. data/spec/dummy/config/environments/test.rb +39 -0
  492. data/spec/dummy/config/initializers/assets.rb +8 -0
  493. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  494. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  495. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  496. data/spec/dummy/config/initializers/inflections.rb +16 -0
  497. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  498. data/spec/dummy/config/initializers/session_store.rb +3 -0
  499. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  500. data/spec/dummy/config/locales/en.yml +23 -0
  501. data/spec/dummy/config/routes.rb +11 -0
  502. data/spec/dummy/config/secrets.yml +22 -0
  503. data/spec/dummy/db/development.sqlite3 +0 -0
  504. data/spec/dummy/db/schema.rb +399 -0
  505. data/spec/dummy/db/test.sqlite3 +0 -0
  506. data/spec/dummy/log/test.log +374 -0
  507. data/spec/dummy/public/404.html +67 -0
  508. data/spec/dummy/public/422.html +67 -0
  509. data/spec/dummy/public/500.html +66 -0
  510. data/spec/dummy/public/favicon.ico +0 -0
  511. data/spec/factories/accounts.rb +9 -0
  512. data/spec/factories/user_profiles.rb +10 -0
  513. data/spec/factories/users.rb +19 -0
  514. data/spec/helpers/account_helper_spec.rb +50 -0
  515. data/spec/models/account_spec.rb +20 -0
  516. data/spec/models/user_spec.rb +99 -0
  517. data/spec/rails_helper.rb +70 -0
  518. data/spec/spec_helper.rb +85 -0
  519. data/spec/support/accounts.rb +19 -0
  520. data/spec/support/devise.rb +44 -0
  521. data/spec/support/fix_locale.rb +57 -0
  522. metadata +1124 -0
@@ -0,0 +1,5 @@
1
+ class IndexForeignKeysInPreferences < ActiveRecord::Migration
2
+ def change
3
+ add_index :preferences, :group_id
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class IndexForeignKeysInRoles < ActiveRecord::Migration
2
+ def change
3
+ add_index :roles, :resource_id
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class IndexForeignKeysInTaggings < ActiveRecord::Migration
2
+ def change
3
+ add_index :taggings, :tagger_id
4
+ end
5
+ end
@@ -0,0 +1,7 @@
1
+ class IndexForeignKeysInUserProfiles < ActiveRecord::Migration
2
+ def change
3
+ add_index :user_profiles, :account_id
4
+ add_index :user_profiles, :country_id
5
+ add_index :user_profiles, :user_id
6
+ end
7
+ end
@@ -0,0 +1,6 @@
1
+ class IndexForeignKeysInUserSiteProfiles < ActiveRecord::Migration
2
+ def change
3
+ add_index :user_site_profiles, :account_id
4
+ add_index :user_site_profiles, :user_id
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ class IndexForeignKeysInUsersRoles < ActiveRecord::Migration
2
+ def change
3
+ add_index :users_roles, :role_id
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class IndexForeignKeysInVersionAssociations < ActiveRecord::Migration
2
+ def change
3
+ add_index :version_associations, :foreign_key_id
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class IndexForeignKeysInVersions < ActiveRecord::Migration
2
+ def change
3
+ add_index :versions, :item_id
4
+ end
5
+ end
data/db/seeds.rb ADDED
@@ -0,0 +1,433 @@
1
+ class GlobalizeCountry < ActiveRecord::Base
2
+ end
3
+ class GlobalizeLanguage < ActiveRecord::Base
4
+ end
5
+
6
+ GlobalizeCountry.create(:id => 1, :code => "AD", :english_name => "Andorra", :currency_code => "EUR", :number_grouping_scheme => "western", :continent => "Europe")
7
+ GlobalizeCountry.create(:id => 2, :code => "AE", :english_name => "United Arab Emirates", :currency_code => "AED", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
8
+ GlobalizeCountry.create(:id => 3, :code => "AF", :english_name => "Afghanistan", :currency_code => "AFA", :number_grouping_scheme => "western", :continent => "Asia")
9
+ GlobalizeCountry.create(:id => 4, :code => "AG", :english_name => "Antigua and Barbuda", :currency_code => "XCD", :number_grouping_scheme => "western", :continent => "North America")
10
+ GlobalizeCountry.create(:id => 5, :code => "AI", :english_name => "Anguilla", :currency_code => "XCD", :number_grouping_scheme => "western", :continent => "North America")
11
+ GlobalizeCountry.create(:id => 6, :code => "AL", :english_name => "Albania", :currency_code => "ALL", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
12
+ GlobalizeCountry.create(:id => 7, :code => "AM", :english_name => "Armenia", :currency_code => "AMD", :number_grouping_scheme => "western", :continent => "Asia")
13
+ GlobalizeCountry.create(:id => 8, :code => "AN", :english_name => "Netherlands Antilles", :currency_code => "ANG", :number_grouping_scheme => "western", :continent => "North America")
14
+ GlobalizeCountry.create(:id => 9, :code => "AO", :english_name => "Angola", :currency_code => "AON", :number_grouping_scheme => "western", :continent => "Africa")
15
+ GlobalizeCountry.create(:id => 10, :code => "AQ", :english_name => "Antarctica", :currency_code => "NOK", :number_grouping_scheme => "western", :continent => "Antartica")
16
+ GlobalizeCountry.create(:id => 11, :code => "AR", :english_name => "Argentina", :currency_code => "ARA", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "South America")
17
+ GlobalizeCountry.create(:id => 12, :code => "AS", :english_name => "American Samoa", :currency_code => "USD", :number_grouping_scheme => "western", :continent => "Oceania")
18
+ GlobalizeCountry.create(:id => 13, :code => "AT", :english_name => "Austria", :currency_format => "€ %n", :currency_code => "EUR", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe", :locale => "de-AT")
19
+ GlobalizeCountry.create(:id => 14, :code => "AU", :english_name => "Australia", :currency_format => "%n AUS$", :currency_code => "AUD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Oceania")
20
+ GlobalizeCountry.create(:id => 15, :code => "AW", :english_name => "Aruba", :currency_code => "AWG", :number_grouping_scheme => "western", :continent => "North America")
21
+ GlobalizeCountry.create(:id => 16, :code => "AZ", :english_name => "Azerbaijan", :currency_code => "AZM", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
22
+ GlobalizeCountry.create(:id => 17, :code => "BA", :english_name => "Bosnia and Herzegovina", :currency_code => "BAM", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
23
+ GlobalizeCountry.create(:id => 18, :code => "BB", :english_name => "Barbados", :currency_code => "BBD", :number_grouping_scheme => "western", :continent => "North America")
24
+ GlobalizeCountry.create(:id => 19, :code => "BD", :english_name => "Bangladesh", :currency_code => "BDT", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
25
+ GlobalizeCountry.create(:id => 20, :code => "BE", :english_name => "Belgium", :currency_format => "%n €", :currency_code => "EUR", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
26
+ GlobalizeCountry.create(:id => 21, :code => "BF", :english_name => "Burkina Faso", :currency_code => "XAF", :number_grouping_scheme => "western", :continent => "Africa")
27
+ GlobalizeCountry.create(:id => 22, :code => "BG", :english_name => "Bulgaria", :currency_code => "BGL", :thousands_sep => " ", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
28
+ GlobalizeCountry.create(:id => 23, :code => "BH", :english_name => "Bahrain", :currency_code => "BHD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
29
+ GlobalizeCountry.create(:id => 24, :code => "BI", :english_name => "Burundi", :currency_code => "BIF", :number_grouping_scheme => "western", :continent => "Africa")
30
+ GlobalizeCountry.create(:id => 25, :code => "BJ", :english_name => "Benin", :currency_code => "XAF", :number_grouping_scheme => "western", :continent => "Africa")
31
+ GlobalizeCountry.create(:id => 26, :code => "BM", :english_name => "Bermuda", :currency_code => "BMD", :number_grouping_scheme => "western", :continent => "North America")
32
+ GlobalizeCountry.create(:id => 27, :code => "BN", :english_name => "Brunei Darussalam", :currency_code => "BND", :number_grouping_scheme => "western", :continent => "Asia")
33
+ GlobalizeCountry.create(:id => 28, :code => "BO", :english_name => "Bolivia", :currency_code => "BOB", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "South America")
34
+ GlobalizeCountry.create(:id => 29, :code => "BR", :english_name => "Brazil", :currency_format => "R$%n", :currency_code => "BRR", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "South America")
35
+ GlobalizeCountry.create(:id => 30, :code => "BS", :english_name => "Bahamas", :currency_code => "BSD", :number_grouping_scheme => "western", :continent => "North America")
36
+ GlobalizeCountry.create(:id => 31, :code => "BT", :english_name => "Bhutan", :currency_code => "BTN", :number_grouping_scheme => "western", :continent => "Asia")
37
+ GlobalizeCountry.create(:id => 32, :code => "BV", :english_name => "Bouvet Island", :currency_code => "NOK", :number_grouping_scheme => "western", :continent => "Antartica")
38
+ GlobalizeCountry.create(:id => 33, :code => "BW", :english_name => "Botswana", :currency_code => "BWP", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Africa")
39
+ GlobalizeCountry.create(:id => 34, :code => "BY", :english_name => "Belarus", :currency_code => "BYR", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Europe")
40
+ GlobalizeCountry.create(:id => 35, :code => "BZ", :english_name => "Belize", :currency_code => "BZD", :number_grouping_scheme => "western", :continent => "North America")
41
+ GlobalizeCountry.create(:id => 36, :code => "CA", :english_name => "Canada", :currency_code => "CAD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "North America")
42
+ GlobalizeCountry.create(:id => 37, :code => "CC", :english_name => "Cocos Islands", :currency_code => "AUD", :number_grouping_scheme => "western", :continent => "Oceania")
43
+ GlobalizeCountry.create(:id => 38, :code => "CD", :english_name => "Congo Democratic Republic", :number_grouping_scheme => "western", :continent => "Africa")
44
+ GlobalizeCountry.create(:id => 39, :code => "CF", :english_name => "Central African Republic", :currency_code => "XAF", :number_grouping_scheme => "western", :continent => "Africa")
45
+ GlobalizeCountry.create(:id => 40, :code => "CG", :english_name => "Congo Republic", :currency_code => "XAF", :number_grouping_scheme => "western", :continent => "Africa")
46
+ GlobalizeCountry.create(:id => 41, :code => "CH", :english_name => "Switzerland", :currency_format => "SFr. %n", :currency_code => "CHF", :thousands_sep => "'", :decimal_sep => ",", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Europe", :locale => "fr-CH")
47
+ GlobalizeCountry.create(:id => 42, :code => "CI", :english_name => "Cote D'Ivoire", :currency_code => "XAF", :number_grouping_scheme => "western", :continent => "Africa")
48
+ GlobalizeCountry.create(:id => 43, :code => "CK", :english_name => "Cook Islands", :currency_code => "NZD", :number_grouping_scheme => "western", :continent => "Oceania")
49
+ GlobalizeCountry.create(:id => 44, :code => "CL", :english_name => "Chile", :currency_code => "CLF", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "South America")
50
+ GlobalizeCountry.create(:id => 45, :code => "CM", :english_name => "Cameroon", :currency_code => "XAF", :number_grouping_scheme => "western", :continent => "Africa")
51
+ GlobalizeCountry.create(:id => 46, :code => "CN", :english_name => "China", :currency_format => "Y%n", :currency_code => "CNY", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
52
+ GlobalizeCountry.create(:id => 47, :code => "CO", :english_name => "Colombia", :currency_code => "COP", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "South America")
53
+ GlobalizeCountry.create(:id => 48, :code => "CR", :english_name => "Costa Rica", :currency_code => "CRC", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "North America")
54
+ GlobalizeCountry.create(:id => 49, :code => "CS", :english_name => "Serbia and Montenegro", :currency_code => "CSD", :number_grouping_scheme => "western", :continent => "Europe")
55
+ GlobalizeCountry.create(:id => 50, :code => "CU", :english_name => "Cuba", :currency_code => "CUP", :number_grouping_scheme => "western", :continent => "North America")
56
+ GlobalizeCountry.create(:id => 51, :code => "CV", :english_name => "Cape Verde", :currency_code => "CVE", :number_grouping_scheme => "western", :continent => "Africa")
57
+ GlobalizeCountry.create(:id => 52, :code => "CX", :english_name => "Christmas Island", :currency_code => "AUD", :number_grouping_scheme => "western", :continent => "Oceania")
58
+ GlobalizeCountry.create(:id => 53, :code => "CY", :english_name => "Cyprus", :currency_code => "CYP", :number_grouping_scheme => "western", :continent => "Asia")
59
+ GlobalizeCountry.create(:id => 54, :code => "CZ", :english_name => "Czech Republic", :currency_format => "%n Kč", :currency_code => "CZK", :thousands_sep => " ", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe", :locale => "cs")
60
+ GlobalizeCountry.create(:id => 55, :code => "DE", :english_name => "Germany", :currency_format => "%n €", :currency_code => "EUR", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe", :locale => "de")
61
+ GlobalizeCountry.create(:id => 56, :code => "DJ", :english_name => "Djibouti", :currency_code => "DJF", :number_grouping_scheme => "western", :continent => "Africa")
62
+ GlobalizeCountry.create(:id => 57, :code => "DK", :english_name => "Denmark", :currency_code => "DKK", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
63
+ GlobalizeCountry.create(:id => 58, :code => "DM", :english_name => "Dominica", :currency_code => "XCD", :number_grouping_scheme => "western", :continent => "North America")
64
+ GlobalizeCountry.create(:id => 59, :code => "DO", :english_name => "Dominican Republic", :currency_code => "DOP", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "North America")
65
+ GlobalizeCountry.create(:id => 60, :code => "DZ", :english_name => "Algeria", :currency_code => "DZD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Africa")
66
+ GlobalizeCountry.create(:id => 61, :code => "EC", :english_name => "Ecuador", :currency_code => "USD", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "South America")
67
+ GlobalizeCountry.create(:id => 62, :code => "EE", :english_name => "Estonia", :currency_code => "EEK", :thousands_sep => " ", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
68
+ GlobalizeCountry.create(:id => 63, :code => "EG", :english_name => "Egypt", :currency_code => "EGP", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Africa")
69
+ GlobalizeCountry.create(:id => 64, :code => "EH", :english_name => "Western Sahara", :currency_code => "MAD", :number_grouping_scheme => "western", :continent => "Africa")
70
+ GlobalizeCountry.create(:id => 65, :code => "ER", :english_name => "Eritrea", :currency_code => "ERN", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Africa")
71
+ GlobalizeCountry.create(:id => 66, :code => "ES", :english_name => "Spain", :currency_format => "%n €", :currency_code => "EUR", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
72
+ GlobalizeCountry.create(:id => 67, :code => "ET", :english_name => "Ethiopia", :currency_code => "ETB", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Africa")
73
+ GlobalizeCountry.create(:id => 68, :code => "FI", :english_name => "Finland", :currency_code => "EUR", :thousands_sep => " ", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
74
+ GlobalizeCountry.create(:id => 69, :code => "FJ", :english_name => "Fiji", :currency_code => "FJD", :number_grouping_scheme => "western", :continent => "Oceania")
75
+ GlobalizeCountry.create(:id => 70, :code => "FK", :english_name => "Falkland Islands", :currency_code => "FKP", :number_grouping_scheme => "western", :continent => "South America")
76
+ GlobalizeCountry.create(:id => 71, :code => "FM", :english_name => "Micronesia", :currency_code => "USD", :number_grouping_scheme => "western", :continent => "Oceania")
77
+ GlobalizeCountry.create(:id => 72, :code => "FO", :english_name => "Faeroe Islands", :currency_code => "DKK", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
78
+ GlobalizeCountry.create(:id => 73, :code => "FR", :english_name => "France", :currency_format => "%n €", :currency_code => "EUR", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
79
+ GlobalizeCountry.create(:id => 74, :code => "GA", :english_name => "Gabon", :currency_code => "XAF", :number_grouping_scheme => "western", :continent => "Africa")
80
+ GlobalizeCountry.create(:id => 75, :code => "GB", :english_name => "United Kingdom", :currency_format => "£%n", :currency_code => "GBP", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Europe", :locale => "en-UK")
81
+ GlobalizeCountry.create(:id => 76, :code => "GD", :english_name => "Grenada", :currency_code => "XCD", :number_grouping_scheme => "western", :continent => "North America")
82
+ GlobalizeCountry.create(:id => 77, :code => "GE", :english_name => "Georgia", :currency_code => "GEL", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Asia")
83
+ GlobalizeCountry.create(:id => 78, :code => "GF", :english_name => "French Guiana", :currency_code => "EUR", :number_grouping_scheme => "western", :continent => "South America")
84
+ GlobalizeCountry.create(:id => 79, :code => "GH", :english_name => "Ghana", :currency_code => "GHC", :number_grouping_scheme => "western", :continent => "Africa")
85
+ GlobalizeCountry.create(:id => 80, :code => "GI", :english_name => "Gibraltar", :currency_code => "GIP", :number_grouping_scheme => "western", :continent => "Europe")
86
+ GlobalizeCountry.create(:id => 81, :code => "GL", :english_name => "Greenland", :currency_code => "DKK", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "North America")
87
+ GlobalizeCountry.create(:id => 82, :code => "GM", :english_name => "Gambia", :currency_code => "GMD", :number_grouping_scheme => "western", :continent => "Africa")
88
+ GlobalizeCountry.create(:id => 83, :code => "GN", :english_name => "Guinea", :currency_code => "GNS", :number_grouping_scheme => "western", :continent => "Africa")
89
+ GlobalizeCountry.create(:id => 84, :code => "GP", :english_name => "Guadaloupe", :currency_code => "EUR", :number_grouping_scheme => "western", :continent => "North America")
90
+ GlobalizeCountry.create(:id => 85, :code => "GQ", :english_name => "Equatorial Guinea", :currency_code => "XAF", :number_grouping_scheme => "western", :continent => "Africa")
91
+ GlobalizeCountry.create(:id => 86, :code => "GR", :english_name => "Greece", :currency_code => "EUR", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
92
+ GlobalizeCountry.create(:id => 87, :code => "GS", :english_name => "South Georgia and the South Sandwich Islands", :currency_code => "GBP", :number_grouping_scheme => "western", :continent => "South America")
93
+ GlobalizeCountry.create(:id => 88, :code => "GT", :english_name => "Guatemala", :currency_code => "GTQ", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "North America")
94
+ GlobalizeCountry.create(:id => 89, :code => "GU", :english_name => "Guam", :currency_code => "USD", :number_grouping_scheme => "western", :continent => "Oceania")
95
+ GlobalizeCountry.create(:id => 90, :code => "GW", :english_name => "Guinea-Bissau", :currency_code => "GWP", :number_grouping_scheme => "western", :continent => "Africa")
96
+ GlobalizeCountry.create(:id => 91, :code => "GY", :english_name => "Guyana", :currency_code => "GYD", :number_grouping_scheme => "western", :continent => "South America")
97
+ GlobalizeCountry.create(:id => 92, :code => "HK", :english_name => "Hong Kong", :currency_format => "HK$%n", :currency_code => "HKD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
98
+ GlobalizeCountry.create(:id => 93, :code => "HM", :english_name => "Heard and McDonald Islands", :currency_code => "AUD", :number_grouping_scheme => "western", :continent => "Antartica")
99
+ GlobalizeCountry.create(:id => 94, :code => "HN", :english_name => "Honduras", :currency_code => "HNL", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "North America")
100
+ GlobalizeCountry.create(:id => 95, :code => "HR", :english_name => "Croatia", :currency_code => "HRK", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
101
+ GlobalizeCountry.create(:id => 96, :code => "HT", :english_name => "Haiti", :currency_code => "HTG", :number_grouping_scheme => "western", :continent => "North America")
102
+ GlobalizeCountry.create(:id => 97, :code => "HU", :english_name => "Hungary", :currency_code => "HUF", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
103
+ GlobalizeCountry.create(:id => 98, :code => "ID", :english_name => "Indonesia", :currency_code => "IDR", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Asia")
104
+ GlobalizeCountry.create(:id => 99, :code => "IE", :english_name => "Ireland", :currency_code => "EUR", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Europe")
105
+ GlobalizeCountry.create(:id => 100, :code => "IL", :english_name => "Israel", :currency_format => "%n ₪", :currency_code => "ILS", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
106
+ GlobalizeCountry.create(:id => 101, :code => "IN", :english_name => "India", :currency_format => "Rs.%n", :currency_code => "INR", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "indian", :continent => "Asia", :locale => "en-IN")
107
+ GlobalizeCountry.create(:id => 102, :code => "IO", :english_name => "British Indian Ocean Territory", :currency_code => "GBP", :number_grouping_scheme => "western", :continent => "Africa")
108
+ GlobalizeCountry.create(:id => 103, :code => "IQ", :english_name => "Iraq", :currency_code => "IQD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
109
+ GlobalizeCountry.create(:id => 104, :code => "IR", :english_name => "Iran", :currency_code => "IRR", :thousands_sep => "٬", :decimal_sep => "٫", :currency_decimal_sep => "٫", :number_grouping_scheme => "western", :continent => "Asia")
110
+ GlobalizeCountry.create(:id => 105, :code => "IS", :english_name => "Iceland", :currency_code => "ISK", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
111
+ GlobalizeCountry.create(:id => 106, :code => "IT", :english_name => "Italy", :currency_format => "€ %n", :currency_code => "EUR", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
112
+ GlobalizeCountry.create(:id => 107, :code => "JM", :english_name => "Jamaica", :currency_code => "JMD", :number_grouping_scheme => "western", :continent => "North America")
113
+ GlobalizeCountry.create(:id => 108, :code => "JO", :english_name => "Jordan", :currency_code => "JOD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
114
+ GlobalizeCountry.create(:id => 109, :code => "JP", :english_name => "Japan", :currency_format => "¥%n", :currency_code => "JPY", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia", :locale => "ja")
115
+ GlobalizeCountry.create(:id => 110, :code => "KE", :english_name => "Kenya", :currency_code => "KES", :number_grouping_scheme => "western", :continent => "Africa")
116
+ GlobalizeCountry.create(:id => 111, :code => "KG", :english_name => "Kyrgyz Republic", :currency_code => "KGS", :number_grouping_scheme => "western", :continent => "Asia")
117
+ GlobalizeCountry.create(:id => 112, :code => "KH", :english_name => "Cambodia", :currency_code => "KHR", :number_grouping_scheme => "western", :continent => "Asia")
118
+ GlobalizeCountry.create(:id => 113, :code => "KI", :english_name => "Kiribati", :currency_code => "AUD", :number_grouping_scheme => "western", :continent => "Oceania")
119
+ GlobalizeCountry.create(:id => 114, :code => "KM", :english_name => "Comoros", :currency_code => "KMF", :number_grouping_scheme => "western", :continent => "Africa")
120
+ GlobalizeCountry.create(:id => 115, :code => "KN", :english_name => "St. Kitts and Nevis", :currency_code => "XCD", :number_grouping_scheme => "western", :continent => "North America")
121
+ GlobalizeCountry.create(:id => 116, :code => "KP", :english_name => "North Korea", :currency_code => "KPW", :number_grouping_scheme => "western", :continent => "Asia")
122
+ GlobalizeCountry.create(:id => 117, :code => "KR", :english_name => "South Korea", :currency_code => "KRW", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
123
+ GlobalizeCountry.create(:id => 118, :code => "KW", :english_name => "Kuwait", :currency_code => "KWD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
124
+ GlobalizeCountry.create(:id => 119, :code => "KY", :english_name => "Cayman Islands", :currency_code => "KYD", :number_grouping_scheme => "western", :continent => "North America")
125
+ GlobalizeCountry.create(:id => 120, :code => "KZ", :english_name => "Kazakhstan", :currency_code => "KZT", :number_grouping_scheme => "western", :continent => "Asia")
126
+ GlobalizeCountry.create(:id => 121, :code => "LA", :english_name => "Lao People's Democratic Republic", :currency_code => "LAK", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
127
+ GlobalizeCountry.create(:id => 122, :code => "LB", :english_name => "Lebanon", :currency_code => "LBP", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
128
+ GlobalizeCountry.create(:id => 123, :code => "LC", :english_name => "St. Lucia", :currency_code => "XCD", :number_grouping_scheme => "western", :continent => "North America")
129
+ GlobalizeCountry.create(:id => 124, :code => "LI", :english_name => "Liechtenstein", :currency_code => "CHF", :number_grouping_scheme => "western", :continent => "Europe")
130
+ GlobalizeCountry.create(:id => 125, :code => "LK", :english_name => "Sri Lanka", :currency_code => "LKR", :number_grouping_scheme => "western", :continent => "Asia")
131
+ GlobalizeCountry.create(:id => 126, :code => "LR", :english_name => "Liberia", :currency_code => "LRD", :number_grouping_scheme => "western", :continent => "Africa")
132
+ GlobalizeCountry.create(:id => 127, :code => "LS", :english_name => "Lesotho", :currency_code => "LSL", :number_grouping_scheme => "western", :continent => "Africa")
133
+ GlobalizeCountry.create(:id => 128, :code => "LT", :english_name => "Lithuania", :currency_code => "LTL", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
134
+ GlobalizeCountry.create(:id => 129, :code => "LU", :english_name => "Luxembourg", :currency_code => "EUR", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
135
+ GlobalizeCountry.create(:id => 130, :code => "LV", :english_name => "Latvia", :currency_code => "LVL", :thousands_sep => " ", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
136
+ GlobalizeCountry.create(:id => 131, :code => "LY", :english_name => "Libyan Arab Jamahiriya", :currency_code => "LYD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Africa")
137
+ GlobalizeCountry.create(:id => 132, :code => "MA", :english_name => "Morocco", :currency_code => "MAD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Africa")
138
+ GlobalizeCountry.create(:id => 133, :code => "MC", :english_name => "Monaco", :currency_code => "EUR", :number_grouping_scheme => "western", :continent => "Europe")
139
+ GlobalizeCountry.create(:id => 134, :code => "MD", :english_name => "Moldova", :currency_code => "MDL", :number_grouping_scheme => "western", :continent => "Europe")
140
+ GlobalizeCountry.create(:id => 135, :code => "MG", :english_name => "Madagascar", :currency_code => "MGF", :number_grouping_scheme => "western", :continent => "Africa")
141
+ GlobalizeCountry.create(:id => 136, :code => "MH", :english_name => "Marshall Islands", :currency_code => "USD", :number_grouping_scheme => "western", :continent => "Oceania")
142
+ GlobalizeCountry.create(:id => 137, :code => "MK", :english_name => "Macedonia", :currency_code => "MKD", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
143
+ GlobalizeCountry.create(:id => 138, :code => "ML", :english_name => "Mali", :currency_code => "XAF", :number_grouping_scheme => "western", :continent => "Africa")
144
+ GlobalizeCountry.create(:id => 139, :code => "MM", :english_name => "Myanmar", :number_grouping_scheme => "western", :continent => "Asia")
145
+ GlobalizeCountry.create(:id => 140, :code => "MN", :english_name => "Mongolia", :currency_code => "MNT", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
146
+ GlobalizeCountry.create(:id => 141, :code => "MO", :english_name => "Macao", :currency_code => "MOP", :number_grouping_scheme => "western", :continent => "Asia")
147
+ GlobalizeCountry.create(:id => 142, :code => "MP", :english_name => "Northern Mariana Islands", :currency_code => "USD", :number_grouping_scheme => "western", :continent => "Oceania")
148
+ GlobalizeCountry.create(:id => 143, :code => "MQ", :english_name => "Martinique", :currency_code => "EUR", :number_grouping_scheme => "western", :continent => "North America")
149
+ GlobalizeCountry.create(:id => 144, :code => "MR", :english_name => "Mauritania", :currency_code => "MRO", :number_grouping_scheme => "western", :continent => "Africa")
150
+ GlobalizeCountry.create(:id => 145, :code => "MS", :english_name => "Montserrat", :currency_code => "XCD", :number_grouping_scheme => "western", :continent => "North America")
151
+ GlobalizeCountry.create(:id => 146, :code => "MT", :english_name => "Malta", :currency_code => "MTL", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Europe")
152
+ GlobalizeCountry.create(:id => 147, :code => "MU", :english_name => "Mauritius", :currency_code => "MUR", :number_grouping_scheme => "western", :continent => "Africa")
153
+ GlobalizeCountry.create(:id => 148, :code => "MV", :english_name => "Maldives", :currency_code => "MVR", :number_grouping_scheme => "western", :continent => "Asia")
154
+ GlobalizeCountry.create(:id => 149, :code => "MW", :english_name => "Malawi", :currency_code => "MWK", :number_grouping_scheme => "western", :continent => "Africa")
155
+ GlobalizeCountry.create(:id => 150, :code => "MX", :english_name => "Mexico", :currency_code => "MXN", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "North America")
156
+ GlobalizeCountry.create(:id => 151, :code => "MY", :english_name => "Malaysia", :currency_code => "MYR", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
157
+ GlobalizeCountry.create(:id => 152, :code => "MZ", :english_name => "Mozambique", :currency_code => "MZM", :number_grouping_scheme => "western", :continent => "Africa")
158
+ GlobalizeCountry.create(:id => 153, :code => "NA", :english_name => "Namibia", :currency_code => "NAD", :number_grouping_scheme => "western", :continent => "Africa")
159
+ GlobalizeCountry.create(:id => 154, :code => "NC", :english_name => "New Caledonia", :currency_code => "XPF", :number_grouping_scheme => "western", :continent => "Oceania")
160
+ GlobalizeCountry.create(:id => 155, :code => "NE", :english_name => "Niger", :currency_code => "XOF", :number_grouping_scheme => "western", :continent => "Africa")
161
+ GlobalizeCountry.create(:id => 156, :code => "NF", :english_name => "Norfolk Island", :currency_code => "AUD", :number_grouping_scheme => "western", :continent => "Oceania")
162
+ GlobalizeCountry.create(:id => 157, :code => "NG", :english_name => "Nigeria", :currency_code => "NGN", :number_grouping_scheme => "western", :continent => "Africa")
163
+ GlobalizeCountry.create(:id => 158, :code => "NI", :english_name => "Nicaragua", :currency_code => "NIC", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "North America")
164
+ GlobalizeCountry.create(:id => 159, :code => "NL", :english_name => "Netherlands", :currency_format => "€ %n", :currency_code => "EUR", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
165
+ GlobalizeCountry.create(:id => 160, :code => "NO", :english_name => "Norway", :currency_format => "kr %n", :currency_code => "NOK", :thousands_sep => " ", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
166
+ GlobalizeCountry.create(:id => 161, :code => "NP", :english_name => "Nepal", :currency_code => "NPR", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
167
+ GlobalizeCountry.create(:id => 162, :code => "NR", :english_name => "Nauru", :currency_code => "AUD", :number_grouping_scheme => "western", :continent => "Oceania")
168
+ GlobalizeCountry.create(:id => 163, :code => "NU", :english_name => "Niue", :currency_code => "NZD", :number_grouping_scheme => "western", :continent => "Oceania")
169
+ GlobalizeCountry.create(:id => 164, :code => "NZ", :english_name => "New Zealand", :currency_code => "NZD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Oceania")
170
+ GlobalizeCountry.create(:id => 165, :code => "OM", :english_name => "Oman", :currency_code => "OMR", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
171
+ GlobalizeCountry.create(:id => 166, :code => "PA", :english_name => "Panama", :currency_code => "PAB", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "North America")
172
+ GlobalizeCountry.create(:id => 167, :code => "PE", :english_name => "Peru", :currency_code => "PEI", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "South America")
173
+ GlobalizeCountry.create(:id => 168, :code => "PF", :english_name => "French Polynesia", :currency_code => "XPF", :number_grouping_scheme => "western", :continent => "Oceania")
174
+ GlobalizeCountry.create(:id => 169, :code => "PG", :english_name => "Papua New Guinea", :currency_code => "PGK", :number_grouping_scheme => "western", :continent => "Oceania")
175
+ GlobalizeCountry.create(:id => 170, :code => "PH", :english_name => "Philippines", :currency_code => "PHP", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
176
+ GlobalizeCountry.create(:id => 171, :code => "PK", :english_name => "Pakistan", :currency_code => "PKR", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
177
+ GlobalizeCountry.create(:id => 172, :code => "PL", :english_name => "Poland", :currency_code => "PLN", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
178
+ GlobalizeCountry.create(:id => 173, :code => "PM", :english_name => "St. Pierre and Miquelon", :currency_code => "EUR", :number_grouping_scheme => "western", :continent => "North America")
179
+ GlobalizeCountry.create(:id => 174, :code => "PN", :english_name => "Pitcairn Island", :currency_code => "NZD", :number_grouping_scheme => "western", :continent => "Oceania")
180
+ GlobalizeCountry.create(:id => 175, :code => "PR", :english_name => "Puerto Rico", :currency_code => "USD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "North America")
181
+ GlobalizeCountry.create(:id => 176, :code => "PS", :english_name => "Palestinian Territory", :number_grouping_scheme => "western", :continent => "Asia")
182
+ GlobalizeCountry.create(:id => 177, :code => "PT", :english_name => "Portugal", :currency_format => "%n €", :currency_code => "EUR", :thousands_sep => ".", :decimal_sep => "$", :currency_decimal_sep => "$", :number_grouping_scheme => "western", :continent => "Europe")
183
+ GlobalizeCountry.create(:id => 178, :code => "PW", :english_name => "Palau", :currency_code => "USD", :number_grouping_scheme => "western", :continent => "Oceania")
184
+ GlobalizeCountry.create(:id => 179, :code => "PY", :english_name => "Paraguay", :currency_code => "PYG", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "South America")
185
+ GlobalizeCountry.create(:id => 180, :code => "QA", :english_name => "Qatar", :currency_code => "QAR", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
186
+ GlobalizeCountry.create(:id => 181, :code => "RE", :english_name => "Reunion", :currency_code => "EUR", :number_grouping_scheme => "western", :continent => "Africa")
187
+ GlobalizeCountry.create(:id => 182, :code => "RO", :english_name => "Romania", :currency_code => "ROL", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
188
+ GlobalizeCountry.create(:id => 183, :code => "RU", :english_name => "Russian Federation", :currency_code => "RUB", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Europe")
189
+ GlobalizeCountry.create(:id => 184, :code => "RW", :english_name => "Rwanda", :currency_code => "RWF", :number_grouping_scheme => "western", :continent => "Africa")
190
+ GlobalizeCountry.create(:id => 185, :code => "SA", :english_name => "Saudi Arabia", :currency_code => "SAR", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
191
+ GlobalizeCountry.create(:id => 186, :code => "SB", :english_name => "Solomon Islands", :currency_code => "SBD", :number_grouping_scheme => "western", :continent => "Oceania")
192
+ GlobalizeCountry.create(:id => 187, :code => "SC", :english_name => "Seychelles", :currency_code => "SCR", :number_grouping_scheme => "western", :continent => "Africa")
193
+ GlobalizeCountry.create(:id => 188, :code => "SD", :english_name => "Sudan", :currency_code => "SDP", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Africa")
194
+ GlobalizeCountry.create(:id => 189, :code => "SE", :english_name => "Sweden", :currency_format => "%n kr", :currency_code => "SEK", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
195
+ GlobalizeCountry.create(:id => 190, :code => "SG", :english_name => "Singapore", :currency_code => "SGD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
196
+ GlobalizeCountry.create(:id => 191, :code => "SH", :english_name => "St. Helena", :currency_code => "SHP", :number_grouping_scheme => "western", :continent => "Africa")
197
+ GlobalizeCountry.create(:id => 192, :code => "SI", :english_name => "Slovenia", :currency_code => "SIT", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
198
+ GlobalizeCountry.create(:id => 193, :code => "SJ", :english_name => "Svalbard & Jan Mayen Islands", :currency_code => "NOK", :number_grouping_scheme => "western", :continent => "Europe")
199
+ GlobalizeCountry.create(:id => 194, :code => "SK", :english_name => "Slovakia", :currency_code => "SKK", :thousands_sep => " ", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Europe")
200
+ GlobalizeCountry.create(:id => 195, :code => "SL", :english_name => "Sierra Leone", :currency_code => "SLL", :number_grouping_scheme => "western", :continent => "Africa")
201
+ GlobalizeCountry.create(:id => 196, :code => "SM", :english_name => "San Marino", :currency_code => "EUR", :number_grouping_scheme => "western", :continent => "Europe")
202
+ GlobalizeCountry.create(:id => 197, :code => "SN", :english_name => "Senegal", :currency_code => "XOF", :number_grouping_scheme => "western", :continent => "Africa")
203
+ GlobalizeCountry.create(:id => 198, :code => "SO", :english_name => "Somalia", :currency_code => "SOS", :number_grouping_scheme => "western", :continent => "Africa")
204
+ GlobalizeCountry.create(:id => 199, :code => "SR", :english_name => "Suriname", :currency_code => "SRG", :number_grouping_scheme => "western", :continent => "South America")
205
+ GlobalizeCountry.create(:id => 200, :code => "ST", :english_name => "Sao Tome and Principe", :currency_code => "STD", :number_grouping_scheme => "western", :continent => "Africa")
206
+ GlobalizeCountry.create(:id => 201, :code => "SV", :english_name => "El Salvador", :currency_code => "SVC", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "North America")
207
+ GlobalizeCountry.create(:id => 202, :code => "SY", :english_name => "Syrian Arab Republic", :currency_code => "SYP", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
208
+ GlobalizeCountry.create(:id => 203, :code => "SZ", :english_name => "Swaziland", :currency_code => "SZL", :number_grouping_scheme => "western", :continent => "Africa")
209
+ GlobalizeCountry.create(:id => 204, :code => "TC", :english_name => "Turks and Caicos Islands", :currency_code => "USD", :number_grouping_scheme => "western", :continent => "North America")
210
+ GlobalizeCountry.create(:id => 205, :code => "TD", :english_name => "Chad", :currency_code => "XAF", :number_grouping_scheme => "western", :continent => "Africa")
211
+ GlobalizeCountry.create(:id => 206, :code => "TF", :english_name => "French Southern Territories", :currency_code => "EUR", :number_grouping_scheme => "western", :continent => "Antartica")
212
+ GlobalizeCountry.create(:id => 207, :code => "TG", :english_name => "Togo", :currency_code => "XAF", :number_grouping_scheme => "western", :continent => "Africa")
213
+ GlobalizeCountry.create(:id => 208, :code => "TH", :english_name => "Thailand", :currency_code => "THB", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
214
+ GlobalizeCountry.create(:id => 209, :code => "TJ", :english_name => "Tajikistan", :currency_code => "TJR", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
215
+ GlobalizeCountry.create(:id => 210, :code => "TK", :english_name => "Tokelau", :currency_code => "NZD", :number_grouping_scheme => "western", :continent => "Oceania")
216
+ GlobalizeCountry.create(:id => 211, :code => "TL", :english_name => "Timor-Leste", :number_grouping_scheme => "western", :continent => "Asia")
217
+ GlobalizeCountry.create(:id => 212, :code => "TM", :english_name => "Turkmenistan", :currency_code => "TMM", :number_grouping_scheme => "western", :continent => "Asia")
218
+ GlobalizeCountry.create(:id => 213, :code => "TN", :english_name => "Tunisia", :currency_code => "TND", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Africa")
219
+ GlobalizeCountry.create(:id => 214, :code => "TO", :english_name => "Tonga", :currency_code => "TOP", :number_grouping_scheme => "western", :continent => "Oceania")
220
+ GlobalizeCountry.create(:id => 215, :code => "TR", :english_name => "Turkey", :currency_code => "TRL", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Asia")
221
+ GlobalizeCountry.create(:id => 216, :code => "TT", :english_name => "Trinidad and Tobago", :currency_code => "TTD", :number_grouping_scheme => "western", :continent => "North America")
222
+ GlobalizeCountry.create(:id => 217, :code => "TV", :english_name => "Tuvalu", :currency_code => "AUD", :number_grouping_scheme => "western", :continent => "Oceania")
223
+ GlobalizeCountry.create(:id => 218, :code => "TW", :english_name => "Taiwan", :currency_format => "NT$%n", :currency_code => "TWD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
224
+ GlobalizeCountry.create(:id => 219, :code => "TZ", :english_name => "Tanzania", :currency_code => "TZS", :number_grouping_scheme => "western", :continent => "Africa")
225
+ GlobalizeCountry.create(:id => 220, :code => "UA", :english_name => "Ukraine", :currency_code => "UAH", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Europe")
226
+ GlobalizeCountry.create(:id => 221, :code => "UG", :english_name => "Uganda", :currency_code => "UGS", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Africa")
227
+ GlobalizeCountry.create(:id => 222, :code => "UM", :english_name => "United States Minor Outlying Islands", :currency_code => "USD", :number_grouping_scheme => "western", :continent => "North America")
228
+ GlobalizeCountry.create(:id => 223, :code => "US", :english_name => "United States", :currency_code => "USD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "North America", :locale => "en")
229
+ GlobalizeCountry.create(:id => 224, :code => "UY", :english_name => "Uruguay", :currency_code => "UYU", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "South America")
230
+ GlobalizeCountry.create(:id => 225, :code => "UZ", :english_name => "Uzbekistan", :currency_code => "UZS", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
231
+ GlobalizeCountry.create(:id => 226, :code => "VA", :english_name => "Holy See", :currency_code => "EUR", :number_grouping_scheme => "western", :continent => "Europe")
232
+ GlobalizeCountry.create(:id => 227, :code => "VC", :english_name => "St. Vincent and the Grenadines", :currency_code => "XCD", :number_grouping_scheme => "western", :continent => "North America")
233
+ GlobalizeCountry.create(:id => 228, :code => "VE", :english_name => "Venezuela", :currency_code => "VEB", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "South America")
234
+ GlobalizeCountry.create(:id => 229, :code => "VG", :english_name => "British Virgin Islands", :currency_code => "USD", :number_grouping_scheme => "western", :continent => "North America")
235
+ GlobalizeCountry.create(:id => 230, :code => "VI", :english_name => "US Virgin Islands", :currency_code => "USD", :number_grouping_scheme => "western", :continent => "North America")
236
+ GlobalizeCountry.create(:id => 231, :code => "VN", :english_name => "Viet Nam", :currency_code => "VND", :thousands_sep => ".", :decimal_sep => ",", :currency_decimal_sep => ",", :number_grouping_scheme => "western", :continent => "Asia")
237
+ GlobalizeCountry.create(:id => 232, :code => "VU", :english_name => "Vanuatu", :currency_code => "VUV", :number_grouping_scheme => "western", :continent => "Oceania")
238
+ GlobalizeCountry.create(:id => 233, :code => "WF", :english_name => "Wallis and Futuna Islands", :currency_code => "XPF", :number_grouping_scheme => "western", :continent => "Oceania")
239
+ GlobalizeCountry.create(:id => 234, :code => "WS", :english_name => "Samoa", :currency_code => "WST", :number_grouping_scheme => "western", :continent => "Oceania")
240
+ GlobalizeCountry.create(:id => 235, :code => "YE", :english_name => "Yemen", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Asia")
241
+ GlobalizeCountry.create(:id => 236, :code => "YT", :english_name => "Mayotte", :currency_code => "EUR", :number_grouping_scheme => "western", :continent => "Africa")
242
+ GlobalizeCountry.create(:id => 237, :code => "ZA", :english_name => "South Africa", :currency_code => "ZAR", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Africa")
243
+ GlobalizeCountry.create(:id => 238, :code => "ZM", :english_name => "Zambia", :currency_code => "ZMK", :number_grouping_scheme => "western", :continent => "Africa")
244
+ GlobalizeCountry.create(:id => 239, :code => "ZW", :english_name => "Zimbabwe", :currency_code => "ZWD", :thousands_sep => ",", :decimal_sep => ".", :currency_decimal_sep => ".", :number_grouping_scheme => "western", :continent => "Africa")
245
+
246
+
247
+
248
+ GlobalizeLanguage.create(:id => 15, :iso_639_1 => "aa", :iso_639_2 => "aar", :iso_639_3 => "aar", :english_name => "Afar", :macro_language => false, :direction => "ltr", :scope => "L")
249
+ GlobalizeLanguage.create(:id => 33, :iso_639_1 => "ab", :iso_639_2 => "abk", :iso_639_3 => "abk", :english_name => "Abkhazian", :native_name => "аҧсуа бызшәа", :macro_language => false, :direction => "ltr", :scope => "L")
250
+ GlobalizeLanguage.create(:id => 114, :iso_639_1 => "af", :iso_639_2 => "afr", :iso_639_3 => "afr", :english_name => "Afrikaans", :native_name => "Afrikaans", :macro_language => false, :direction => "ltr", :scope => "L")
251
+ GlobalizeLanguage.create(:id => 191, :iso_639_1 => "ak", :iso_639_2 => "aka", :iso_639_3 => "aka", :english_name => "Akan", :macro_language => true, :direction => "ltr", :scope => "L")
252
+ GlobalizeLanguage.create(:id => 247, :iso_639_1 => "am", :iso_639_2 => "amh", :iso_639_3 => "amh", :english_name => "Amharic", :native_name => "አማርኛ", :macro_language => false, :direction => "ltr", :scope => "L")
253
+ GlobalizeLanguage.create(:id => 340, :iso_639_1 => "ar", :iso_639_2 => "ara", :iso_639_3 => "ara", :english_name => "Arabic", :native_name => "العربية", :macro_language => true, :direction => "rtl", :scope => "L")
254
+ GlobalizeLanguage.create(:id => 346, :iso_639_1 => "an", :iso_639_2 => "arg", :iso_639_3 => "arg", :english_name => "Aragonese", :macro_language => false, :direction => "ltr", :scope => "L")
255
+ GlobalizeLanguage.create(:id => 376, :iso_639_1 => "as", :iso_639_2 => "asm", :iso_639_3 => "asm", :english_name => "Assamese", :macro_language => false, :direction => "ltr", :scope => "L")
256
+ GlobalizeLanguage.create(:id => 438, :iso_639_1 => "av", :iso_639_2 => "ava", :iso_639_3 => "ava", :english_name => "Avaric", :macro_language => false, :direction => "ltr", :scope => "L")
257
+ GlobalizeLanguage.create(:id => 441, :iso_639_1 => "ae", :iso_639_2 => "ave", :iso_639_3 => "ave", :english_name => "Avestan", :macro_language => false, :direction => "ltr", :scope => "A")
258
+ GlobalizeLanguage.create(:id => 483, :iso_639_1 => "ay", :iso_639_2 => "aym", :iso_639_3 => "aym", :english_name => "Aymara", :macro_language => true, :direction => "ltr", :scope => "L")
259
+ GlobalizeLanguage.create(:id => 496, :iso_639_1 => "az", :iso_639_2 => "aze", :iso_639_3 => "aze", :english_name => "Azerbaijani", :native_name => "azərbaycan", :macro_language => true, :direction => "ltr", :scope => "L")
260
+ GlobalizeLanguage.create(:id => 512, :iso_639_1 => "ba", :iso_639_2 => "bak", :iso_639_3 => "bak", :english_name => "Bashkir", :macro_language => false, :direction => "ltr", :scope => "L")
261
+ GlobalizeLanguage.create(:id => 514, :iso_639_1 => "bm", :iso_639_2 => "bam", :iso_639_3 => "bam", :english_name => "Bambara", :native_name => "Bamanankan", :macro_language => false, :direction => "ltr", :scope => "L")
262
+ GlobalizeLanguage.create(:id => 614, :iso_639_1 => "be", :iso_639_2 => "bel", :iso_639_3 => "bel", :english_name => "Belarusian", :native_name => "Беларуская", :macro_language => false, :direction => "ltr", :scope => "L")
263
+ GlobalizeLanguage.create(:id => 616, :iso_639_1 => "bn", :iso_639_2 => "ben", :iso_639_3 => "ben", :english_name => "Bengali", :macro_language => false, :direction => "ltr", :scope => "L")
264
+ GlobalizeLanguage.create(:id => 721, :iso_639_1 => "bi", :iso_639_2 => "bis", :iso_639_3 => "bis", :english_name => "Bislama", :macro_language => false, :direction => "ltr", :scope => "L")
265
+ GlobalizeLanguage.create(:id => 860, :iso_639_1 => "bo", :iso_639_2 => "bod", :iso_639_3 => "bod", :english_name => "Tibetan", :macro_language => false, :direction => "ltr", :scope => "L")
266
+ GlobalizeLanguage.create(:id => 875, :iso_639_1 => "bs", :iso_639_2 => "bos", :iso_639_3 => "bos", :english_name => "Bosnian", :macro_language => false, :direction => "ltr", :scope => "L")
267
+ GlobalizeLanguage.create(:id => 936, :iso_639_1 => "br", :iso_639_2 => "bre", :iso_639_3 => "bre", :english_name => "Breton", :macro_language => false, :direction => "ltr", :scope => "L")
268
+ GlobalizeLanguage.create(:id => 1020, :iso_639_1 => "bg", :iso_639_2 => "bul", :iso_639_3 => "bul", :english_name => "Bulgarian", :native_name => "Български", :macro_language => false, :direction => "ltr", :scope => "L")
269
+ GlobalizeLanguage.create(:id => 1177, :iso_639_1 => "ca", :iso_639_2 => "cat", :iso_639_3 => "cat", :english_name => "Catalan", :native_name => "Català", :macro_language => false, :direction => "ltr", :scope => "L")
270
+ GlobalizeLanguage.create(:id => 1233, :iso_639_1 => "cs", :iso_639_2 => "ces", :iso_639_3 => "ces", :english_name => "Czech", :native_name => "čeština", :macro_language => false, :direction => "ltr", :pluralization => "c%10==1 && c%100!=11 ? 1 : c%10>=2 && c%10<=4 && (c%100<10 || c%100>=20) ? 2 : 3", :scope => "L")
271
+ GlobalizeLanguage.create(:id => 1242, :iso_639_1 => "ch", :iso_639_2 => "cha", :iso_639_3 => "cha", :english_name => "Chamorro", :macro_language => false, :direction => "ltr", :scope => "L")
272
+ GlobalizeLanguage.create(:id => 1246, :iso_639_1 => "ce", :iso_639_2 => "che", :iso_639_3 => "che", :english_name => "Chechen", :macro_language => false, :direction => "ltr", :scope => "L")
273
+ GlobalizeLanguage.create(:id => 1261, :iso_639_1 => "cu", :iso_639_2 => "chu", :iso_639_3 => "chu", :english_name => "Slavic", :english_name_modifier => "Church", :macro_language => false, :direction => "ltr", :scope => "A")
274
+ GlobalizeLanguage.create(:id => 1262, :iso_639_1 => "cv", :iso_639_2 => "chv", :iso_639_3 => "chv", :english_name => "Chuvash", :macro_language => false, :direction => "ltr", :scope => "L")
275
+ GlobalizeLanguage.create(:id => 1372, :iso_639_1 => "kw", :iso_639_2 => "cor", :iso_639_3 => "cor", :english_name => "Cornish", :macro_language => false, :direction => "ltr", :scope => "L")
276
+ GlobalizeLanguage.create(:id => 1373, :iso_639_1 => "co", :iso_639_2 => "cos", :iso_639_3 => "cos", :english_name => "Corsican", :macro_language => false, :direction => "ltr", :scope => "L")
277
+ GlobalizeLanguage.create(:id => 1397, :iso_639_1 => "cr", :iso_639_2 => "cre", :iso_639_3 => "cre", :english_name => "Cree", :macro_language => true, :direction => "ltr", :scope => "L")
278
+ GlobalizeLanguage.create(:id => 1481, :iso_639_1 => "cy", :iso_639_2 => "cym", :iso_639_3 => "cym", :english_name => "Welsh", :native_name => "Cymraeg", :macro_language => false, :direction => "ltr", :scope => "L")
279
+ GlobalizeLanguage.create(:id => 1499, :iso_639_1 => "da", :iso_639_2 => "dan", :iso_639_3 => "dan", :english_name => "Danish", :native_name => "Dansk", :macro_language => false, :direction => "ltr", :pluralization => "c == 1 ? 1 : 2", :scope => "L")
280
+ GlobalizeLanguage.create(:id => 1556, :iso_639_1 => "de", :iso_639_2 => "deu", :iso_639_3 => "deu", :english_name => "German", :native_name => "Deutsch", :macro_language => false, :direction => "ltr", :pluralization => "c == 1 ? 1 : 2", :scope => "L")
281
+ GlobalizeLanguage.create(:id => 1607, :iso_639_1 => "dv", :iso_639_2 => "div", :iso_639_3 => "div", :english_name => "Divehi", :macro_language => false, :direction => "ltr", :scope => "L")
282
+ GlobalizeLanguage.create(:id => 1760, :iso_639_1 => "dz", :iso_639_2 => "dzo", :iso_639_3 => "dzo", :english_name => "Dzongkha", :macro_language => false, :direction => "ltr", :scope => "L")
283
+ GlobalizeLanguage.create(:id => 1793, :iso_639_1 => "el", :iso_639_2 => "ell", :iso_639_3 => "ell", :english_name => "Greek", :english_name_modifier => "Modern (1453-)", :native_name => "Ελληνικά", :macro_language => false, :direction => "ltr", :pluralization => "c == 1 ? 1 : 2", :scope => "L")
284
+ GlobalizeLanguage.create(:id => 1819, :iso_639_1 => "en", :iso_639_2 => "eng", :iso_639_3 => "eng", :english_name => "English", :macro_language => false, :direction => "ltr", :pluralization => "c == 1 ? 1 : 2", :scope => "L")
285
+ GlobalizeLanguage.create(:id => 1831, :iso_639_1 => "eo", :iso_639_2 => "epo", :iso_639_3 => "epo", :english_name => "Esperanto", :macro_language => false, :direction => "ltr", :pluralization => "c == 1 ? 1 : 2", :scope => "C")
286
+ GlobalizeLanguage.create(:id => 1851, :iso_639_1 => "et", :iso_639_2 => "est", :iso_639_3 => "est", :english_name => "Estonian", :native_name => "Eesti", :macro_language => false, :direction => "ltr", :pluralization => "c == 1 ? 1 : 2", :scope => "L")
287
+ GlobalizeLanguage.create(:id => 1865, :iso_639_1 => "eu", :iso_639_2 => "eus", :iso_639_3 => "eus", :english_name => "Basque", :native_name => "euskera", :macro_language => false, :direction => "ltr", :scope => "L")
288
+ GlobalizeLanguage.create(:id => 1869, :iso_639_1 => "ee", :iso_639_2 => "ewe", :iso_639_3 => "ewe", :english_name => "Ewe", :native_name => "Ɛʋɛ", :macro_language => false, :direction => "ltr", :scope => "L")
289
+ GlobalizeLanguage.create(:id => 1886, :iso_639_1 => "fo", :iso_639_2 => "fao", :iso_639_3 => "fao", :english_name => "Faroese", :macro_language => false, :direction => "ltr", :scope => "L")
290
+ GlobalizeLanguage.create(:id => 1889, :iso_639_1 => "fa", :iso_639_2 => "fas", :iso_639_3 => "fas", :english_name => "Persian", :native_name => "فارسی", :macro_language => true, :direction => "ltr", :scope => "L")
291
+ GlobalizeLanguage.create(:id => 1901, :iso_639_1 => "fj", :iso_639_2 => "fij", :iso_639_3 => "fij", :english_name => "Fijian", :macro_language => false, :direction => "ltr", :scope => "L")
292
+ GlobalizeLanguage.create(:id => 1903, :iso_639_1 => "fi", :iso_639_2 => "fin", :iso_639_3 => "fin", :english_name => "Finnish", :native_name => "suomi", :macro_language => false, :direction => "ltr", :pluralization => "c == 1 ? 1 : 2", :scope => "L")
293
+ GlobalizeLanguage.create(:id => 1930, :iso_639_1 => "fr", :iso_639_2 => "fra", :iso_639_3 => "fra", :english_name => "French", :native_name => "Français", :macro_language => false, :direction => "ltr", :pluralization => "c == 1 ? 1 : 2", :scope => "L")
294
+ GlobalizeLanguage.create(:id => 1942, :iso_639_1 => "fy", :iso_639_2 => "fry", :iso_639_3 => "fry", :english_name => "Frisian", :macro_language => true, :direction => "ltr", :scope => "L")
295
+ GlobalizeLanguage.create(:id => 1954, :iso_639_1 => "ff", :iso_639_2 => "ful", :iso_639_3 => "ful", :english_name => "Fulah", :native_name => "Fulfulde, Pulaar, Pular", :macro_language => true, :direction => "ltr", :scope => "L")
296
+ GlobalizeLanguage.create(:id => 2112, :iso_639_1 => "gd", :iso_639_2 => "gla", :iso_639_3 => "gla", :english_name => "Gaelic", :english_name_locale => "Scots", :macro_language => false, :direction => "ltr", :pluralization => "c==1 ? 1 : c==2 ? 2 : 3", :scope => "L")
297
+ GlobalizeLanguage.create(:id => 2115, :iso_639_1 => "ga", :iso_639_2 => "gle", :iso_639_3 => "gle", :english_name => "Irish", :native_name => "Gaeilge", :macro_language => false, :direction => "ltr", :pluralization => "c==1 ? 1 : c==2 ? 2 : 3", :scope => "L")
298
+ GlobalizeLanguage.create(:id => 2116, :iso_639_1 => "gl", :iso_639_2 => "glg", :iso_639_3 => "glg", :english_name => "Gallegan", :native_name => "Galego", :macro_language => false, :direction => "ltr", :scope => "L")
299
+ GlobalizeLanguage.create(:id => 2125, :iso_639_1 => "gv", :iso_639_2 => "glv", :iso_639_3 => "glv", :english_name => "Manx", :macro_language => false, :direction => "ltr", :scope => "E")
300
+ GlobalizeLanguage.create(:id => 2194, :iso_639_1 => "gn", :iso_639_2 => "grn", :iso_639_3 => "grn", :english_name => "Guarani", :macro_language => true, :direction => "ltr", :scope => "L")
301
+ GlobalizeLanguage.create(:id => 2226, :iso_639_1 => "gu", :iso_639_2 => "guj", :iso_639_3 => "guj", :english_name => "Gujarati", :macro_language => false, :direction => "ltr", :scope => "L")
302
+ GlobalizeLanguage.create(:id => 2304, :iso_639_1 => "ht", :iso_639_2 => "hat", :iso_639_3 => "hat", :english_name => "Haitian; Haitian Creole", :macro_language => false, :direction => "ltr", :scope => "L")
303
+ GlobalizeLanguage.create(:id => 2305, :iso_639_1 => "ha", :iso_639_2 => "hau", :iso_639_3 => "hau", :english_name => "Hausa", :native_name => "Hausa", :macro_language => false, :direction => "ltr", :scope => "L")
304
+ GlobalizeLanguage.create(:id => 2315, :iso_639_1 => "sh", :iso_639_3 => "hbs", :english_name => "Serbo-Croatian", :macro_language => true, :direction => "ltr", :scope => "L")
305
+ GlobalizeLanguage.create(:id => 2323, :iso_639_1 => "he", :iso_639_2 => "heb", :iso_639_3 => "heb", :english_name => "Hebrew", :native_name => "עברית", :macro_language => false, :direction => "rtl", :pluralization => "c == 1 ? 1 : 2", :scope => "L")
306
+ GlobalizeLanguage.create(:id => 2329, :iso_639_1 => "hz", :iso_639_2 => "her", :iso_639_3 => "her", :english_name => "Herero", :macro_language => false, :direction => "ltr", :scope => "L")
307
+ GlobalizeLanguage.create(:id => 2343, :iso_639_1 => "hi", :iso_639_2 => "hin", :iso_639_3 => "hin", :english_name => "Hindi", :native_name => "हिंदी", :macro_language => false, :direction => "ltr", :scope => "L")
308
+ GlobalizeLanguage.create(:id => 2370, :iso_639_1 => "ho", :iso_639_2 => "hmo", :iso_639_3 => "hmo", :english_name => "Hiri Motu", :macro_language => false, :direction => "ltr", :scope => "L")
309
+ GlobalizeLanguage.create(:id => 2418, :iso_639_1 => "hr", :iso_639_2 => "hrv", :iso_639_3 => "hrv", :english_name => "Croatian", :native_name => "Hrvatski", :macro_language => false, :direction => "ltr", :pluralization => "c%10==1 && c%100!=11 ? 1 : c%10>=2 && c%10<=4 && (c%100<10 || c%100>=20) ? 2 : 3", :scope => "L")
310
+ GlobalizeLanguage.create(:id => 2443, :iso_639_1 => "hu", :iso_639_2 => "hun", :iso_639_3 => "hun", :english_name => "Hungarian", :native_name => "Magyar", :macro_language => false, :direction => "ltr", :pluralization => "c = 1", :scope => "L")
311
+ GlobalizeLanguage.create(:id => 2466, :iso_639_1 => "hy", :iso_639_2 => "hye", :iso_639_3 => "hye", :english_name => "Armenian", :native_name => "Հայերեն", :macro_language => false, :direction => "ltr", :scope => "L")
312
+ GlobalizeLanguage.create(:id => 2480, :iso_639_1 => "ig", :iso_639_2 => "ibo", :iso_639_3 => "ibo", :english_name => "Igbo", :macro_language => false, :direction => "ltr", :scope => "L")
313
+ GlobalizeLanguage.create(:id => 2494, :iso_639_1 => "io", :iso_639_2 => "ido", :iso_639_3 => "ido", :english_name => "Ido", :macro_language => false, :direction => "ltr", :scope => "C")
314
+ GlobalizeLanguage.create(:id => 2519, :iso_639_1 => "ii", :iso_639_2 => "iii", :iso_639_3 => "iii", :english_name => "Yi", :english_name_modifier => "Sichuan", :macro_language => false, :direction => "ltr", :scope => "L")
315
+ GlobalizeLanguage.create(:id => 2532, :iso_639_1 => "iu", :iso_639_2 => "iku", :iso_639_3 => "iku", :english_name => "Inuktitut", :macro_language => true, :direction => "ltr", :scope => "L")
316
+ GlobalizeLanguage.create(:id => 2539, :iso_639_1 => "ie", :iso_639_2 => "ile", :iso_639_3 => "ile", :english_name => "Interlingue", :macro_language => false, :direction => "ltr", :scope => "C")
317
+ GlobalizeLanguage.create(:id => 2556, :iso_639_1 => "ia", :iso_639_2 => "ina", :iso_639_3 => "ina", :english_name => "Interlingua", :english_name_locale => "International Auxiliary Language Association", :macro_language => false, :direction => "ltr", :scope => "C")
318
+ GlobalizeLanguage.create(:id => 2558, :iso_639_1 => "id", :iso_639_2 => "ind", :iso_639_3 => "ind", :english_name => "Indonesian", :native_name => "Bahasa indonesia", :macro_language => false, :direction => "ltr", :scope => "L")
319
+ GlobalizeLanguage.create(:id => 2574, :iso_639_1 => "ik", :iso_639_2 => "ipk", :iso_639_3 => "ipk", :english_name => "Inupiaq", :macro_language => true, :direction => "ltr", :scope => "L")
320
+ GlobalizeLanguage.create(:id => 2593, :iso_639_1 => "is", :iso_639_2 => "isl", :iso_639_3 => "isl", :english_name => "Icelandic", :native_name => "Íslenska", :macro_language => false, :direction => "ltr", :scope => "L")
321
+ GlobalizeLanguage.create(:id => 2600, :iso_639_1 => "it", :iso_639_2 => "ita", :iso_639_3 => "ita", :english_name => "Italian", :native_name => "italiano", :macro_language => false, :direction => "ltr", :pluralization => "c == 1 ? 1 : 2", :scope => "L")
322
+ GlobalizeLanguage.create(:id => 2652, :iso_639_1 => "jv", :iso_639_2 => "jav", :iso_639_3 => "jav", :english_name => "Javanese", :macro_language => false, :direction => "ltr", :scope => "L")
323
+ GlobalizeLanguage.create(:id => 2723, :iso_639_1 => "ja", :iso_639_2 => "jpn", :iso_639_3 => "jpn", :english_name => "Japanese", :native_name => "日本語", :macro_language => false, :direction => "ltr", :pluralization => "c = 1", :scope => "L")
324
+ GlobalizeLanguage.create(:id => 2763, :iso_639_1 => "kl", :iso_639_2 => "kal", :iso_639_3 => "kal", :english_name => "Kalaallisut", :macro_language => false, :direction => "ltr", :scope => "L")
325
+ GlobalizeLanguage.create(:id => 2765, :iso_639_1 => "kn", :iso_639_2 => "kan", :iso_639_3 => "kan", :english_name => "Kannada", :native_name => "ಕನ್ನಡ", :macro_language => false, :direction => "ltr", :scope => "L")
326
+ GlobalizeLanguage.create(:id => 2769, :iso_639_1 => "ks", :iso_639_2 => "kas", :iso_639_3 => "kas", :english_name => "Kashmiri", :macro_language => false, :direction => "ltr", :scope => "L")
327
+ GlobalizeLanguage.create(:id => 2770, :iso_639_1 => "ka", :iso_639_2 => "kat", :iso_639_3 => "kat", :english_name => "Georgian", :macro_language => false, :direction => "ltr", :scope => "L")
328
+ GlobalizeLanguage.create(:id => 2771, :iso_639_1 => "kr", :iso_639_2 => "kau", :iso_639_3 => "kau", :english_name => "Kanuri", :macro_language => true, :direction => "ltr", :scope => "L")
329
+ GlobalizeLanguage.create(:id => 2776, :iso_639_1 => "kk", :iso_639_2 => "kaz", :iso_639_3 => "kaz", :english_name => "Kazakh", :native_name => "Қазақ", :macro_language => false, :direction => "ltr", :scope => "L")
330
+ GlobalizeLanguage.create(:id => 2939, :iso_639_1 => "km", :iso_639_2 => "khm", :iso_639_3 => "khm", :english_name => "Khmer", :macro_language => false, :direction => "ltr", :scope => "L")
331
+ GlobalizeLanguage.create(:id => 2963, :iso_639_1 => "ki", :iso_639_2 => "kik", :iso_639_3 => "kik", :english_name => "Kikuyu", :macro_language => false, :direction => "ltr", :scope => "L")
332
+ GlobalizeLanguage.create(:id => 2966, :iso_639_1 => "rw", :iso_639_2 => "kin", :iso_639_3 => "kin", :english_name => "Kinyarwanda", :native_name => "Kinyarwanda", :macro_language => false, :direction => "ltr", :scope => "L")
333
+ GlobalizeLanguage.create(:id => 2970, :iso_639_1 => "ky", :iso_639_2 => "kir", :iso_639_3 => "kir", :english_name => "Kirghiz", :native_name => "Кыргыз", :macro_language => false, :direction => "ltr", :scope => "L")
334
+ GlobalizeLanguage.create(:id => 3117, :iso_639_1 => "kv", :iso_639_2 => "kom", :iso_639_3 => "kom", :english_name => "Komi", :macro_language => true, :direction => "ltr", :scope => "L")
335
+ GlobalizeLanguage.create(:id => 3118, :iso_639_1 => "kg", :iso_639_2 => "kon", :iso_639_3 => "kon", :english_name => "Kongo", :macro_language => true, :direction => "ltr", :scope => "L")
336
+ GlobalizeLanguage.create(:id => 3122, :iso_639_1 => "ko", :iso_639_2 => "kor", :iso_639_3 => "kor", :english_name => "Korean", :native_name => "한국어", :macro_language => false, :direction => "ltr", :pluralization => "c = 1", :scope => "L")
337
+ GlobalizeLanguage.create(:id => 3260, :iso_639_1 => "kj", :iso_639_2 => "kua", :iso_639_3 => "kua", :english_name => "Kuanyama", :macro_language => false, :direction => "ltr", :scope => "L")
338
+ GlobalizeLanguage.create(:id => 3276, :iso_639_1 => "ku", :iso_639_2 => "kur", :iso_639_3 => "kur", :english_name => "Kurdish", :macro_language => true, :direction => "ltr", :scope => "L")
339
+ GlobalizeLanguage.create(:id => 3428, :iso_639_1 => "lo", :iso_639_2 => "lao", :iso_639_3 => "lao", :english_name => "Lao", :macro_language => false, :direction => "ltr", :scope => "L")
340
+ GlobalizeLanguage.create(:id => 3433, :iso_639_1 => "la", :iso_639_2 => "lat", :iso_639_3 => "lat", :english_name => "Latin", :macro_language => false, :direction => "ltr", :scope => "A")
341
+ GlobalizeLanguage.create(:id => 3435, :iso_639_1 => "lv", :iso_639_2 => "lav", :iso_639_3 => "lav", :english_name => "Latvian", :native_name => "Latviešu", :macro_language => false, :direction => "ltr", :pluralization => "c%10==1 && c%100!=11 ? 1 : c != 0 ? 2 : 3", :scope => "L")
342
+ GlobalizeLanguage.create(:id => 3546, :iso_639_1 => "li", :iso_639_2 => "lim", :iso_639_3 => "lim", :english_name => "Limburgish", :english_name_modifier => "Limburger", :macro_language => false, :direction => "ltr", :scope => "L")
343
+ GlobalizeLanguage.create(:id => 3547, :iso_639_1 => "ln", :iso_639_2 => "lin", :iso_639_3 => "lin", :english_name => "Lingala", :macro_language => false, :direction => "ltr", :scope => "L")
344
+ GlobalizeLanguage.create(:id => 3553, :iso_639_1 => "lt", :iso_639_2 => "lit", :iso_639_3 => "lit", :english_name => "Lithuanian", :native_name => "Lietuviškai", :macro_language => false, :direction => "ltr", :pluralization => "c%10==1 && c%100!=11 ? 1 : c%10>=2 && (c%100<10 || c%100>=20) ? 2 : 3", :scope => "L")
345
+ GlobalizeLanguage.create(:id => 3687, :iso_639_1 => "lb", :iso_639_2 => "ltz", :iso_639_3 => "ltz", :english_name => "Letzeburgesch", :macro_language => false, :direction => "ltr", :scope => "L")
346
+ GlobalizeLanguage.create(:id => 3689, :iso_639_1 => "lu", :iso_639_2 => "lub", :iso_639_3 => "lub", :english_name => "Luba-Katanga", :macro_language => false, :direction => "ltr", :scope => "L")
347
+ GlobalizeLanguage.create(:id => 3694, :iso_639_1 => "lg", :iso_639_2 => "lug", :iso_639_3 => "lug", :english_name => "Ganda", :macro_language => false, :direction => "ltr", :scope => "L")
348
+ GlobalizeLanguage.create(:id => 3732, :iso_639_1 => "mh", :iso_639_2 => "mah", :iso_639_3 => "mah", :english_name => "Marshall", :macro_language => false, :direction => "ltr", :scope => "L")
349
+ GlobalizeLanguage.create(:id => 3736, :iso_639_1 => "ml", :iso_639_2 => "mal", :iso_639_3 => "mal", :english_name => "Malayalam", :macro_language => false, :direction => "ltr", :scope => "L")
350
+ GlobalizeLanguage.create(:id => 3740, :iso_639_1 => "mr", :iso_639_2 => "mar", :iso_639_3 => "mar", :english_name => "Marathi", :macro_language => false, :direction => "ltr", :scope => "L")
351
+ GlobalizeLanguage.create(:id => 3981, :iso_639_1 => "mk", :iso_639_2 => "mkd", :iso_639_3 => "mkd", :english_name => "Macedonian", :native_name => "Македонски", :macro_language => false, :direction => "ltr", :scope => "L")
352
+ GlobalizeLanguage.create(:id => 4009, :iso_639_1 => "mg", :iso_639_2 => "mlg", :iso_639_3 => "mlg", :english_name => "Malagasy", :macro_language => true, :direction => "ltr", :scope => "L")
353
+ GlobalizeLanguage.create(:id => 4022, :iso_639_1 => "mt", :iso_639_2 => "mlt", :iso_639_3 => "mlt", :english_name => "Maltese", :native_name => "Malti", :macro_language => false, :direction => "ltr", :scope => "L")
354
+ GlobalizeLanguage.create(:id => 4091, :iso_639_1 => "mo", :iso_639_2 => "mol", :iso_639_3 => "mol", :english_name => "Moldavian", :macro_language => false, :direction => "ltr", :scope => "L")
355
+ GlobalizeLanguage.create(:id => 4093, :iso_639_1 => "mn", :iso_639_2 => "mon", :iso_639_3 => "mon", :english_name => "Mongolian", :macro_language => true, :direction => "ltr", :scope => "L")
356
+ GlobalizeLanguage.create(:id => 4166, :iso_639_1 => "mi", :iso_639_2 => "mri", :iso_639_3 => "mri", :english_name => "Maori", :macro_language => false, :direction => "ltr", :scope => "L")
357
+ GlobalizeLanguage.create(:id => 4184, :iso_639_1 => "ms", :iso_639_2 => "msa", :iso_639_3 => "msa", :english_name => "Malay", :english_name_locale => "generic", :native_name => "Bahasa melayu", :macro_language => true, :direction => "ltr", :scope => "L")
358
+ GlobalizeLanguage.create(:id => 4338, :iso_639_1 => "my", :iso_639_2 => "mya", :iso_639_3 => "mya", :english_name => "Burmese", :macro_language => false, :direction => "ltr", :scope => "L")
359
+ GlobalizeLanguage.create(:id => 4406, :iso_639_1 => "na", :iso_639_2 => "nau", :iso_639_3 => "nau", :english_name => "Nauru", :macro_language => false, :direction => "ltr", :scope => "L")
360
+ GlobalizeLanguage.create(:id => 4407, :iso_639_1 => "nv", :iso_639_2 => "nav", :iso_639_3 => "nav", :english_name => "Navajo", :macro_language => false, :direction => "ltr", :scope => "L")
361
+ GlobalizeLanguage.create(:id => 4423, :iso_639_1 => "nr", :iso_639_2 => "nbl", :iso_639_3 => "nbl", :english_name => "Ndebele", :english_name_modifier => "South", :macro_language => false, :direction => "ltr", :scope => "L")
362
+ GlobalizeLanguage.create(:id => 4463, :iso_639_1 => "nd", :iso_639_2 => "nde", :iso_639_3 => "nde", :english_name => "Ndebele", :english_name_modifier => "North", :macro_language => false, :direction => "ltr", :scope => "L")
363
+ GlobalizeLanguage.create(:id => 4473, :iso_639_1 => "ng", :iso_639_2 => "ndo", :iso_639_3 => "ndo", :english_name => "Ndonga", :macro_language => false, :direction => "ltr", :scope => "L")
364
+ GlobalizeLanguage.create(:id => 4499, :iso_639_1 => "ne", :iso_639_2 => "nep", :iso_639_3 => "nep", :english_name => "Nepali", :macro_language => false, :direction => "ltr", :scope => "L")
365
+ GlobalizeLanguage.create(:id => 4628, :iso_639_1 => "nl", :iso_639_2 => "nld", :iso_639_3 => "nld", :english_name => "Dutch", :native_name => "Nederlands", :macro_language => false, :direction => "ltr", :pluralization => "c == 1 ? 1 : 2", :scope => "L")
366
+ GlobalizeLanguage.create(:id => 4682, :iso_639_1 => "nn", :iso_639_2 => "nno", :iso_639_3 => "nno", :english_name => "Norwegian Nynorsk", :macro_language => false, :direction => "ltr", :scope => "L")
367
+ GlobalizeLanguage.create(:id => 4695, :iso_639_1 => "nb", :iso_639_2 => "nob", :iso_639_3 => "nob", :english_name => "Norwegian Bokmål", :macro_language => false, :direction => "ltr", :scope => "L")
368
+ GlobalizeLanguage.create(:id => 4709, :iso_639_1 => "no", :iso_639_2 => "nor", :iso_639_3 => "nor", :english_name => "Norwegian", :native_name => "Norsk", :macro_language => true, :direction => "ltr", :pluralization => "c == 1 ? 1 : 2", :scope => "L")
369
+ GlobalizeLanguage.create(:id => 4821, :iso_639_1 => "ny", :iso_639_2 => "nya", :iso_639_3 => "nya", :english_name => "Chichewa; Nyanja", :macro_language => false, :direction => "ltr", :scope => "L")
370
+ GlobalizeLanguage.create(:id => 4867, :iso_639_1 => "oc", :iso_639_2 => "oci", :iso_639_3 => "oci", :english_name => "Occitan", :english_name_locale => "post 1500", :macro_language => true, :direction => "ltr", :scope => "L")
371
+ GlobalizeLanguage.create(:id => 4891, :iso_639_1 => "oj", :iso_639_2 => "oji", :iso_639_3 => "oji", :english_name => "Ojibwa", :macro_language => true, :direction => "ltr", :scope => "L")
372
+ GlobalizeLanguage.create(:id => 4965, :iso_639_1 => "or", :iso_639_2 => "ori", :iso_639_3 => "ori", :english_name => "Oriya", :macro_language => false, :direction => "ltr", :scope => "L")
373
+ GlobalizeLanguage.create(:id => 4967, :iso_639_1 => "om", :iso_639_2 => "orm", :iso_639_3 => "orm", :english_name => "Oromo", :macro_language => true, :direction => "ltr", :scope => "L")
374
+ GlobalizeLanguage.create(:id => 4984, :iso_639_1 => "os", :iso_639_2 => "oss", :iso_639_3 => "oss", :english_name => "Ossetian; Ossetic", :macro_language => false, :direction => "ltr", :scope => "L")
375
+ GlobalizeLanguage.create(:id => 5031, :iso_639_1 => "pa", :iso_639_2 => "pan", :iso_639_3 => "pan", :english_name => "Panjabi", :macro_language => false, :direction => "ltr", :scope => "L")
376
+ GlobalizeLanguage.create(:id => 5176, :iso_639_1 => "pi", :iso_639_2 => "pli", :iso_639_3 => "pli", :english_name => "Pali", :macro_language => false, :direction => "ltr", :scope => "A")
377
+ GlobalizeLanguage.create(:id => 5244, :iso_639_1 => "pl", :iso_639_2 => "pol", :iso_639_3 => "pol", :english_name => "Polish", :native_name => "Polski", :macro_language => false, :direction => "ltr", :pluralization => "c==1 ? 1 : c%10>=2 && c%10<=4 && (c%100<10 || c%100>=20) ? 2 : 3", :scope => "L")
378
+ GlobalizeLanguage.create(:id => 5250, :iso_639_1 => "pt", :iso_639_2 => "por", :iso_639_3 => "por", :english_name => "Portuguese", :native_name => "português", :macro_language => false, :direction => "ltr", :pluralization => "c == 1 ? 1 : 2", :scope => "L")
379
+ GlobalizeLanguage.create(:id => 5343, :iso_639_1 => "ps", :iso_639_2 => "pus", :iso_639_3 => "pus", :english_name => "Pushto", :native_name => "پښتو", :macro_language => true, :direction => "ltr", :scope => "L")
380
+ GlobalizeLanguage.create(:id => 5368, :iso_639_1 => "qu", :iso_639_2 => "que", :iso_639_3 => "que", :english_name => "Quechua", :macro_language => true, :direction => "ltr", :scope => "L")
381
+ GlobalizeLanguage.create(:id => 5525, :iso_639_1 => "rm", :iso_639_2 => "roh", :iso_639_3 => "roh", :english_name => "Raeto-Romance", :macro_language => false, :direction => "ltr", :scope => "L")
382
+ GlobalizeLanguage.create(:id => 5528, :iso_639_1 => "ro", :iso_639_2 => "ron", :iso_639_3 => "ron", :english_name => "Romanian", :native_name => "Română", :macro_language => false, :direction => "ltr", :scope => "L")
383
+ GlobalizeLanguage.create(:id => 5552, :iso_639_1 => "rn", :iso_639_2 => "run", :iso_639_3 => "run", :english_name => "Rundi", :native_name => "Kirundi", :macro_language => false, :direction => "ltr", :scope => "L")
384
+ GlobalizeLanguage.create(:id => 5556, :iso_639_1 => "ru", :iso_639_2 => "rus", :iso_639_3 => "rus", :english_name => "Russian", :native_name => "Pyccĸий", :macro_language => false, :direction => "ltr", :pluralization => "c%10==1 && c%100!=11 ? 1 : c%10>=2 && c%10<=4 && (c%100<10 || c%100>=20) ? 2 : 3", :scope => "L")
385
+ GlobalizeLanguage.create(:id => 5576, :iso_639_1 => "sg", :iso_639_2 => "sag", :iso_639_3 => "sag", :english_name => "Sango", :macro_language => false, :direction => "ltr", :scope => "L")
386
+ GlobalizeLanguage.create(:id => 5581, :iso_639_1 => "sa", :iso_639_2 => "san", :iso_639_3 => "san", :english_name => "Sanskrit", :macro_language => false, :direction => "ltr", :scope => "A")
387
+ GlobalizeLanguage.create(:id => 5738, :iso_639_1 => "si", :iso_639_2 => "sin", :iso_639_3 => "sin", :english_name => "Sinhalese", :macro_language => false, :direction => "ltr", :scope => "L")
388
+ GlobalizeLanguage.create(:id => 5800, :iso_639_1 => "sk", :iso_639_2 => "slk", :iso_639_3 => "slk", :english_name => "Slovak", :native_name => "Slovenčina", :macro_language => false, :direction => "ltr", :pluralization => "c%10==1 && c%100!=11 ? 1 : c%10>=2 && c%10<=4 && (c%100<10 || c%100>=20) ? 2 : 3", :scope => "L")
389
+ GlobalizeLanguage.create(:id => 5810, :iso_639_1 => "sl", :iso_639_2 => "slv", :iso_639_3 => "slv", :english_name => "Slovenian", :native_name => "Slovenščina", :macro_language => false, :direction => "ltr", :pluralization => "c%100==1 ? 1 : c%100==2 ? 2 : c%100==3 || c%100==4 ? 3 : 4", :scope => "L")
390
+ GlobalizeLanguage.create(:id => 5819, :iso_639_1 => "se", :iso_639_2 => "sme", :iso_639_3 => "sme", :english_name => "Northern Sami", :macro_language => false, :direction => "ltr", :scope => "L")
391
+ GlobalizeLanguage.create(:id => 5828, :iso_639_1 => "sm", :iso_639_2 => "smo", :iso_639_3 => "smo", :english_name => "Samoan", :macro_language => false, :direction => "ltr", :scope => "L")
392
+ GlobalizeLanguage.create(:id => 5840, :iso_639_1 => "sn", :iso_639_2 => "sna", :iso_639_3 => "sna", :english_name => "Shona", :macro_language => false, :direction => "ltr", :scope => "L")
393
+ GlobalizeLanguage.create(:id => 5843, :iso_639_1 => "sd", :iso_639_2 => "snd", :iso_639_3 => "snd", :english_name => "Sindhi", :macro_language => false, :direction => "ltr", :scope => "L")
394
+ GlobalizeLanguage.create(:id => 5876, :iso_639_1 => "so", :iso_639_2 => "som", :iso_639_3 => "som", :english_name => "Somali", :native_name => "Somali", :macro_language => false, :direction => "ltr", :scope => "L")
395
+ GlobalizeLanguage.create(:id => 5882, :iso_639_1 => "st", :iso_639_2 => "sot", :iso_639_3 => "sot", :english_name => "Sotho", :english_name_modifier => "Southern", :macro_language => false, :direction => "ltr", :scope => "L")
396
+ GlobalizeLanguage.create(:id => 5889, :iso_639_1 => "es", :iso_639_2 => "spa", :iso_639_3 => "spa", :english_name => "Spanish", :native_name => "Español", :macro_language => false, :direction => "ltr", :pluralization => "c == 1 ? 1 : 2", :scope => "L")
397
+ GlobalizeLanguage.create(:id => 5910, :iso_639_1 => "sq", :iso_639_2 => "sqi", :iso_639_3 => "sqi", :english_name => "Albanian", :native_name => "shqip", :macro_language => true, :direction => "ltr", :scope => "L")
398
+ GlobalizeLanguage.create(:id => 5921, :iso_639_1 => "sc", :iso_639_2 => "srd", :iso_639_3 => "srd", :english_name => "Sardinian", :macro_language => true, :direction => "ltr", :scope => "L")
399
+ GlobalizeLanguage.create(:id => 5933, :iso_639_1 => "sr", :iso_639_2 => "srp", :iso_639_3 => "srp", :english_name => "Serbian", :native_name => "Srpski", :macro_language => false, :direction => "ltr", :scope => "L")
400
+ GlobalizeLanguage.create(:id => 5964, :iso_639_1 => "ss", :iso_639_2 => "ssw", :iso_639_3 => "ssw", :english_name => "Swati", :macro_language => false, :direction => "ltr", :scope => "L")
401
+ GlobalizeLanguage.create(:id => 6002, :iso_639_1 => "su", :iso_639_2 => "sun", :iso_639_3 => "sun", :english_name => "Sundanese", :macro_language => false, :direction => "ltr", :scope => "L")
402
+ GlobalizeLanguage.create(:id => 6021, :iso_639_1 => "sw", :iso_639_2 => "swa", :iso_639_3 => "swa", :english_name => "Swahili", :english_name_locale => "generic", :native_name => "Kiswahili", :macro_language => true, :direction => "ltr", :scope => "L")
403
+ GlobalizeLanguage.create(:id => 6024, :iso_639_1 => "sv", :iso_639_2 => "swe", :iso_639_3 => "swe", :english_name => "Swedish", :native_name => "svenska", :macro_language => false, :direction => "ltr", :pluralization => "c == 1 ? 1 : 2", :scope => "L")
404
+ GlobalizeLanguage.create(:id => 6086, :iso_639_1 => "ty", :iso_639_2 => "tah", :iso_639_3 => "tah", :english_name => "Tahitian", :macro_language => false, :direction => "ltr", :scope => "L")
405
+ GlobalizeLanguage.create(:id => 6090, :iso_639_1 => "ta", :iso_639_2 => "tam", :iso_639_3 => "tam", :english_name => "Tamil", :macro_language => false, :direction => "ltr", :scope => "L")
406
+ GlobalizeLanguage.create(:id => 6097, :iso_639_1 => "tt", :iso_639_2 => "tat", :iso_639_3 => "tat", :english_name => "Tatar", :macro_language => false, :direction => "ltr", :scope => "L")
407
+ GlobalizeLanguage.create(:id => 6182, :iso_639_1 => "te", :iso_639_2 => "tel", :iso_639_3 => "tel", :english_name => "Telugu", :native_name => "తెలుగు", :macro_language => false, :direction => "ltr", :scope => "L")
408
+ GlobalizeLanguage.create(:id => 6210, :iso_639_1 => "tg", :iso_639_2 => "tgk", :iso_639_3 => "tgk", :english_name => "Tajik", :macro_language => false, :direction => "ltr", :scope => "L")
409
+ GlobalizeLanguage.create(:id => 6211, :iso_639_1 => "tl", :iso_639_2 => "tgl", :iso_639_3 => "tgl", :english_name => "Tagalog", :macro_language => false, :direction => "ltr", :scope => "L")
410
+ GlobalizeLanguage.create(:id => 6223, :iso_639_1 => "th", :iso_639_2 => "tha", :iso_639_3 => "tha", :english_name => "Thai", :native_name => "ภาษาไทย", :macro_language => false, :direction => "ltr", :scope => "L")
411
+ GlobalizeLanguage.create(:id => 6260, :iso_639_1 => "ti", :iso_639_2 => "tir", :iso_639_3 => "tir", :english_name => "Tigrinya", :macro_language => false, :direction => "ltr", :scope => "L")
412
+ GlobalizeLanguage.create(:id => 6383, :iso_639_1 => "to", :iso_639_2 => "ton", :iso_639_3 => "ton", :english_name => "Tonga", :english_name_locale => "Tonga Islands", :macro_language => false, :direction => "ltr", :scope => "L")
413
+ GlobalizeLanguage.create(:id => 6466, :iso_639_1 => "tn", :iso_639_2 => "tsn", :iso_639_3 => "tsn", :english_name => "Tswana", :macro_language => false, :direction => "ltr", :scope => "L")
414
+ GlobalizeLanguage.create(:id => 6467, :iso_639_1 => "ts", :iso_639_2 => "tso", :iso_639_3 => "tso", :english_name => "Tsonga", :macro_language => false, :direction => "ltr", :scope => "L")
415
+ GlobalizeLanguage.create(:id => 6513, :iso_639_1 => "tk", :iso_639_2 => "tuk", :iso_639_3 => "tuk", :english_name => "Turkmen", :macro_language => false, :direction => "ltr", :scope => "L")
416
+ GlobalizeLanguage.create(:id => 6519, :iso_639_1 => "tr", :iso_639_2 => "tur", :iso_639_3 => "tur", :english_name => "Turkish", :native_name => "Tϋrkçe", :macro_language => false, :direction => "ltr", :pluralization => "c = 1", :scope => "L")
417
+ GlobalizeLanguage.create(:id => 6546, :iso_639_1 => "tw", :iso_639_2 => "twi", :iso_639_3 => "twi", :english_name => "Twi", :macro_language => false, :direction => "ltr", :scope => "L")
418
+ GlobalizeLanguage.create(:id => 6630, :iso_639_1 => "ug", :iso_639_2 => "uig", :iso_639_3 => "uig", :english_name => "Uighur", :macro_language => false, :direction => "ltr", :scope => "L")
419
+ GlobalizeLanguage.create(:id => 6640, :iso_639_1 => "uk", :iso_639_2 => "ukr", :iso_639_3 => "ukr", :english_name => "Ukrainian", :native_name => "Українська", :macro_language => false, :direction => "ltr", :pluralization => "c%10==1 && c%100!=11 ? 1 : c%10>=2 && c%10<=4 && (c%100<10 || c%100>=20) ? 2 : 3", :scope => "L")
420
+ GlobalizeLanguage.create(:id => 6679, :iso_639_1 => "ur", :iso_639_2 => "urd", :iso_639_3 => "urd", :english_name => "Urdu", :native_name => "اردو", :macro_language => false, :direction => "ltr", :scope => "L")
421
+ GlobalizeLanguage.create(:id => 6719, :iso_639_1 => "uz", :iso_639_2 => "uzb", :iso_639_3 => "uzb", :english_name => "Uzbek", :native_name => "o'zbek", :macro_language => true, :direction => "ltr", :scope => "L")
422
+ GlobalizeLanguage.create(:id => 6744, :iso_639_1 => "ve", :iso_639_2 => "ven", :iso_639_3 => "ven", :english_name => "Venda", :macro_language => false, :direction => "ltr", :scope => "L")
423
+ GlobalizeLanguage.create(:id => 6751, :iso_639_1 => "vi", :iso_639_2 => "vie", :iso_639_3 => "vie", :english_name => "Vietnamese", :native_name => "Tiếng Việt", :macro_language => false, :direction => "ltr", :scope => "L")
424
+ GlobalizeLanguage.create(:id => 6800, :iso_639_1 => "vo", :iso_639_2 => "vol", :iso_639_3 => "vol", :english_name => "Volapük", :macro_language => false, :direction => "ltr", :scope => "C")
425
+ GlobalizeLanguage.create(:id => 6911, :iso_639_1 => "wa", :iso_639_2 => "wln", :iso_639_3 => "wln", :english_name => "Walloon", :macro_language => false, :direction => "ltr", :scope => "L")
426
+ GlobalizeLanguage.create(:id => 6952, :iso_639_1 => "wo", :iso_639_2 => "wol", :iso_639_3 => "wol", :english_name => "Wolof", :native_name => "Wolof", :macro_language => false, :direction => "ltr", :scope => "L")
427
+ GlobalizeLanguage.create(:id => 7078, :iso_639_1 => "xh", :iso_639_2 => "xho", :iso_639_3 => "xho", :english_name => "Xhosa", :macro_language => false, :direction => "ltr", :scope => "L")
428
+ GlobalizeLanguage.create(:id => 7324, :iso_639_1 => "yi", :iso_639_2 => "yid", :iso_639_3 => "yid", :english_name => "Yiddish", :macro_language => true, :direction => "ltr", :scope => "L")
429
+ GlobalizeLanguage.create(:id => 7481, :iso_639_1 => "za", :iso_639_2 => "zha", :iso_639_3 => "zha", :english_name => "Zhuang", :macro_language => true, :direction => "ltr", :scope => "L")
430
+ GlobalizeLanguage.create(:id => 7484, :iso_639_1 => "zh", :iso_639_2 => "zho", :iso_639_3 => "zho", :english_name => "Chinese", :native_name => "中文", :macro_language => true, :direction => "ltr", :scope => "L")
431
+ GlobalizeLanguage.create(:id => 7594, :iso_639_1 => "zu", :iso_639_2 => "zul", :iso_639_3 => "zul", :english_name => "Zulu", :native_name => "isiZulu", :macro_language => false, :direction => "ltr", :scope => "L")
432
+ GlobalizeLanguage.create(:id => 7595, :rfc_3066 => "zh-Hant", :english_name => "Traditional Chinese", :macro_language => false, :direction => "ltr", :scope => "L")
433
+ GlobalizeLanguage.create(:id => 7596, :rfc_3066 => "zh-Hans", :english_name => "Simplified Chinese", :macro_language => false, :direction => "ltr", :scope => "L")