FM Themes
Welcome to FM Themes
where you can share your ModernBB, punBB, phpBB 2, Invision, & phpBB 3 themes for Forumotion forums.

You are viewing the forum as a guest, so you will not be able to use the full forum. To use all the features of the forum, you need to log in or create a FREE account by registering.
View previous topicGo downView next topic
Posts : 3861
Points : 1717
Reputation : 307
View user profile

How To Add Google Translate

on Sun Oct 06, 2013 4:26 pm
Message reputation : 100% (3 votes)
How To Add Google Translate
This tutorial will show how to add Google Translate to your forum.

To add it to every page, place it in an announcement:

Administration Panel -> General -> Messages & Emails -> Announcement

Make sure that it is set for every page.

Create a new announcement or add this code to an old announcement:
Code: Select Content
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'en',
    floatPosition: google.translate.TranslateElement.FloatPosition.BOTTOM_RIGHT
</script><script src="//"></script>
To change the location of the Translate button, change this part of the code:
Code: Select Content




You may also add the code to a widget.
Tutorial written by: SLGray
View previous topicBack to topView next topic
Permissions in this forum:
You cannot reply to topics in this forum