# 由Discourse托管的论坛是否使用本地实例的LibreTranslate？

**URL:** https://meta.discourse.org/t/are-forums-hosted-by-discourse-using-a-local-instance-of-libretranslate/315124
**Category:** Support
**Tags:** translator
**Created:** [2024年七月2日 15:45 UTC](https://meta.discourse.org/t/are-forums-hosted-by-discourse-using-a-local-instance-of-libretranslate/315124 "2024-07-02T15:45:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Gavin\_Hudson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gavin_hudson/32/328449_2.png) [@Gavin\_Hudson](https://meta.discourse.org/u/Gavin_Hudson)
#### Post date: [2024年七月2日 15:45 UTC](https://meta.discourse.org/t/are-forums-hosted-by-discourse-using-a-local-instance-of-libretranslate/315124/1 "2024-07-02T15:45:44Z")

</div>

翻译选项之一 LibreTranslate 可以配置为将文本保留在本地，并且不与外部服务器进行交互。我的公司不想为自动翻译发送任何数据到外部服务器，这可能意味着，例如，在使用 Google Translate 时将 IP 发送给 Google。对于 Discourse 托管的论坛，有人知道他们是否在使用 LibreTranslate 的本地实例吗？

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [2024年七月5日 21:53 UTC](https://meta.discourse.org/t/are-forums-hosted-by-discourse-using-a-local-instance-of-libretranslate/315124/3 "2024-07-05T21:53:12Z")

</div>

> [@Gavin\_Hudson](#):
>
> 对于由 Discourse 托管的论坛，有人知道他们是否在使用本地实例的 LibreTranslate 吗？

需要说明的是，LibreTranslate 是一个可以由最终用户安装的应用程序；翻译的端点可以公开，因此您可以通过网络使用它（例如在自托管服务器上），或者将其用作本地应用程序，其中端点不可通过网络访问，仅作为在同一台机器上运行的软件（适用于翻译大量文档或网络覆盖不可靠的情况）。

> [@Gavin\_Hudson](#):
>
> 其中一个翻译选项 LibreTranslate 可以配置为将文本保留在本地，而不与外部服务器进行任何交互。

我曾将 LibreTranslate 与 Discourse Translator 一起使用，既使用了项目托管的 API，也在 VPS 上自托管。但是，我没有尝试在 Discourse 的同一 VPS 或同一 Docker 容器中安装 LibreTranslate。

> [@Gavin\_Hudson](#):
>
> 我的公司不想将任何数据发送到外部服务器进行自动翻译，这可能意味着，例如，在使用 Google Translate 时将 IP 发送给 Google。

该插件不会将 IP 地址转发给它使用的服务；翻译服务将从 Discourse 服务器接收数据。

更重要的一点是，您需要阅读所有翻译服务的服务条款，并决定它们是否是您的公司可以在您的用例中信任的供应商。而且，由于它是开源的，您的公司可以检查该插件向服务发送了什么：[GitHub - discourse/discourse-translator](https://github.com/discourse/discourse-translator) 🙂

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [2024年七月5日 21:56 UTC](https://meta.discourse.org/t/are-forums-hosted-by-discourse-using-a-local-instance-of-libretranslate/315124/4 "2024-07-05T21:56:45Z")

</div>

此外，LibreTranslate 作为 Argos Translate 的 API 包装器，体积相当小。语言模型非常庞大，至少需要 10GB。我不想将它们存储在与 Discourse 相同的机器上（甚至不自行托管，我只是使用了付费服务 😃）。
