Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Google Translate Bar

Asked Modified Viewed 4,433 times
R
redmott
R
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
asked
Newbie

Hello,
How do I get google translate bar to work on my website?
Any help would be appreciated.

I'm a newbie at this :)
0 replies

8 posts

S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

Hi there.

Where do you see/can get this translate bar ?
0 replies
R
redmott
R
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Hi

http://translate.google.com/translate_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
0 replies
D
dusk
D
dusk 10
  • Member, joined since
  • Contributed 71 posts on the community forums.
  • Started 2 threads in the forums
answered
Member

Go to admin panel, System Admin, banners and put the code in Banner 2.
Edited by dusk on 04-01-2012 18:22,
0 replies
R
redmott
R
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Hi Dusk,

Thank you very much for your help, it works :D
0 replies
D
dusk
D
dusk 10
  • Member, joined since
  • Contributed 71 posts on the community forums.
  • Started 2 threads in the forums
answered
Member

Quote

redmott wrote:

Hi Dusk,

Thank you very much for your help, it works :D



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. :)
0 replies
R
redmott
R
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

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
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

The code for a panel should look like this:
openside("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();
0 replies
R
redmott
R
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Thanks
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 8 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

S
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
D
D
dusk 10
  • Member, joined since
  • Contributed 71 posts on the community forums.
  • Started 2 threads in the forums
R
R
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet