Member-only story

How to Set Your Computer and Browser to Test from a Foreign Country

Useful for testing the internationalisation of your webapps.

Courtney Zhan
2 min readFeb 1, 2025

Non-Medium Members can read this article free on Substack.

In last article, I shared a tip about creating localization files using ChatGPT, for developers.

On the testing side, when you have internationalisation, how do you verify that?

Here is a screenshot of two machines (one is virtual) accessing the same website, one is English and the other is Chinese.

The website language is different based on the machine’s language preferences.

The verification part is easy to test. But first, we need to set up one machine simulate in another country. I recommend picking a language/country you are kind of familiar with, so you can revert back easily, in this case, I’ll pick China.

macOS “Language and Region” preference

After setting it, the machine will restart.

This is not done yet. For web testing, the browser sends its default language to the server as well.

--

--

No responses yet