1

Topic: Multi language

Hi guys,

I wanna know is there a way that I can enable multi language in a sharetronix site?

Default should be English, & i should have FR & DE or other language icons in top of the page, if the user click one of this language button then site should show in that specific language.

Thx in advance http://sharetronixguide.com/img/smilies/smile.png

Thumbs up Thumbs down

2

Re: Multi language

In the users setting is Language setting
(Please log in or register to see this URL)
Where the user can select

Thumbs up Thumbs down

3

Re: Multi language

I was thinking  a little  and  here you go if you want  to  give this a try

<di     v id="google_translate_element"><    /div    ><scr    ipt>function googleTranslateElementInit() {  new google.translate.TranslateElement({    pageLanguage: 'en',    includedLanguages: 'af,sq,ar,hy,az,eu,be,bg,ca,zh-CN,zh-TW,hr,cs,da,nl,en,et,tl,fi,fr,gl,ka,de,el,ht,iw,hi,hu,is,id,ga,it,ja,ko,la,lv,lt,mk,ms,mt,no,fa,pl,pt,ro,ru,sr,sk,sl,es,sw,sv,th,tr,uk,ur,vi,cy,yi',    layout: google.translate.TranslateElement.InlineLayout.SIMPLE  }, 'google_translate_element');}</sc    ript><scr    ipt src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></sc     ript>

Last edited by templar72 (2010-11-29 05:02:13)

Thumbs up Thumbs down

4

Re: Multi language

I edited to add spaces so it showed properly,Let me know if that works, I briefly added it to my site, to test briefly.

Thumbs up Thumbs down

5

Re: Multi language

templar72 wrote:

I was thinking  a little  and  here you go if you want  to  give this a try

<    /div    >function googleTranslateElementInit() {  new google.translate.TranslateElement({    pageLanguage: 'en',    includedLanguages: 'af,sq,ar,hy,az,eu,be,bg,ca,zh-CN,zh-TW,hr,cs,da,nl,en,et,tl,fi,fr,gl,ka,de,el,ht,iw,hi,hu,is,id,ga,it,ja,ko,la,lv,lt,mk,ms,mt,no,fa,pl,pt,ro,ru,sr,sk,sl,es,sw,sv,th,tr,uk,ur,vi,cy,yi',    layout: google.translate.TranslateElement.InlineLayout.SIMPLE  }, 'google_translate_element');}

can you tell me exactly where to put this code bucase it is not working anywhere

Thumbs up Thumbs down

6

Re: Multi language

When I tried it I placed it into the header, Make sure you remove the extra spaces in the coding

Thumbs up Thumbs down

7

Re: Multi language

Check my website. I have multiple languages upon user selection. When someone wants to post something, he can select a post language, and only those who select the language can see the post. This is very helpful for those who want to create multiple languages website with filtering.

(Please log in or register to see this URL)

Thumbs up Thumbs down

8

Re: Multi language

I see what you are talking about now, You got me at a loss for words lol

Thumbs up Thumbs down