Page 1 of 1

English only version

Posted: Tue Aug 28, 2007 8:00 pm
by PatDeLux
Hi,

This is a kind of "non feature" request: why not offer a version WITHOUT any language file ?
This would greatly reduce the number if files for those who are happy with the English back end.

Patrick

Re: English only version

Posted: Tue Aug 28, 2007 9:30 pm
by cyberman
You need one language file in minimum. If not you will see nothing in admin panel.

Btw there exists a project for such "special" releases

http://dev.cmsmadesimple.org/projects/cmsmsrepack

Re: English only version

Posted: Wed Aug 29, 2007 4:53 pm
by PatDeLux
cyberman wrote: You need one language file in minimum. If not you will see nothing in admin panel.
I meant a version with only the english files...

Re: English only version

Posted: Wed Aug 29, 2007 6:48 pm
by cyberman
I'm working currently on a german only version (contains german/english). First step is deleting of all unused language files.

This version you can found here

http://dev.cmsmadesimple.org/frs/?group ... ase_id=942

Original (zipped): 2,99 MB
My version (zipped): 1,82 MB

Re: English only version

Posted: Wed Aug 29, 2007 7:48 pm
by Pierre M.
Here is an (old?) idea to reduce the i18n processing time and to reduce the install package to the wanted ones only.

Pierre M.

Re: English only version

Posted: Thu Aug 30, 2007 4:33 am
by calguy1000
In 2.0 additional languages will be downloadable.  i.e: if you want your language available, you'll either have to select it at install time or download it later.

and (I think, don't quote me on this, I can't be held responsible) that English will be assumed to be the primary language.

Re: English only version

Posted: Thu Aug 30, 2007 8:36 am
by alby
patdelux wrote:
cyberman wrote: You need one language file in minimum. If not you will see nothing in admin panel.
I meant a version with only the english files...
I use this bash [in cmsms_root] in UNIX environment:
DEL_LANG_ADODB="ar bg bgutf8 ca cn cz da de es esperanto hu pl pt-br ro ru1251 sv uk1251"
for d in $DEL_LANG_ADODB; do
  find lib/adodb_lite/lang/ -name adodb-$d.inc.php -exec rm -rf {} \;
done

DEL_LANG="af_ZA bg_BG ca_ES cs_CZ da_DK de_DE el_GR en_GB eo_UY es_ES es_MX et_EE eu_ES fi_FI hu_HU id_ID is_IS iw_IL ja_JP lt_LT nb_NO pl_PL pt_BR pt_PT ro_RO
ru_RU sk_SK so_SO sr_YU sv_SE tr_TR zh_CN zh_TW"
for d in $DEL_LANG; do
  rm -rf admin/lang/ext/$d
  find admin/lang/ -name $d* -exec rm -rf {} \;
  find modules/ -name $d* -exec rm -rf {} \;
done

DEL_LANG_TINY="cs da de el es fi hu is ja_euc-jp ja_shift_jis ja_utf-8 nb pl pt_br ru ru_UTF-8 sk sv zh_cn zh_tw zh_cn_utf8 zh_tw_utf8"
for d in $DEL_LANG_TINY; do
  find modules/ -name $d.js -exec rm -rf {} \;
done
This delete all languages minus:
en_US, it_IT, fr_FR, nl_NL
(I use them in multilingual site)

if you add:
it, fr, nl in DEL_LANG_ADODB and DEL_LANG_TINY
it_IT, fr_FR, nl_NL in DEL_LANG

you have en only

Alby