Running CMSMS 1.9.4.2 "Faanui".
I have tried to put this 'tool' on the site either in straight code or as a GCB with or without {literal} tags and I can't get the tool to show at all.
The code for the tool is:
<quote>
<div id="google_translate_element"></div><__script__>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');
}
</__script><__script__ src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></__script>
</quote>
Can anyone help please?
Thanks
Martin
[SOLVED]Google Website Translator gadget.
-
- Power Poster
- Posts: 444
- Joined: Wed Dec 27, 2006 5:15 pm
[SOLVED]Google Website Translator gadget.
Last edited by burlington on Mon Oct 10, 2011 8:41 am, edited 1 time in total.
Re: Google Website Translator gadget.
did you try yet to have the google script-call before the code?
Or put it into the head of yout template....
Or put it into the head of yout template....
-
- Power Poster
- Posts: 444
- Joined: Wed Dec 27, 2006 5:15 pm
Re: Google Website Translator gadget.
Thanks Lucy
I think you will have to explain this as I am not very good at all with scripts.
Martin
I think you will have to explain this as I am not very good at all with scripts.
Martin
-
- Power Poster
- Posts: 444
- Joined: Wed Dec 27, 2006 5:15 pm
Re: Google Website Translator gadget.
Just bumping this Topic up a bit in the hope of some further advice.
Thanks
Martin
Thanks
Martin
Re: Google Website Translator gadget.
Hi,
I'm still working at the next release (1.5) of socialBookmarking plugin, and the google translator tool will be included in it.
Take a look at my site http://www.weichbrodt.it for testing a preview application for this great google's tool.
Stay tuned in the forge for the next release of the plugin: http://dev.cmsmadesimple.org/projects/socialbks.
Andrea
I'm still working at the next release (1.5) of socialBookmarking plugin, and the google translator tool will be included in it.
Take a look at my site http://www.weichbrodt.it for testing a preview application for this great google's tool.
Stay tuned in the forge for the next release of the plugin: http://dev.cmsmadesimple.org/projects/socialbks.
Andrea
Re: Google Website Translator gadget.
I was able to get it to work. Here's what I did.
I pasted the following code:
within the </__body> of the page and was able to see the translation controls and translate the content on the page.
Hope that helps.
-S
I pasted the following code:
Code: Select all
<div id="google_translate_element"></div>
{literal}
<__script__>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');
}
{/literal}
</__script><__script__ src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></__script>
Hope that helps.
-S
-
- Power Poster
- Posts: 444
- Joined: Wed Dec 27, 2006 5:15 pm
[SOLVED] Re: Google Website Translator gadget.
This is tremendous. It works! Many thanks
Martin
Martin
Re: [SOLVED]Google Website Translator gadget.
Hallo all,
today I've released a new version 1.5 for the plugin socialBookmarking.
This release cover in one touch up to 80 bookmarking sites without using external services.
The Google Website Translator gadget is included in this release.
You can find it in the forge: http://dev.cmsmadesimple.org/projects/socialbks
today I've released a new version 1.5 for the plugin socialBookmarking.
This release cover in one touch up to 80 bookmarking sites without using external services.
The Google Website Translator gadget is included in this release.
You can find it in the forge: http://dev.cmsmadesimple.org/projects/socialbks