> ## Documentation Index
> Fetch the complete documentation index at: https://help.decodo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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`**](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/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**](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) (like `en` for English or `ja` for Japanese).
* The second part is a [**region code**](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) (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.

***

| Parameter    | Header Name   | Example                   |
| ------------ | ------------- | ------------------------- |
| **`locale`** | `X-SU-Locale` | `en-GB`, `en-US`, `ja-JP` |

## `cURL` Example

<CodeGroup>
  ```shellscript cURL theme={null}
  curl -k -v -x unblock.decodo.com:60000 \
       -U "USERNAME:PASSWORD" "https://ip.decodo.com/" \
       -H "X-SU-Locale: en-GB"
  ```
</CodeGroup>

***

<Columns cols={2}>
  <Card title="Support" href="https://direct.lc.chat/12092754" cta="Let's chat!">
    Need help or just want to say hello? Our support is available 24/7. \
    You can also reach us anytime via email at [support@decodo.com](mailto:support@decodo.com).
  </Card>

  <Card title="Feedback" href="mailto:feedback@decodo.com" cta="Share feedback">
    Can't find what you're looking for? Request an article! \
    Have feedback? Share your thoughts on how we can improve.
  </Card>
</Columns>
