In my page template I'm using {lang} to allow language switching.
Code: Select all
define('DEFAULT_LANG', 'en_US');
$force_mle_default = false;
$hls = array(
'en_US' => array(
'block'=>'en',
'flag'=>'<img src="images/lang/en_US.png" style="border:0" alt="English" />',
'text'=>'English',
),
'de_DE' => array(
'block'=>'de',
'parent' => 'de',
'flag'=>'<img src="images/lang/de_DE.png" style="border:0" alt="Deutsch" />',
'text'=>'Deutsch',
),
);
Is there a possibility to map all the de languages to the de content (and all the en languages to the en content)?
I can add additionaly hls entries but this will duplicate the language choices in my {lang} list and I don't like this...
Kriz