multilingual: how to put abreviations instead of flags?

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
firfelin

multilingual: how to put abreviations instead of flags?

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

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

Post 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... ::)
alby

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

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

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

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

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

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

Return to “[locked] CMSMS MLE fork”