[SOLVED] CMSms MLE integrating language switch into horizontal menue

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
kerbenok
Forum Members
Forum Members
Posts: 12
Joined: Mon Mar 24, 2008 11:09 pm

[SOLVED] CMSms MLE integrating language switch into horizontal menue

Post by kerbenok »

Hi,

how can I integrate the switching of language inside a menue, eg. the horizontal menue. Due to design reasons I would like to skip the flags.

Would be great if someboda can give me a tip.

Best
Kerbenok
Last edited by kerbenok on Tue Apr 01, 2008 9:55 am, edited 1 time in total.
alby

Re: CMSms MLE integrating language switch into horizontal menue

Post by alby »

kerbenok wrote: how can I integrate the switching of language inside a menue, eg. the horizontal menue. Due to design reasons I would like to skip the flags.
You can use Textual switching of language (add text param in config_lang.php)

Alby
kerbenok
Forum Members
Forum Members
Posts: 12
Joined: Mon Mar 24, 2008 11:09 pm

Re: CMSms MLE integrating language switch into horizontal menue

Post by kerbenok »

Hi Alby,

thanks for your fast feedback. In the config File the textural language is defined. How do I have to proceed further. I still have to tell the Navigation to use it, right?

Code: Select all

define('DEFAULT_LANG', 'de_DE');
$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',
	'parent'=>'en',
 ),
  'de_DE' => array(
	'block'=>'de',
	'flag'=>'<img src="images/lang/de_DE.png" style="border:0" alt="Deutsch" />',
	'text'=>'Deutsch',
 ),
 
I'm a beginner in this topic. Hope you can give me another hint.

Best
 

);
?>
alby

Re: CMSms MLE integrating language switch into horizontal menue

Post by alby »

kerbenok wrote: thanks for your fast feedback. In the config File the textural language is defined. How do I have to proceed further. I still have to tell the Navigation to use it, right?
{lang text=true} display text switch (for other params view help in Extensions > Plugins > function.lang)
you must add in template (page or menu but out of loop)

Alby
kerbenok
Forum Members
Forum Members
Posts: 12
Joined: Mon Mar 24, 2008 11:09 pm

Re: CMSms MLE integrating language switch into horizontal menue

Post by kerbenok »

Hi Alby,

thanks for your support. It works.

Best Kerbenok
Post Reply

Return to “Layout and Design (CSS & HTML)”