Chrome Extension for Switching Locale (Accept-Languages)

44

13

Is there a Chrome Extension which can be used to quickly switch between two locales (e.g. English and German) quickly? Some websites detect the user's language using the Accept-Languages HTTP-header while not having any UI to configure the desired language. In that case the only way I know of to change the language is to change the mentioned HTTP-header.

Actually, any quick way to switch locales will do. It does not have to be an extension.

usr

Posted 2012-09-23T12:16:41.330

Reputation: 2 040

8Bookmark chrome://chrome/settings/languages and then you just need to Drag and Drop the language to make it default. – Ankit – 2012-09-23T13:07:04.510

1@Serge thanks. I have tested this but without luck. I guess the website decides to always choose priority 1. Makes sense. – usr – 2012-09-23T15:12:07.663

Answers

51

Commenter Lamb suggests the following:

Bookmark chrome://settings/languages and then you just need to Drag and Drop the language to make it default.

I think this is a workable solution.

usr

Posted 2012-09-23T12:16:41.330

Reputation: 2 040

1

note: you have to then click on the 'Display Google Chrome in this Language' button and completely restart Chrome. I found certain extensions were still running in the background and I needed to go to Task Manager to kill all Chrome processes. You can test the date format with this fiddle (switch between US and UK English) http://jsfiddle.net/vRf5B/42/

– Simon – 2015-02-17T23:06:59.963

1you can completely shut down Chrome using "menu > Exit" button. Closing the browser with the X button doesn't kill the background extensions – Dénes Papp – 2015-03-01T15:25:24.397

12

I have written a Chrome extension which does exactly that: Quick Language Switcher.

Replacement plugin (original link dead) Language Switcher

Wattos

Posted 2012-09-23T12:16:41.330

Reputation: 121

Can your extension add languages that Chrome itself doesn't directly support? I'm looking for a way to easily add in locally defined language codes for localisation tests (testing the process of localisation itself, not localisation to a given language).

– Martijn Pieters – 2015-01-16T16:42:54.520

1you can add new languages to this extension – Simon – 2015-02-17T23:10:38.563

doesn't work for me – shershen – 2016-05-22T07:14:05.460

5All the extension does is setting Accept-Languages header, however it does not modify values of JavaScript navigator.language and navigator.languages. – OhJeez – 2016-10-28T10:08:49.840

it works, it changes HTTP Header Accept-Language, read here https://stackoverflow.com/questions/1043339/javascript-for-detecting-browser-language-preference/3335420#3335420

– rofrol – 2017-10-04T16:33:56.500