Hi there 
I'm using the addon language switcher, with 2 languages, English and Dutch. So my lang_getter.html file looks like this:
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:

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;
}