language-switch with ip-adress

Post non-phpwcms related topics here - but I don't want to see "hey check this or that other cms". Post if you have a point or worthwhile comment, don't post just to increase you post count!
Post Reply
rushclub
Posts: 915
Joined: Tue 17. Feb 2004, 18:52

language-switch with ip-adress

Post by rushclub »

hi there,

is it possible to select a websiteuser - based on his ip-adress - an link him to the correct language-version of a site?

cheers
rush
3 (!) Jahre warten reichen mir. Ich bin erst mal weg.
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Post by phalancs »

there has to be a better solution.

Phpwcms seems to already recognize the default language setting of the visitor. If someone registers using my registration panel i get a copy of the mail. and according to the users language this mail is either using the english or german text from the language file.

I will check my code again, there has to be something in about this issue. Anyways, I still guess that this is an phpwcms feature.

ALthough I even do not yet know how to use it - but there has to be a way :)
2008
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Post by phalancs »

Hey Mr. Rush

Maybe I found eine super Lösung für Dich!

Schau mal here:

http://faq.phpwcms-docu.de/11_31_de.html

I think that Oliver Georgis solution is pretty much what you brauchst.
Please share your experience here. I will also test that. Maybe you are schneller.


(Sorry for the Sprache, but i am a little genervt of posting things auf Deutsch und englisch, deshalb hab ichs einfach mal kombiniert) ;)
2008
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

phalancs wrote:
(Sorry for the Sprache, but i am a little genervt of posting things auf Deutsch und englisch, deshalb hab ichs einfach mal kombiniert) ;)
löl
Post Reply