| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
|
|
#2 (permalink) |
|
Guru
Join Date: Dec 2007
Location: Chicago, Illinois
Posts: 478
|
it is possible through IP redirection... but not very reliable. Moral of the story... just do what everyone else does - that is, have a flag or something the user can select, then save a cookie to their computer that saves their language settings. Jason Corradino
Applications Developer My Website | My Twitter | My Delicious | My Facebook | Download My vCard |
|
|
|
#4 (permalink) | |
|
Web Hoster
Join Date: Jan 2008
Location: Canada
Posts: 268
|
Quote:
How can I find a script that does the cookie? |
|
|
|
|
#5 (permalink) |
|
Sans Comic
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 7,293
|
This class may be able to help you: Class: GET by IP (whois, query, ip address, address) - PHP Classes |
|
|
|
#6 (permalink) |
|
Shun the non-believer
|
I'm not sure what your exact requirements are but if you need to simply show content in another language then also take a look at the "Accept-Language" header sent from the user-agent. In certain circumstances it would be better than IP Geolocation which often changes on a monthly basis and to keep the results up to date would usually require a subscription to a dedicated service such as ip2location.com Just a thought. - Mike |
|
|
|
#7 (permalink) |
|
Sans Comic
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 7,293
|
That's a pretty good thought actually. I use an English browser even though I'm not in an English land, and I'm sure that most people in the world are using a browser in their native tongue. |
|
|
|
#8 (permalink) |
|
Shun the non-believer
|
That's my thinking entirely, it might take a bit of looking into but it's something I want to explore. We've been Geolocating here lately to do our multilingual content but in the long term it's just not easily maintainable and reliable. Although we do allow the user to change the website language manually if they want to at any point. - Mike |
|
|
|
#9 (permalink) |
|
Sans Comic
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 7,293
|
You definitely have to make the language switcher accessible. It sucks having to dig around a page when you don't know the language of what you are reading. Some Japanese sites have the word 'English' written in Japanese (英語) which kind of defeats the purpose |
|
|
|
#12 (permalink) | |
|
What happened?
Join Date: Jul 2008
Posts: 1,890
|
Quote:
Just wondering, has Kanji been simplified like PRC Mandarin characters? Like 語 -> 语 |
|
|
![]() |
|