> ## 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.

# 区域设置

> Site Unblocker 区域设置标头

**locale** 参数允许您模拟来自特定地理位置或语言的请求。通过设置 `X-SU-Locale 标头`，您可以根据所选的语言和地区代码调整区域设置，例如 [**`Accept-Language`**](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Accept-Language) 标头和浏览器语言首选项。

该标头遵循语言-地区格式，其中：

* 第一部分是 [**语言代码**](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes)（如 `en` 表示英语或 `ja` 表示日语）。
* 第二部分是 [**地区代码**](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements)（如 `US` 表示美国，或 `JP` 表示日本）。

例如，`en-GB` 标头将语言设置为英国使用的英语。

这对于访问地理定向内容、测试国际化网站或抓取根据用户语言或位置设置提供不同内容的页面非常有用。

***

| 参数           | 标头名称          | 示例                        |
| ------------ | ------------- | ------------------------- |
| **`locale`** | `X-SU-Locale` | `en-GB`, `en-US`, `ja-JP` |

## `cURL` 示例

<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="支持" href="https://direct.lc.chat/12092754" cta="让我们聊聊！">
    需要帮助或只是想打个招呼？我们的支持团队全天候为您服务。 \
    您也可以随时通过电子邮件 [support@decodo.com](mailto:support@decodo.com) 联系我们。
  </Card>

  <Card title="反馈" href="mailto:feedback@decodo.com" cta="分享反馈">
    找不到您要找的内容？请求一篇文章！ \
    有反馈意见？分享您对我们如何改进的想法。
  </Card>
</Columns>
