Page 1 of 1

multilingual: how to put abreviations instead of flags?

Posted: Sun May 20, 2007 8:51 pm
by firfelin
Hi,

After some problems I have successfully installed cmsms-mle-1.0.2-build4 here: http://www.magdalenagerber.ch/mg/

Its nice, thanks a lot to all people involved in this project

I would like to put abreviations for the languages (de/en/fr) instead of the flags, but I cant find where I could modify the {lang} tag

Any idea?

Thanks in advance

Re: multilingual: how to put abreviations instead of flags?

Posted: Sun May 20, 2007 9:16 pm
by firfelin
If I change the config_lang.php file this way it works

Code: Select all

<?php
$hls = array(
	'de' => 'de',
	'en' => 'en',
	'fr' => 'fr',
);
define('DEFAULT_LANG', 'fr');
?>
but (... logically) it change also in the admin panel... ::)

Re: multilingual: how to put abreviations instead of flags?

Posted: Mon May 21, 2007 7:34 am
by alby
firfelin wrote: I would like to put abreviations for the languages (de/en/fr) instead of the flags, but I cant find where I could modify the {lang} tag
plugins/function.lang.php

Alby

Re: multilingual: how to put abreviations instead of flags?

Posted: Mon May 21, 2007 8:34 am
by firfelin
thanks a lot


but I think I dont understand php well enough to play with that file ;D so I'll keep with my  "modified without flags config_lang.php"... ;D

Re: multilingual: how to put abreviations instead of flags?

Posted: Sat Dec 22, 2007 10:37 pm
by alby
firfelin wrote: but I think I dont understand php well enough to play with that file ;D so I'll keep with my  "modified without flags config_lang.php"... ;D
From 1.2.1 you can set text in config_lang.php

Alby