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
.nl.selected {
   display: none;
Hi :)

The solution for the first part is discussed here -

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

Hope this helps.
2 posts Page 1 of 1

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 1 guest