1
Stitch19
Multilanguage at xoops???
  • 2005/1/6 22:21

  • Stitch19

  • Just popping in

  • Posts: 81

  • Since: 2004/12/18


Hi...
I have a XOOPS site in english...i i would like to have the same site with the same file but in greek language...if it is possible i can make thetranslation but i just wonna have it so the 2 version languages site upadtes at the same time, if add file in eglish so the same file will be in greek....???
or something like this ???

2
brash
Re: Multilanguage at xoops???
  • 2005/1/6 23:48

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


There is a multilanguage pack, but to my understanding (I've never used it) it cannot translate content on the fly at it seems like you want.

3
brash
Re: Multilanguage at xoops???
  • 2005/1/6 23:52

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


If you want translation on the fly, you could use Googles translation services in a block with code like this;

<div class="blockContent"><script type="text/javascript">
var 
isDone;

function 
translate(language) {

var 
defLang "en";
var 
myURL document.URL;

if (!
isDone) {
alert("Note: Translation is based on a conversion from English, so it's not perfect.nOnly translate on a page per page basis if needed: (Original Page >> New Language)nIf the page looks wrong or something is not working, then please go back and use the original English page.n");
}

window.open("http://translate.google.com/translate?langpair=" defLang "|" language "&u=" myURL"translation");
isDone=1;
}
script>
<
center>
<
p>
<
center>
<
img src="http://www.yourdomain.org/images/translate/flags.gif" height="10" width="110">
p>
<
select onchange="translate(this.options[this.selectedIndex].value);"
<
option>-------------option>
<
option value="en">Englishoption
<
option value="fr">Françaisoption
<
option value="de">Deutschoption
<
option value="es">Españoloption
<
option value="it">Italianooption
<
option value="pt">Portugueseoption>
select>
center>

4
Stitch19
Re: Multilanguage at xoops???
  • 2005/1/7 8:29

  • Stitch19

  • Just popping in

  • Posts: 81

  • Since: 2004/12/18


Quote:

Stitch19 wrote:
Hi...
I have a XOOPS site in english...i i would like to have the same site with the same file but in greek language...if it is possible i can make thetranslation but i just wonna have it so the 2 version languages site upadtes at the same time, if add file in eglish so the same file will be in greek....???
or something like this ???

Yes but where is that multilanguage ???
a link or ????

5
Herko
Re: Multilanguage at xoops???
  • 2005/1/7 8:34

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1



Login

Who's Online

349 user(s) are online (316 user(s) are browsing Support Forums)


Members: 1


Guests: 348


heyula,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits