Setting Up Chrome to Run Different Browser Languages

I do a lot of software testing for miscellaneous browser languages and wanted to figure out a way where I didn’t need to toggle my browser’s language settings each time I needed to “travel” to a far off land to ensure our software matches their spelling or dialect. With the help of one of my developers who was willing to assist, we were able to figure out a great solution to our problem. For the sake of this How To, I’ll use two browser languages that were setup slightly differently.

Initial Steps

I found it slightly easier to work with a copy of my Chrome executable on my desktop, so let’s do that before we continue.

  1. Open the file location of Chrome.exe (C:\Program Files (x86)\Google\Chrome\Application)
  2. Right-click Chrome.exe > Hover Send to > Click Desktop (create shortcut)
  3. Back on your desktop > Copy and paste that shortcut so you have two shortcuts (one for each browser language you may need)
  4. Rename each one to the desired browser language (I call mine [language] Chrome)
  5. Right-click the shortcut > Click Properties

Now that the properties menu is open, we’ll proceed with two different browser languages.

United Kingdom

  1. In the Target: field, paste this value: “C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –lang=en_GB –user-data-dir=c:\chrome-profile-en_GB
    UK Chrome Properties
  2. Click Apply > OK
  3. Launch your edited Chrome.exe shortcut with the UK language
  4. You’ll notice it launches Chrome for, what looks like, the first time
  5. Ensure browser language was setup correctly (chrome://settings/?search=language)
    Language UK
  6. I personally chose to remove English (US) from the Language and Spell check areas to ensure UK was the only chosen language
  7. Visit a website and ensure that your browser language is working

Canada

Canada has a very similar initial setup, but there are some small differences that will make quite the impact if you don’t verify.

  1. In the Target: field, paste this value: “C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –lang=en-CA –user-data-dir=c:\chrome-profile-en-CA
    CAN Chrome Properties
  2. Click Apply > OK
  3. Launch your edited Chrome.exe shortcut with the CAN language
  4. You’ll notice it launches Chrome for, what looks like, the first time
  5. Ensure browser language was setup correctly (chrome://settings/?search=language)

    This is where things get a little different from most language setups:
    Chrome does have a built in Canada language but it does not have an automatic language Target on load, so technically you could put anything in that Target field in the properties of the shortcut, and adjust this setting to Canada language later.

    Lanuage CAN

  6. Add English (Canada) as a Language (which should automatically add it as a Spell check option as well
  7. Move English (Canada) to the top of the list
  8. I personally chose to remove English (US) from the Language and Spell check areas to ensure CAN was the only chosen language
  9. Visit a website and ensure that your browser language is working

Housekeeping and Additional Info

Icons

I went ahead and made a couple .ico files so that I could switch out the icons for my new browsers. That way it was easily distinguishable which browser was which, especially when pinning to my taskbar or Start menu. You can save these images and use them to change out your icons.

Browser Taskbar

UK ChromeCAN Chrome

You will need to visit a .png to .ico converter website and get those converted. It is totally worth it!

Extensions, Passwords, Favorites Bar, and Settings

All these things are stored separately from your other Chrome instances. So you can setup individual extensions or favorites per instance. This allows easy navigation and increased efficiency for testing. Likewise, passwords, history, and other settings are stored entirely separate from one another.

New Folder Locations

You may have noticed that after launching these browsers, it makes a folder location with all the new files.

C:\chrome-profile-en-CA
C:\chrome-profile-en_GB

I took those shortcuts from my desktop and put them into those particular folders. Then I pinned them to my taskbar so I could easily access them. Those folders are also the holding place for my .png and .ico files.

HAPPY TESTING

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: