How to change Google language and country geography settings

0 2,527

Usually, Google is smart enough to detect the country and language based on your location. It always displays the content in your language and localized to the same country.

In order to change the language and geographical country, we can use two URL parameters that can be passed along with any Google domain websites.

For language change, use ‘hl’ parameter i.e. ‘hl=en’ where en is Web Interface Language Code for English.

To save the language setting in the cookie, use ‘persist_hl =1’.

Example:
http://www.google.com/?hl=en&persist_hl=1

Similarly for the country setting use ‘gl’ parameter i.e. ‘gl=US’ where US is the ISO 3166-2 country code for the United States of America.

To save the country setting in the cookie, use ‘persist_gl =1’.

Example:
http://www.google.com/?gl=US&persist_hl=1

It can also use them in combination like:

Example:
http://www.google.com/?gl=US&persist_hl=1&gl=US&persist_hl=1

In Google search, if you want to search content in the specific language then use ‘lr’ parameter with the value of search language codes.

Example:
http://www.google.com/?lr=lang_hi&q=stories
Above query will search for stories content in Hindi language

Search language codes are formed by adding ‘lang_’ with Web Interface Language Code.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More