Skip to content

Instantly share code, notes, and snippets.

@0xPr0xy
Created September 27, 2011 13:33
Show Gist options
  • Save 0xPr0xy/1245047 to your computer and use it in GitHub Desktop.
Save 0xPr0xy/1245047 to your computer and use it in GitHub Desktop.
Install all locales
#! /bin/sh
cd /usr/share/locales
./install-language-pack eo.UTF-8
./install-language-pack ia.UTF-8
./install-language-pack ie.UTF-8
./install-language-pack io.UTF-8
./install-language-pack vo.UTF-8
./install-language-pack ca.UTF-8
./install-language-pack fr_AD.UTF-8
./install-language-pack ar_AE.UTF-8
./install-language-pack fa_AF.UTF-8
./install-language-pack ps.UTF-8
./install-language-pack ug.UTF-8
./install-language-pack uz_AF.UTF-8
./install-language-pack en_AG.UTF-8
./install-language-pack en_AI.UTF-8
./install-language-pack sq.UTF-8
./install-language-pack hy.UTF-8
./install-language-pack nl_AN.UTF-8
./install-language-pack kg.UTF-8
./install-language-pack kj.UTF-8
./install-language-pack pt_AO.UTF-8
./install-language-pack cy_AR.UTF-8
./install-language-pack es_AR.UTF-8
./install-language-pack gn.UTF-8
./install-language-pack en_AS.UTF-8
./install-language-pack sm.UTF-8
./install-language-pack de_AT.UTF-8
./install-language-pack hu.UTF-8
./install-language-pack en_AU.UTF-8
./install-language-pack nl_AW.UTF-8
./install-language-pack sv_AX.UTF-8
./install-language-pack av.UTF-8
./install-language-pack az.UTF-8
./install-language-pack os.UTF-8
./install-language-pack bs.UTF-8
./install-language-pack hr_BA.UTF-8
./install-language-pack sr_BA.UTF-8
./install-language-pack en_BB.UTF-8
./install-language-pack bn_BD.UTF-8
./install-language-pack de_BE.UTF-8
./install-language-pack en_BE.UTF-8
./install-language-pack fr_BE.UTF-8
./install-language-pack nl_BE.UTF-8
./install-language-pack wa.UTF-8
./install-language-pack yi.UTF-8
./install-language-pack bm.UTF-8
./install-language-pack fr_BF.UTF-8
./install-language-pack ha.UTF-8
./install-language-pack bg.UTF-8
./install-language-pack cu.UTF-8
./install-language-pack tr_BG.UTF-8
./install-language-pack ar_BH.UTF-8
./install-language-pack fr_BI.UTF-8
./install-language-pack rn.UTF-8
./install-language-pack fr_BJ.UTF-8
./install-language-pack en_BM.UTF-8
./install-language-pack en_BN.UTF-8
./install-language-pack ms_BN.UTF-8
./install-language-pack ay.UTF-8
./install-language-pack es_BO.UTF-8
./install-language-pack pt_BR.UTF-8
./install-language-pack en_BS.UTF-8
./install-language-pack dz.UTF-8
./install-language-pack ne.UTF-8
./install-language-pack en_BW.UTF-8
./install-language-pack sn.UTF-8
./install-language-pack tn_BW.UTF-8
./install-language-pack be.UTF-8
./install-language-pack cu.UTF-8
./install-language-pack yi.UTF-8
./install-language-pack en_BZ.UTF-8
./install-language-pack cr.UTF-8
./install-language-pack en_CA.UTF-8
./install-language-pack fr_CA.UTF-8
./install-language-pack iu.UTF-8
./install-language-pack oj.UTF-8
./install-language-pack yi.UTF-8
./install-language-pack ms_CC.UTF-8
./install-language-pack fr_CD.UTF-8
./install-language-pack kg.UTF-8
./install-language-pack ln_CD.UTF-8
./install-language-pack lu.UTF-8
./install-language-pack fr_CF.UTF-8
./install-language-pack sg.UTF-8
./install-language-pack fr_CG.UTF-8
./install-language-pack kg.UTF-8
./install-language-pack ln_CG.UTF-8
./install-language-pack de_CH.UTF-8
./install-language-pack fr_CH.UTF-8
./install-language-pack it_CH.UTF-8
./install-language-pack rm.UTF-8
./install-language-pack ak.UTF-8
./install-language-pack bm.UTF-8
./install-language-pack fr_CI.UTF-8
./install-language-pack en_CK.UTF-8
./install-language-pack ay.UTF-8
./install-language-pack es_CL.UTF-8
./install-language-pack en_CM.UTF-8
./install-language-pack fr_CM.UTF-8
./install-language-pack bo.UTF-8
./install-language-pack ii.UTF-8
./install-language-pack za.UTF-8
./install-language-pack zh_CN.UTF-8
./install-language-pack es_CO.UTF-8
./install-language-pack es_CR.UTF-8
./install-language-pack cu.UTF-8
./install-language-pack hu.UTF-8
./install-language-pack sq.UTF-8
./install-language-pack sr.UTF-8
./install-language-pack es_CU.UTF-8
./install-language-pack pt_CV.UTF-8
./install-language-pack ms_CC.UTF-8
./install-language-pack el_CY.UTF-8
./install-language-pack tr_CY.UTF-8
./install-language-pack cs.UTF-8
./install-language-pack da_DE.UTF-8
./install-language-pack da_DE.UTF-8
./install-language-pack de_DE.UTF-8
./install-language-pack dsb.UTF-8
./install-language-pack fy_DE.UTF-8
./install-language-pack hsb.UTF-8
./install-language-pack lb.UTF-8
./install-language-pack nds.UTF-8
./install-language-pack wen.UTF-8
./install-language-pack yi.UTF-8
./install-language-pack aa_DJ.UTF-8
./install-language-pack fr_DJ.UTF-8
./install-language-pack so_DJ.UTF-8
./install-language-pack da_DK.UTF-8
./install-language-pack de_DK.UTF-8
./install-language-pack en_DM.UTF-8
./install-language-pack es_DO.UTF-8
./install-language-pack ar_DZ.UTF-8
./install-language-pack es_EC.UTF-8
./install-language-pack et.UTF-8
./install-language-pack yi.UTF-8
./install-language-pack ar_EG.UTF-8
./install-language-pack aa_ER.UTF-8
./install-language-pack byn.UTF-8
./install-language-pack en_ER.UTF-8
./install-language-pack gez_ER.UTF-8
./install-language-pack ti_ER.UTF-8
./install-language-pack tig.UTF-8
./install-language-pack an.UTF-8
./install-language-pack ca.UTF-8
./install-language-pack es_ES.UTF-8
./install-language-pack eu.UTF-8
./install-language-pack gl.UTF-8
./install-language-pack aa_ET.UTF-8
./install-language-pack am.UTF-8
./install-language-pack en_ET.UTF-8
./install-language-pack gez_ET.UTF-8
./install-language-pack om_ET.UTF-8
./install-language-pack sid.UTF-8
./install-language-pack so_ET.UTF-8
./install-language-pack ti_ET.UTF-8
./install-language-pack wal.UTF-8
./install-language-pack fi_FI.UTF-8
./install-language-pack smn.UTF-8
./install-language-pack sv_FI.UTF-8
./install-language-pack en_FJ.UTF-8
./install-language-pack fj.UTF-8
./install-language-pack en_FK.UTF-8
./install-language-pack en_FM.UTF-8
./install-language-pack da_FO.UTF-8
./install-language-pack fo.UTF-8
./install-language-pack br.UTF-8
./install-language-pack co.UTF-8
./install-language-pack de_FR.UTF-8
./install-language-pack fr_FR.UTF-8
./install-language-pack oc.UTF-8
./install-language-pack fr_GA.UTF-8
./install-language-pack cy_GB.UTF-8
./install-language-pack en_GB.UTF-8
./install-language-pack fr_GB.UTF-8
./install-language-pack ga_GB.UTF-8
./install-language-pack gd.UTF-8
./install-language-pack gv.UTF-8
./install-language-pack kw.UTF-8
./install-language-pack en_GD.UTF-8
./install-language-pack ab.UTF-8
./install-language-pack ka.UTF-8
./install-language-pack os.UTF-8
./install-language-pack fr_GF.UTF-8
./install-language-pack ak.UTF-8
./install-language-pack ee.UTF-8
./install-language-pack en_GH.UTF-8
./install-language-pack tw.UTF-8
./install-language-pack en_GI.UTF-8
./install-language-pack da_GL.UTF-8
./install-language-pack kl.UTF-8
./install-language-pack bm.UTF-8
./install-language-pack en_GM.UTF-8
./install-language-pack wo.UTF-8
./install-language-pack fr_GN.UTF-8
./install-language-pack fr_GP.UTF-8
./install-language-pack es_GQ.UTF-8
./install-language-pack el_GR.UTF-8
./install-language-pack es_GT.UTF-8
./install-language-pack ch_GU.UTF-8
./install-language-pack en_GU.UTF-8
./install-language-pack pt_GW.UTF-8
./install-language-pack en_GY.UTF-8
./install-language-pack en_HK.UTF-8
./install-language-pack zh_Hant_HK.UTF-8
./install-language-pack zh_HK.UTF-8
./install-language-pack es_HN.UTF-8
./install-language-pack hr_HR.UTF-8
./install-language-pack it_HR.UTF-8
./install-language-pack fr_HT.UTF-8
./install-language-pack ht.UTF-8
./install-language-pack de_HU.UTF-8
./install-language-pack hu_HU.UTF-8
./install-language-pack sk_HU.UTF-8
./install-language-pack sr_HU.UTF-8
./install-language-pack id.UTF-8
./install-language-pack jv.UTF-8
./install-language-pack su.UTF-8
./install-language-pack en_IE.UTF-8
./install-language-pack ga_IE.UTF-8
./install-language-pack ar_IL.UTF-8
./install-language-pack en_IL.UTF-8
./install-language-pack he.UTF-8
./install-language-pack yi.UTF-8
./install-language-pack ar_IN.UTF-8
./install-language-pack as.UTF-8
./install-language-pack bh.UTF-8
./install-language-pack bn_IN.UTF-8
./install-language-pack en_IN.UTF-8
./install-language-pack gu.UTF-8
./install-language-pack hi.UTF-8
./install-language-pack kn.UTF-8
./install-language-pack kok.UTF-8
./install-language-pack ks.UTF-8
./install-language-pack ml.UTF-8
./install-language-pack mr.UTF-8
./install-language-pack ne.UTF-8
./install-language-pack or.UTF-8
./install-language-pack pa.UTF-8
./install-language-pack pi.UTF-8
./install-language-pack sa.UTF-8
./install-language-pack sd_IN.UTF-8
./install-language-pack ta_IN.UTF-8
./install-language-pack te.UTF-8
./install-language-pack ur_IN.UTF-8
./install-language-pack en_IO.UTF-8
./install-language-pack ar_IQ.UTF-8
./install-language-pack ku.UTF-8
./install-language-pack ae.UTF-8
./install-language-pack fa_IR.UTF-8
./install-language-pack ku.UTF-8
./install-language-pack is.UTF-8
./install-language-pack co.UTF-8
./install-language-pack de_IT.UTF-8
./install-language-pack fr_IT.UTF-8
./install-language-pack it_IT.UTF-8
./install-language-pack sc.UTF-8
./install-language-pack en_JM.UTF-8
./install-language-pack ar_JO.UTF-8
./install-language-pack ja.UTF-8
./install-language-pack en_KE.UTF-8
./install-language-pack ki.UTF-8
./install-language-pack om_KE.UTF-8
./install-language-pack so_KE.UTF-8
./install-language-pack sw_KE.UTF-8
./install-language-pack ky.UTF-8
./install-language-pack ug.UTF-8
./install-language-pack km.UTF-8
./install-language-pack en_KI.UTF-8
./install-language-pack fr_KM.UTF-8
./install-language-pack en_KN.UTF-8
./install-language-pack ko_KP.UTF-8
./install-language-pack ko_KR.UTF-8
./install-language-pack ar_KW.UTF-8
./install-language-pack en_KY.UTF-8
./install-language-pack av.UTF-8
./install-language-pack kk.UTF-8
./install-language-pack os.UTF-8
./install-language-pack ug.UTF-8
./install-language-pack lo.UTF-8
./install-language-pack ar_LB.UTF-8
./install-language-pack fr_LB.UTF-8
./install-language-pack en_LC.UTF-8
./install-language-pack de_LI.UTF-8
./install-language-pack si.UTF-8
./install-language-pack en_LR.UTF-8
./install-language-pack en_LS.UTF-8
./install-language-pack st.UTF-8
./install-language-pack xh.UTF-8
./install-language-pack lt.UTF-8
./install-language-pack yi.UTF-8
./install-language-pack de_LU.UTF-8
./install-language-pack fr_LU.UTF-8
./install-language-pack lb.UTF-8
./install-language-pack lv.UTF-8
./install-language-pack yi.UTF-8
./install-language-pack ar_LY.UTF-8
./install-language-pack ar_MA.UTF-8
./install-language-pack fr_MC.UTF-8
./install-language-pack mo.UTF-8
./install-language-pack ro.UTF-8
./install-language-pack tr.UTF-8
./install-language-pack uk.UTF-8
./install-language-pack yi.UTF-8
./install-language-pack fr_MG.UTF-8
./install-language-pack mg.UTF-8
./install-language-pack en_MH.UTF-8
./install-language-pack mh.UTF-8
./install-language-pack cu.UTF-8
./install-language-pack mk.UTF-8
./install-language-pack bm.UTF-8
./install-language-pack fr_ML.UTF-8
./install-language-pack my.UTF-8
./install-language-pack mn.UTF-8
./install-language-pack zh_MO.UTF-8
./install-language-pack ch_MP.UTF-8
./install-language-pack en_MP.UTF-8
./install-language-pack fr_MQ.UTF-8
./install-language-pack ar_MR.UTF-8
./install-language-pack wo.UTF-8
./install-language-pack en_MS.UTF-8
./install-language-pack en_MT.UTF-8
./install-language-pack mt.UTF-8
./install-language-pack en_MU.UTF-8
./install-language-pack dv.UTF-8
./install-language-pack en_MW.UTF-8
./install-language-pack ny.UTF-8
./install-language-pack es_MX.UTF-8
./install-language-pack jv.UTF-8
./install-language-pack ms_MY.UTF-8
./install-language-pack pt_MZ.UTF-8
./install-language-pack sn.UTF-8
./install-language-pack en_NA.UTF-8
./install-language-pack hz.UTF-8
./install-language-pack ng.UTF-8
./install-language-pack fr_NC.UTF-8
./install-language-pack ff_NE.UTF-8
./install-language-pack fr_NE.UTF-8
./install-language-pack ha.UTF-8
./install-language-pack kr.UTF-8
./install-language-pack en_NF.UTF-8
./install-language-pack en_NG.UTF-8
./install-language-pack ff_NG.UTF-8
./install-language-pack ha.UTF-8
./install-language-pack ig.UTF-8
./install-language-pack kr.UTF-8
./install-language-pack yo.UTF-8
./install-language-pack es_NI.UTF-8
./install-language-pack fy_NL.UTF-8
./install-language-pack li.UTF-8
./install-language-pack nl_NL.UTF-8
./install-language-pack nb.UTF-8
./install-language-pack nn.UTF-8
./install-language-pack no.UTF-8
./install-language-pack ne.UTF-8
./install-language-pack en_NR.UTF-8
./install-language-pack na.UTF-8
./install-language-pack en_NU.UTF-8
./install-language-pack en_NZ.UTF-8
./install-language-pack mi.UTF-8
./install-language-pack ar_OM.UTF-8
./install-language-pack es_PA.UTF-8
./install-language-pack ay.UTF-8
./install-language-pack es_PE.UTF-8
./install-language-pack qu.UTF-8
./install-language-pack fr_PF.UTF-8
./install-language-pack ty.UTF-8
./install-language-pack en_PG.UTF-8
./install-language-pack ho.UTF-8
./install-language-pack en_PH.UTF-8
./install-language-pack tl.UTF-8
./install-language-pack en_PK.UTF-8
./install-language-pack sd_PK.UTF-8
./install-language-pack ur_PK.UTF-8
./install-language-pack de_PL.UTF-8
./install-language-pack pl.UTF-8
./install-language-pack yi.UTF-8
./install-language-pack fr_PM.UTF-8
./install-language-pack en_PN.UTF-8
./install-language-pack en_PR.UTF-8
./install-language-pack es_PR.UTF-8
./install-language-pack ar_PS.UTF-8
./install-language-pack pt_PT.UTF-8
./install-language-pack en_PW.UTF-8
./install-language-pack es_PY.UTF-8
./install-language-pack gn.UTF-8
./install-language-pack ar_QA.UTF-8
./install-language-pack fr_RE.UTF-8
./install-language-pack cu.UTF-8
./install-language-pack hu.UTF-8
./install-language-pack ro.UTF-8
./install-language-pack av.UTF-8
./install-language-pack ba.UTF-8
./install-language-pack ce.UTF-8
./install-language-pack cu.UTF-8
./install-language-pack cv.UTF-8
./install-language-pack kv.UTF-8
./install-language-pack os.UTF-8
./install-language-pack ru_RU.UTF-8
./install-language-pack tt.UTF-8
./install-language-pack yi.UTF-8
./install-language-pack en_RW.UTF-8
./install-language-pack fr_RW.UTF-8
./install-language-pack rw.UTF-8
./install-language-pack ar_SA.UTF-8
./install-language-pack en_SB.UTF-8
./install-language-pack en_SC.UTF-8
./install-language-pack fr_SC.UTF-8
./install-language-pack ar_SD.UTF-8
./install-language-pack din.UTF-8
./install-language-pack ha.UTF-8
./install-language-pack fi_SE.UTF-8
./install-language-pack se.UTF-8
./install-language-pack sma.UTF-8
./install-language-pack sme.UTF-8
./install-language-pack sv_SE.UTF-8
./install-language-pack bn_SG.UTF-8
./install-language-pack en_SG.UTF-8
./install-language-pack ms_SG.UTF-8
./install-language-pack ta_SG.UTF-8
./install-language-pack zh_Hans_SG.UTF-8
./install-language-pack zh_SG.UTF-8
./install-language-pack en_SH.UTF-8
./install-language-pack hu_SI.UTF-8
./install-language-pack it_SI.UTF-8
./install-language-pack hu.UTF-8
./install-language-pack sk.UTF-8
./install-language-pack en_SL.UTF-8
./install-language-pack it_SM.UTF-8
./install-language-pack ff_SN.UTF-8
./install-language-pack wo.UTF-8
./install-language-pack ar_SO.UTF-8
./install-language-pack en_SO.UTF-8
./install-language-pack so_SO.UTF-8
./install-language-pack jv.UTF-8
./install-language-pack nl_SR.UTF-8
./install-language-pack pt_ST.UTF-8
./install-language-pack es_SV.UTF-8
./install-language-pack ar_SY.UTF-8
./install-language-pack syr.UTF-8
./install-language-pack en_SZ.UTF-8
./install-language-pack ss_SZ.UTF-8
./install-language-pack en_TC.UTF-8
./install-language-pack ar_TD.UTF-8
./install-language-pack fr_TD.UTF-8
./install-language-pack ee.UTF-8
./install-language-pack fr_TG.UTF-8
./install-language-pack ha.UTF-8
./install-language-pack si.UTF-8
./install-language-pack th.UTF-8
./install-language-pack os.UTF-8
./install-language-pack tg.UTF-8
./install-language-pack ug.UTF-8
./install-language-pack en_TK.UTF-8
./install-language-pack pt_TL.UTF-8
./install-language-pack os.UTF-8
./install-language-pack tk.UTF-8
./install-language-pack ar_TN.UTF-8
./install-language-pack en_TO.UTF-8
./install-language-pack to.UTF-8
./install-language-pack ab.UTF-8
./install-language-pack av.UTF-8
./install-language-pack ku.UTF-8
./install-language-pack tr_TR.UTF-8
./install-language-pack ug.UTF-8
./install-language-pack en_TT.UTF-8
./install-language-pack gil.UTF-8
./install-language-pack tvl.UTF-8
./install-language-pack zh_TW.UTF-8
./install-language-pack sw_TZ.UTF-8
./install-language-pack ab.UTF-8
./install-language-pack cu.UTF-8
./install-language-pack hu.UTF-8
./install-language-pack os.UTF-8
./install-language-pack pl.UTF-8
./install-language-pack ro.UTF-8
./install-language-pack ru_UA.UTF-8
./install-language-pack uk.UTF-8
./install-language-pack yi.UTF-8
./install-language-pack en_UG.UTF-8
./install-language-pack lg.UTF-8
./install-language-pack en_UM.UTF-8
./install-language-pack en_US.UTF-8
./install-language-pack es_US.UTF-8
./install-language-pack haw.UTF-8
./install-language-pack ik.UTF-8
./install-language-pack nv.UTF-8
./install-language-pack oj.UTF-8
./install-language-pack yi.UTF-8
./install-language-pack es_UY.UTF-8
./install-language-pack os.UTF-8
./install-language-pack ug.UTF-8
./install-language-pack uz_UZ.UTF-8
./install-language-pack fr.UTF-8
./install-language-pack it.UTF-8
./install-language-pack la.UTF-8
./install-language-pack en_VC.UTF-8
./install-language-pack es_VE.UTF-8
./install-language-pack en_VG.UTF-8
./install-language-pack en_VI.UTF-8
./install-language-pack vi.UTF-8
./install-language-pack bi.UTF-8
./install-language-pack en_VU.UTF-8
./install-language-pack fr_VU.UTF-8
./install-language-pack fr_WF.UTF-8
./install-language-pack en_WS.UTF-8
./install-language-pack sm.UTF-8
./install-language-pack ar_YE.UTF-8
./install-language-pack fr_YT.UTF-8
./install-language-pack af.UTF-8
./install-language-pack en_ZA.UTF-8
./install-language-pack nr.UTF-8
./install-language-pack ss_ZA.UTF-8
./install-language-pack tn_ZA.UTF-8
./install-language-pack ts.UTF-8
./install-language-pack ve.UTF-8
./install-language-pack xh.UTF-8
./install-language-pack yi.UTF-8
./install-language-pack zu.UTF-8
./install-language-pack en_ZM.UTF-8
./install-language-pack en_ZW.UTF-8
./install-language-pack nd.UTF-8
./install-language-pack sn.UTF-8
./install-language-pack ve.UTF-8
./install-language-pack zu.UTF-8
dpkg-reconfigure locales
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment