| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Web Hoster
Join Date: Jan 2008
Location: Canada
Posts: 281
|
Country Identifier
Hi, Does anyone know where to find a country identifier script. So for example, someone in Japan can view a site differently than someone in Mexico. quality web hosting - www.thecubehost.com
free file hosting - www.fileupper.com website design gallery - www.bestcssdesigns.com |
|
|
|
|
|
#2 (permalink) |
|
I like turtles
Join Date: Dec 2007
Location: Chicago, Illinois
Posts: 623
|
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
Sr. Web Software Engineer My Website | My Blog | My Twitter | My Delicious | My Facebook | Download My vCard Probably THE BEST web hosting provider I have come across, check them out! Rackspace Cloud |
|
|
|
#4 (permalink) | |
|
Web Hoster
Join Date: Jan 2008
Location: Canada
Posts: 281
|
Quote:
How can I find a script that does the cookie? quality web hosting - www.thecubehost.com
free file hosting - www.fileupper.com website design gallery - www.bestcssdesigns.com |
|
|
|
|
#5 (permalink) |
|
代表取&
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 12,944
|
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) |
|
代表取&
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 12,944
|
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) |
|
代表取&
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 12,944
|
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: 2,196
|
Quote:
Just wondering, has Kanji been simplified like PRC Mandarin characters? Like 語 -> 语 |
|
|
![]() |
|