1
elseabra
New language features needed
  • 2004/11/24 12:57

  • elseabra

  • Just popping in

  • Posts: 8

  • Since: 2004/11/24


Hi,
I need to setup a website that works with a couple of different language, let's say portuguese and spanish.
I though of creating a PHP script to detect the language settings provided by the browser and accordingly redirect to a startpage in portuguese or spanish.
Should the detected language be different than these 2, the user should be redirected to a startpage in english.
My problem is that I couldn't find a way to specify the language on the query string. Is there a way to start XOOPS with the language specified in the url, something like http://mysite.xoops.org/index.php?language=english ?
Thanks

2
smdcom
Re: New language features needed

are you using multilanguage module? or you've made your own script? i suggest you use multilanguage script available at http://dev.xoops.org.

you can set your default language at admin menu -> system -> preferences -> general settings

3
elseabra
Re: New language features needed
  • 2004/11/24 21:51

  • elseabra

  • Just popping in

  • Posts: 8

  • Since: 2004/11/24


Thanks smdcom. But I didn't make myself clear.
What I need is to have several default languages according to the each user's language.
That is to say that if I detect that he's from Portugal I want XOOPS to be presented in portuguese.
So what I though of was what I tried to explain earlier.
My problem is that I can't find a way to pass the language on the URL. Is there a way to do it?
Thanks again

Login

Who's Online

265 user(s) are online (218 user(s) are browsing Support Forums)


Members: 0


Guests: 265


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