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 or ja for Japanese).
  • The second part is a region code (like US for the United States, or JP 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.


ParameterHeader NameExample
localeX-SU-Localeen-GB, en-US, ja-JP

cURL Example

curl -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].

Feedback

Something's missing? Request an article!
Got feedback? Let us know how we're doing and what can be improved.