Hi Marcel, here are the steps to follow until I can update the plugin:
1. Go to Plugins > Editor located on the left WordPress menu.
2. Find google-language-translator.php and go to line 436 (this might slightly different in your specific file.
3. Locate the function function googlelanguagetranslator_horizontal()
4. Highlight this code below IN YOUR FILE and delete it:
function googlelanguagetranslator_horizontal(){<br />
$language_choices = googlelanguagetranslator_included_languages();<br />
if(get_option('googlelanguagetranslator_active')==1){<br />
$str.='<div id="google_translate_element"></div><script><br />
function googleTranslateElementInit() {<br />
new google.translate.TranslateElement({<br />
pageLanguage: \''.get_option('googlelanguagetranslator_language').'\', '.$language_choices.' layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL<br />
}, \'google_translate_element\');<br />
}<br />
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>';<br />
return '<div>'.$str.'</div>';<br />
}<br />
}
5. Replace that code with this new code:
function googlelanguagetranslator_horizontal(){<br />
$language_choices = googlelanguagetranslator_included_languages();<br />
if(get_option('googlelanguagetranslator_active')==1){<br />
$str.='<div id="google_translate_element"></div><script><br />
function googleTranslateElementInit() {<br />
new google.translate.TranslateElement({<br />
pageLanguage: \'nl\', '.$language_choices.' layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL<br />
}, \'google_translate_element\');<br />
}<br />
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>';<br />
return '<div>'.$str.'</div>';<br />
}<br />
}
I really hope that works! I tested it on my server and it seemed to work fine. Please keep me posted and let me know how it goes!