Locale
Site Unblocker Locale Header
The locale parameter allows you to simulate requests from a specific geographic location or language. By setting the X-SU-Locale header
, you can adjust regional settings, such as the Accept-Language
header and browser language preferences, based on your chosen language and region code.
The header follows a language-region format, where:
- The first part is a language code (like
en
for English orja
for Japanese). - The second part is a region code (like
US
for the United States, orJP
for Japan).
For example, the en-GB
header will set the language to English as it's used in the United Kingdom.
This is useful for accessing geo-targeted content, testing internationalized sites, or scraping pages that serve different content based on user language or location settings.
Parameter | Header Name | Example |
---|---|---|
locale | X-SU-Locale | en-GB , en-US , ja-JP |
cURL
Example
cURL
Examplecurl -k -v -x unblock.decodo.com:60000 \
-U "USERNAME:PASSWORD" "https://ip.decodo.com/" \
-H "X-SU-Locale: en-GB"
Support
Still can't find an answer? Want to say hi? We take pride in our 24/7 customer support. Alternatively, you can reach us via our support email at [email protected].
Updated 15 days ago