|
Google Translate Bar
|
| redmott |
Posted on 04-01-2012 11:04
|

Newbie

Posts: 6
Joined: 27/12/2011
|
Hello,
How do I get google translate bar to work on my website?
Any help would be appreciated.
I'm a newbie at this  |
| |
|
|
| smokeman |
Posted on 04-01-2012 11:52
|

Veteran Member

Posts: 960
Joined: 23/06/2006
|
Hi there.
Where do you see/can get this translate bar ?
|
| |
|
|
| redmott |
Posted on 04-01-2012 14:57
|

Newbie

Posts: 6
Joined: 27/12/2011
|
Hi
http://translate....late_tools
If you go to google translate it will give you a snippet of code to enter into your webpage.
I have no idea where to put this code. I have seen this working on another php fusion site.
Thanks |
| |
|
|
| dusk |
Posted on 04-01-2012 15:08
|

Member

Posts: 72
Joined: 12/06/2007
|
Go to admin panel, System Admin, banners and put the code in Banner 2.
Edited by dusk on 04-01-2012 16:22
|
| |
|
|
| redmott |
Posted on 04-01-2012 15:22
|

Newbie

Posts: 6
Joined: 27/12/2011
|
Hi Dusk,
Thank you very much for your help, it works  |
| |
|
|
| dusk |
Posted on 04-01-2012 16:21
|

Member

Posts: 72
Joined: 12/06/2007
|
You can always paste that code in a panel if you want it on the side or if you need the banner spaces for something else.
Glad I could help.  |
| |
|
|
| redmott |
Posted on 04-01-2012 18:43
|

Newbie

Posts: 6
Joined: 27/12/2011
|
Hello Dusk,
I have created a panel and pasted the code into it. When I return to site the panel is there but it does nothing, all I see is the name of the panel?
Thanks |
| |
|
|
| smokeman |
Posted on 04-01-2012 19:55
|

Veteran Member

Posts: 960
Joined: 23/06/2006
|
The code for a panel should look like this:
Codeopenside("Translate");
echo "<div id=\"google_translate_element\"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'da'
}, 'google_translate_element');
}
</script><script src=\"//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit\"></script>";
closeside();
|
| |
|
|
| redmott |
Posted on 28-01-2012 12:38
|

Newbie

Posts: 6
Joined: 27/12/2011
|
Thanks |
| |
|