# 所有私信的 AI 翻译

**URL:** https://meta.discourse.org/t/ai-translation-of-all-pms/399524
**Category:** Feature
**Tags:** ai, content-localization
**Created:** [2026年三月29日 17:31 UTC](https://meta.discourse.org/t/ai-translation-of-all-pms/399524 "2026-03-29T17:31:16Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [2026年三月29日 17:31 UTC](https://meta.discourse.org/t/ai-translation-of-all-pms/399524/1 "2026-03-29T17:31:16Z")

</div>

问候，metaland！

我已在我的个人网站上启用了 AI 翻译，效果非常好！向 Natalie 以及所有参与开发这一出色功能的人员致敬！配置非常简单。

我还将其设置为翻译私信（PM），但出于某种原因，这似乎无法正常工作。

- 根据翻译管理页面，翻译进度显示为 100%
- 未选中“AI 翻译回填限制为公开内容”
- 当我选择“安排翻译”时，系统显示通知：“该主题中的所有帖子均已翻译。”

要使翻译生效，我必须逐个选择“翻译帖子”。这虽然可行，但显然很繁琐。似乎没有一种方法可以强制翻译整个私信。

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2026年三月29日 18:18 UTC](https://meta.discourse.org/t/ai-translation-of-all-pms/399524/2 "2026-03-29T18:18:00Z")

</div>

您是在询问私聊（PM）还是群组私聊（group PMs）吗？

根据描述，您提到的设置仅影响群收件箱中的个人消息。

> [@nat](#):
>
> `AI translation backfill limit to public content`（AI 翻译回填限制为公开内容）- 默认为 `true`。这会阻止私聊和私有分类中的内容被发送到大型语言模型（LLM）。当设置为 `false` 时， **群组** 私聊和私有分类将被包含在翻译中。个人之间的私聊不会被翻译。

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [2026年三月29日 19:07 UTC](https://meta.discourse.org/t/ai-translation-of-all-pms/399524/3 "2026-03-29T19:07:45Z")

</div>

哦……发现得真及时。非常感谢！“个人之间的私信不会被翻译”这一部分在界面中完全不明显。它仅仅显示该私信已被翻译，并允许你逐条进行翻译。

我希望这一决定能被重新考虑，因为在我的使用场景中，完全可以想象到偏好不同语言的人们希望进行一对一的私信交流。

此外，该设置也未提及一对一私信：

 ![Screenshot 2026-03-29 at 12.06.58 PM](https://global.discourse-cdn.com/meta/original/4X/7/f/1/7f18b10ab0833493b94b90e166d744ecf8be74b1.png)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2026年三月29日 19:36 UTC](https://meta.discourse.org/t/ai-translation-of-all-pms/399524/4 "2026-03-29T19:36:26Z")

</div>

在这种情况下，我们可以将布尔值 `ai_translation_backfill_limit_to_public_content` 更改为选项菜单 `ai_translation_backfill_targets`：

- 公开分类中的主题（当前设置开启时的行为）
- 所有主题
- 所有主题 + 群组私信（当前设置关闭时的行为）
- 所有主题和所有私信

---

<div class="post-metadata">

### Author: ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)
#### Post date: [2026年三月30日 03:34 UTC](https://meta.discourse.org/t/ai-translation-of-all-pms/399524/5 "2026-03-30T03:34:48Z")

</div>

有一个即将推出的功能 [“翻译这些类别”](https://meta.discourse.org/t/feature-request-limit-topic-translation-to-specific-categories/392993)，因此我预计我们将重新协商设置：

从

- 限制 AI 翻译回填仅限公开内容

改为

- 翻译私信
- `翻译这些类别：` [帮助，支持 ▼]

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [2026年三月30日 08:18 UTC](https://meta.discourse.org/t/ai-translation-of-all-pms/399524/7 "2026-03-30T08:18:53Z")

</div>

太棒了，这确实是阻碍我们充分利用该功能的唯一因素：heart:

我真的很感激大家的辛勤工作！！！🙂

---

<div class="post-metadata">

### Author: ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)
#### Post date: [2026年三月31日 09:55 UTC](https://meta.discourse.org/t/ai-translation-of-all-pms/399524/8 "2026-03-31T09:55:17Z")

</div>

同时在此附上 PR：

> <https://github.com/discourse/discourse/pull/39000>
>
> Related: https://meta.discourse.org/t/feature-request-limit-topic-translation-to…-specific-categories/392993
> 
> The old \`ai\_translation\_backfill\_limit\_to\_public\_content\` setting was too coarse. It either translated everything or only public content, with no way to pick specific categories or control PM translation separately.
> 
> This replaces it with two settings:
> \- \`ai\_translation\_target\_categories\` (category\_list): pick exactly which categories get translated. Subcategories need to be added separately. Empty means no category topics get translated.
> \- \`ai\_translation\_private\_messages\` (enum: none / group / all): controls PM translation independently. none disables it, group limits to group PMs, all includes ... all.
> 
> Tags are switched to "always translated".
> 
> The migration reads the old setting and maps it to the new settings, so existing sites keep their current behaviour. It also cleans up the old setting.
> 
> \<img width="359" height="511" alt="Screenshot 2026-03-31 at 5 33 45 PM" src="https://github.com/user-attachments/assets/48ed19e8-f559-447c-a7af-c235698d62df" /\>

如果 `ai_translation_enabled` 或 `ai_translation_backfill_limit_to_public_content` 被修改为非默认值，则设置将会迁移。否则保持不变。

当 `ai_translation_backfill_limit_to_public_content` = `true` 时，现在将变为：

- `ai_translation_target_categories` = `<all public categories>`
- `ai_translation_personal_messages` = `none`

反之，如果 `ai_translation_backfill_limit_to_public_content` = `false`，现在将变为：

- `ai_translation_target_categories` = `<all categories>`
- `ai_translation_personal_messages` = `all`

`ai_translation_personal_messages` 也支持 `group` 设置。
