PDA

Zobacz pełną wersję : Google Translate



66NaV
21-11-2009, 16:50
Witam, zamierzam umożliwić moim czytelnikom możliwość tłumaczenia strony za pomocą Google Translate dla stron www.

<div id="google_translate_element"></div>**********
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'pl'
}, 'google_translate_element');
}
</script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
Jest to taki kod, lecz jeśli robię to jako nowy moduł (nowy- kod html) to kiedy wkleję ten kod w pole (HTML) to nic nie wyskakuje, jest pusto.
Jest do tego może jakiś dodatek?

Winnetou
21-11-2009, 19:22
Ja używam do takich rzeczy moduł vivicode
http://extensions.joomla.org/extensions/edition/custom-code-in-modules/1478
Jak dotąd sprawdza się znakomicie.

66NaV
21-11-2009, 19:57
Nie mogłem pobrać, ale wziąłem Blank Modules. Dzięki ;-)