D4jsp Forum Index
You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features.
By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features.
Registration is fast, simple, and absolutely free, so please, Join our community today!
D4jsp Forum Index


 
HomeNewsRegisterLog in
d4jsp
Gaming and Trading Community
Gaming and Trading Community

Share | .
 

 [Tutorial 3] Add Google Translate

View previous topic View next topic Go down 
AuthorMessage
slg

avatarJoined : 2011-12-25
Posts : 176
Warn : 0%
Location : Texas

PostSubject: [Tutorial 3] Add Google Translate   Fri Dec 30, 2011 5:30 pm

This tutorial will show you how to add Google Translate to a Forumotion forum.

Add this code to an announcement, the homepage message, or in a widget.
Code:
<script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'en',
    floatPosition: google.translate.TranslateElement.FloatPosition.BOTTOM_LEFT
  });
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

Notice this in the code: BOTTOM_LEFT
By changing it, you can move the button for Google Translate round on the page.
Back to top Go down
http://www.zootycoonwildlife.aforumfree.com
Treyarch

Joined : 2011-08-25
Posts : 1705
Warn : 0%
Location : United Kingdom

PostSubject: Re: [Tutorial 3] Add Google Translate   Fri Dec 30, 2011 5:37 pm

I will add this.

______________________________________________________________________________________________________________________

It's not who I am underneath, but what I do that defines me.
Back to top Go down
http://d4jsp.forumotion.co.uk/forum
Treyarch

Joined : 2011-08-25
Posts : 1705
Warn : 0%
Location : United Kingdom

PostSubject: Re: [Tutorial 3] Add Google Translate   Fri Dec 30, 2011 5:39 pm

Update Added. Tongue

______________________________________________________________________________________________________________________

It's not who I am underneath, but what I do that defines me.
Back to top Go down
http://d4jsp.forumotion.co.uk/forum
slg

avatarJoined : 2011-12-25
Posts : 176
Warn : 0%
Location : Texas

PostSubject: Re: [Tutorial 3] Add Google Translate   Fri Dec 30, 2011 5:42 pm

Looks good. This will help members and guests. The Forumotion translator really does a poor job compared to Google.
Back to top Go down
http://www.zootycoonwildlife.aforumfree.com
Sponsored content


PostSubject: Re: [Tutorial 3] Add Google Translate   

Back to top Go down
 

[Tutorial 3] Add Google Translate

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
D4jsp Forum Index :: Private Archives :: Battlefield-