Skip to content

Instantly share code, notes, and snippets.

Last active May 17, 2024 12:56
Show Gist options
  • Save kentbrew/e9449acd12c1ef2d78b5b473f615d23b to your computer and use it in GitHub Desktop.
Save kentbrew/e9449acd12c1ef2d78b5b473f615d23b to your computer and use it in GitHub Desktop.
How to change the Chrome default language on OSX

How to Change your Chrome Default Language

Open up a Terminal window. (If you have never seen Terminal before, go to Spotlight Search and type "Terminal.")

In the Terminal box, try this:

defaults read AppleLanguages

If you see this:

The domain/default pair of (, AppleLanguages) does not exist

... don't panic. It just means that nobody else has used this method before. To change your language, do this:

defaults write AppleLanguages '(pt-BR)'

Capitalization of the language code you enter is unimportant; your system will normalize it to lower-lower-UPPER-UPPER.

Here I've chosen Portuguese as it is spoken in Brazil. Feel free to enter the IETF language code of your choice; some of my personal favorites are en-UK, fr-CA, and es-MX. For a complete list, see the Wikipedia entry.

Restart Chrome.

If Chrome knows the language you entered, the top menu will immediately switch; mine says Arquivo, Editar, and Visualizar when I switch to pt-BR.

To switch back, run the same Terminal command with your preferred language. And if you're ever confused about what language has been selected, do this:

defaults read AppleLanguages

... or use a Web inspector to enter console mode on any page and type this:


Copy link

Thanks this is helpful.

Copy link

Thanks man, super helpful.

Tenho que dizer que um BR é a ultima nacionalidade que achei que ia responder isso

Copy link

avalanche1 commented Mar 8, 2021

Doesn't seem to work for chrome 89. Crashes on open.

Copy link

It's working for me right now on Chrome 90.0.4430.85, no crash. Sorry about that!

Copy link

wolfey commented Aug 3, 2021

To remove the setting, execute:

defaults delete AppleLanguages

Copy link

God bless you man!

Copy link

Copy link

pohy commented Dec 2, 2022

Dammit, you are the best!

Copy link

it works, thanks a lot

Copy link

Thanks !

Copy link

Thanks,It's work

Copy link


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment