Mobile app version of vmapp.org
Login or Join
Becky754

: How can I view localized versions of my site? We are adding internationalization to our site. We are getting the client's IP address from the headers and looking it up against the IP2location

@Becky754

Posted in: #Internationalization

We are adding internationalization to our site. We are getting the client's IP address from the headers and looking it up against the IP2location database to get the client's country.

Several of our clients reported seeing a blank page over the weekend. We'd like to be able to get screenshots or use a browser from many different countries on an ongoing basis for testing code changes.

I need to know what the site looks like when accessed from various countries since there are several elements that vary by country.

I've used Tor and Vidalia, along with the Tor customized Firefox browser however it appears the CSS is getting mangled. I have also used webpagetest.org to check the site, however the screenshot it gives is too small to be really useful.

Is there a site or a service I can use to get screenshots or interact with my website from various countries?

10.04% popularity Vote Up Vote Down


Login to follow query

More posts by @Becky754

4 Comments

Sorted by latest first Latest Oldest Best

 

@Lengel546

I agree with what @The Disintegrator said, but I have had the situation where a client insisted on using geoIP as the primary targeting tool. In this case, set up a dev version of the site and switch the result variable so you can see it locally. For example, if you're in the states and you want to see what users in China will see, switch the "if user is in China" to "if user is in the US" and you can work from there.

That said, look into at least using browser headers for serving out languages. As someone who lives in a country that does not use my native language, it's somewhat annoying the way sites like Mozilla and Skype serve out pages based on IP and not browser headers.

10% popularity Vote Up Vote Down


 

@Vandalay111

You shouldn't use geo ip as the primary way to switch locales. My primary language is spanish. If I travel to Germany and try to use a page who selects the locale based on the ip, I end up looking to a webpage in german...

The locale selection order should be


url (?land=es) - and persist with a cookie.
browser headers (Accept-Language: es; q=1.0, en; q=0.5)
geo ip


If you want to test a locale, the only thing you have to do is change the url.

10% popularity Vote Up Vote Down


 

@Karen161

Honestly the easy way would be to manually change the IP your website uses in the backend code on a dev computer. Saves you money over getting other software and is generally easy enough.

Sure its a little rough, but it works

10% popularity Vote Up Vote Down


 

@Dunderdale272

This worked for me in the past but the current version has mixed reviews:
download.cnet.com/Easy-Hide-IP/3000-2144_4-10714026.html

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme