How to add Google translation on my forum?

Go down

Solved How to add Google translation on my forum?

Post by Kadreyah on August 17th 2013, 7:37 pm

[size=12]
Good afternoon!


My name is Kadreyah and I am the Admin of the forum
http://scentorient.forumotion.com/

This forum was set up with English language as primary language, but there are others users which not so familiar with English.

This is why i would like to add a google translation for my forum exactly like on this forum http://www.romaniaalgeria.com/ (it is set up on the left column).

I used kind of translation in multi languages on a blog too http://insidemyheartisyou.blogspot.com/ but I don't know how to figure it out for my forum.


I wish to mention that I already tried with Google translator => Web translation and it gives me this:


Paste this code onto your website

Copy and paste the following code snippets onto every page you want to translate

Place this meta tag before the closing </head>

<meta name="google-translate-customization" content="5e85981a100a30f4-7cd73f1aa3fe9219-ge66334afb5441f79-1b"></meta>

And this:

Place this snippet where you'd like to display the Website Translator plugin on your page

<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
  new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, gaTrack: true, gaId: 'UA-43105513-1'}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>


I don't know how to manage the things to make this translation on my forum, every time I tried it appeared on the page of the forum the code as I put it and not what I was expect.

I know I didn't do it right, this is why I kindly ask your support and advice!
Thank you in advance!
avatar
Kadreyah
New Member

Female Posts : 9
Reputation : 1
Language : English
Location : Alexandria, Egypt

http://scentorient.forumotion.com/

Back to top Go down

Solved Re: How to add Google translation on my forum?

Post by SLGray on August 17th 2013, 8:55 pm



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43519
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: How to add Google translation on my forum?

Post by Kadreyah on August 18th 2013, 8:54 am

SLGray thank you so much for you fast answer.


The code is good and working, but I want to change the appearance to be like in this photo, I mean to post it as a widget.




Hope I am not keep bothering you with my requests! Thank you once again!
avatar
Kadreyah
New Member

Female Posts : 9
Reputation : 1
Language : English
Location : Alexandria, Egypt

http://scentorient.forumotion.com/

Back to top Go down

Solved Re: How to add Google translation on my forum?

Post by SLGray on August 18th 2013, 4:26 pm

Please don't use bold or color. Please keep to the default text. This is reserved for the staff for moderation.
Create a new widget and add this:
Code:
<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
 new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, gaTrack: true, gaId: 'UA-43105513-1'}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43519
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: How to add Google translation on my forum?

Post by Kadreyah on August 18th 2013, 8:51 pm

I am sorry about the bold! I swear I didn't made it myself, i just copy/ paste your name and after this I wrote the message!

I am not a fan of bold using and I know that I don't have to mark something so that my message got seen! Really, I apologize because of this mistake, it wasn't my intention at all to use this!

omg! I just tried now the code and it works perfect like a glove! I wish I can thank you millions of times by press on Thanks button but it just once! Yet, I am thanking you so so so so so much!!! I feel great!!! :wouhou: :wouhou: :wouhou: :wouhou: :wouhou: :wouhou: :wouhou: :wouhou: :wouhou: :wouhou: :wouhou: :wouhou: :wouhou: :wouhou: loul
avatar
Kadreyah
New Member

Female Posts : 9
Reputation : 1
Language : English
Location : Alexandria, Egypt

http://scentorient.forumotion.com/

Back to top Go down

Solved Re: How to add Google translation on my forum?

Post by SLGray on August 19th 2013, 12:23 am

You're welcome.

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43519
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Back to top


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