English only version

Talk about new features for CMSMS and modules.
Post Reply
PatDeLux

English only version

Post 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
cyberman

Re: English only version

Post 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
PatDeLux

Re: English only version

Post 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...
cyberman

Re: English only version

Post 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
Pierre M.

Re: English only version

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: English only version

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
alby

Re: English only version

Post 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
Post Reply

Return to “Feature ideas”