I do a homepage and that must be on many language.
When i google around i find google translate code and the only thing i must do is copy this code and past it on the homepage.
Code: Select all
<div id="google_translate_element"></div><__script__>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'sv'
}, 'google_translate_element');
}
</__script><__script__ src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></__script>
Code: Select all
string(120) "Smarty error: [in content:content_en line 6]: syntax error: unrecognized tag 'new' (Smarty_Compiler.class.php, line 590)"