The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to translate a post?

3 posters

Go down

Solved How to translate a post?

Post by bladeskull@ 13/3/2014, 01:18

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@
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- 13/3/2014, 01:40

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-
Neptune-
Forumember

Female Posts : 496
Reputation : 104
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : Scotland, UK

https://www.galaxie-series.net/

Back to top Go down

Solved Re: How to translate a post?

Post by bladeskull@ 13/3/2014, 03:50

Do you have anything that can translate post
bladeskull@
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 13/3/2014, 03:54

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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: How to translate a post?

Post by bladeskull@ 13/3/2014, 04:02

Okay thanks for the help appreciate it
bladeskull@
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 13/3/2014, 04:04

Topic solved and archived
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top


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