FM Themes
Welcome to FM Themes
where you can share your 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.

How To Add Google Translate

View previous topic View next topic Go down

Reputation : 281
Points : 1297
Posts : 3442
View user profile

PostSLGray on Sun Oct 06, 2013 4:26 pm

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 topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!

Create a new account

Log in

Already have an account? No problem, log in here.

Log in

Permissions in this forum:
You cannot reply to topics in this forum