The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to translate a post?

View previous topic View next topic Go down

Solved How to translate a post?

Post by bladeskull@ on March 12th 2014, 11:18 pm

Does anyone know how you might be able to translate a post without going on Google translate or any translators. Let's say you are a member who can't speak English well is there any code that can make a member have the option to translate the post from their language to English without having to go to another page.
Thanks for helping

bladeskull@
Forumember

Male Posts : 33
Reputation : 3
Language : English and a little spanish
Location : U.S.A.

http://www.animefanclub.forumotion.com/forum

Back to top Go down

Solved Re: How to translate a post?

Post by Neptune- on March 12th 2014, 11:40 pm

Hello !!

A little script found on french support forum
study Mettre son forum dans plusieurs langues

On click, it adds a "toolbar" which can enable translating of whole page in any language you wish.

Neptune-
Forumember

Male Posts : 187
Reputation : 21
Language : French (10), English (8), CSS (5), HTML (4), Javascript (1)
Location : France

http://www.planet-series.com/

Back to top Go down

Solved Re: How to translate a post?

Post by bladeskull@ on March 13th 2014, 1:50 am

Do you have anything that can translate post

bladeskull@
Forumember

Male Posts : 33
Reputation : 3
Language : English and a little spanish
Location : U.S.A.

http://www.animefanclub.forumotion.com/forum

Back to top Go down

Solved Re: How to translate a post?

Post by Ange Tuteur on March 13th 2014, 1:54 am

Hello bladeskull@,

As Neptune- has mentioned,

Add this to :
Administration panel > modules > javascript codes management > create a new script

title : google translate
placement : in all the pages
Code:
function gT() {
  new google.translate.TranslateElement({pageLanguage:"en",multilanguagePage:!0,floatPosition:google.translate.TranslateElement.FloatPosition.BOTTOM_RIGHT})
};
$.getScript("http://translate.google.com/translate_a/element.js?cb=gT");

This will translate posts.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: How to translate a post?

Post by bladeskull@ on March 13th 2014, 2:02 am

Okay thanks for the help appreciate it

bladeskull@
Forumember

Male Posts : 33
Reputation : 3
Language : English and a little spanish
Location : U.S.A.

http://www.animefanclub.forumotion.com/forum

Back to top Go down

Solved Re: How to translate a post?

Post by Ange Tuteur on March 13th 2014, 2:04 am

Topic solved and archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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