> 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. 在左侧导航菜单中，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[Engage]** → **计划规则**.
2. 在 *计划规则* 页面上，选择 **内容** 选项卡。

   <div data-with-frame="true"><figure><img src="https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-ba3db2e3c90ae3f89cf451f55f2d871c7fadb1dc%2F84a83ea5547cf360db5fa353d5b63cacf22e3bfd06e328bc748e932cfa40c280.jpg?alt=media" alt="" width="322"><figcaption></figcaption></figure></div>
3. 在 *翻译* 部分，选择 **编辑** → **下载源文案** 或 **下载源文案和翻译**.

   <div data-with-frame="true"><figure><img src="https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FD2Cm18o2xaebXp6yPCSF%2FScreenshot%202026-05-14%20at%2016.46.29.png?alt=media&amp;token=43c7995b-22cb-4f1c-9316-a00e34abf86f" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="warning" %}
**重要提示：** 还有一种下载翻译的方法。处理微型站点内容的翻译时，只能使用此方法。
{% endhint %}

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

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

<div data-with-frame="true"><figure><img src="https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-7ff823ea175517ae51bd01797786a5ee09bcfc6d%2Fd32fc2a1a82174e541e2204cd0d7874f6ab5fe8054f39ed7b353868a853fbad3.png?alt=media" 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="https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-ebd7a87da34175b48a511fcf3e16b304e5bcf964%2Fa8d26aad2fb3b3aedb2f1c2f4120df0b332776e9320fc1745e40f2e0fc9c19a7.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>
2. 将包含 `/Emails` 和 `/Widgets` 文件夹的文件夹压缩为 zip 文件。
   {% endstep %}

{% step %}
**第 4 步：上传翻译文件**

1. 根据第 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
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=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
