> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/advocate-program-settings/translate-and-localize-your-advocate-program.md).

# 翻译并本地化您的 Advocate 项目

Advocate 平台使用参与者特定的区域设置信息，帮助您翻译和本地化您的推荐计划内容和奖励。这些区域设置（例如 `en_GB`, `nl_NL`）是由两个字母的语言代码和两个字母的国家代码组成，分别遵循 ISO 639-1 和 ISO 3166-1 alpha-2 的定义。当您向我们发送客户倡导和事件详情时，您可以同时发送 impact.com 的区域设置信息，用于单个参与者。

#### 翻译并本地化您的项目内容

{% stepper %}
{% step %}
**步骤 1：下载源文案和消息**

1. 在左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[互动]** → **项目规则**.
2. 在 *项目规则* 屏幕上，选择 **内容** 选项卡。

   <div data-with-frame="true"><figure><img src="/files/a088a0240f596c245487fd40fc7dfa5d6eef1976" alt="" width="322"><figcaption></figcaption></figure></div>
3. 在 *翻译* 部分下，选择 **编辑** → **下载源文件** 或 **下载源文件和翻译**.

   <div data-with-frame="true"><figure><img src="/files/b9ddbc1b450bec18c26f39053e77ed3ac11f91be" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="warning" %}
**重要：** 还有另一种下载翻译的方法。此方法是处理微站内容翻译的唯一方式。
{% endhint %}

1. 在左侧导航菜单中，选择 **内容**.
2. 在 *翻译* 部分中选择 **Microsite** 以展开选项列表，然后选择要翻译的微站内容。
3. 选择以 **下载源文件** 或 **下载源文件和翻译**.

提供的 zip 文件将按以下格式包含您的默认文案以及任何已翻译文案（如有）：

<div data-with-frame="true"><figure><img src="/files/8c092978e74145c1a9ec3935157476678976b324" alt="" width="321"><figcaption></figcaption></figure></div>

在此示例中， `programEmailID.json`, `programWidgetID.json`, `referredReward.json` 或 `referrerReward.json` 这些文件包含该项目的电子邮件、组件和奖励的默认文案。
{% endstep %}

{% step %}
**步骤 2：翻译源文件**

使用默认电子邮件或组件消息的副本（位于 `programEmailID.json` 或 `programWidgetID.json` 文件）作为翻译基础，并使用默认奖励设置的副本作为本地化奖励类型和金额的模板。

如果您之前已制作过翻译，它们将包含在下载内容中，位于其所属组件/电子邮件的文件夹中（例如 /`programEmailID`），并使用其对应区域设置的文件名（例如 `nl_NL.json`).

您可以选择针对特定区域设置编辑现有的翻译/奖励，或者删除现有内容并从默认文件重新开始。
{% endstep %}

{% step %}
**步骤 3：打包翻译**

1. 将您的翻译文件放回与您翻译的源文件同名的文件夹中（*例如* 该 `/signupRewardEmail` 用于翻译以下内容的文件夹 `signupRewardEmail.json`).

   以下示例展示了以下内容的翻译： `fr_FR` 和 `en_US` 这些区域设置已放置在该项目电子邮件的文件夹中 `/programEmailID`、组件 `/programWidgetID`以及奖励 `/referredReward` 和 `/referrerReward`.

   <div data-with-frame="true"><figure><img src="/files/a7789639e438f51531bdf74e51e052c361f5318c" alt="" width="563"><figcaption></figcaption></figure></div>
2. 将包含以下内容的文件夹压缩为 zip： `/Emails` 和 `/Widgets` 文件夹。
   {% endstep %}

{% step %}
**步骤 4：上传翻译**

1. 在 *翻译* 部分中上传压缩后的文件夹 **内容** 选项卡中的 *项目规则* 页面，或者 *内容* 页面，具体取决于您在以下步骤中使用的方法： *步骤 1*.
2. 选择 **完成** 并确认文件已成功上传。

恭喜！您的推荐计划现已本地化。
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/advocate-program-settings/translate-and-localize-your-advocate-program.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
