Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hi there :)

I'm using the addon language switcher, with 2 languages, English and Dutch. So my lang_getter.html file looks like this:

Code: Select all
// Set your languages here
$accepted_langs = array( 'en', 'nl' );


The output in the language switcher menu is 'EN' and 'NL'. Is there a way to output 'EN' into 'English' and 'NL' into 'Dutch'? And possibly to output only the opposite language? So that when English is selected, it only shows the link to Dutch in the menu.

I used CSS for the last one for now:

Code: Select all
.en.selected,
.nl.selected {
   display: none;
}
Hi :)

The solution for the first part is discussed here -
viewtopic.php?f=8&t=74&start=40#p22910

As for the second one, your use of CSS is just fine for that.

Hope this helps.
2 posts Page 1 of 1