# 自动翻译 WordPress 插件

在创建多语言 WordPress 网站时，大多数网站所有者都会专注于翻译页面、文章、分类目录等内容。

他们往往忘记翻译安装在 WordPress 网站上的插件和 [**主题**](https:\/\/locoaddon.com\/wordpress-theme-automatic-translation\/)。这些已安装的插件和主题通常包含预定义的文本字符串，例如 **提交**、**阅读更多**、**加入购物车**、**活动详情** 或 **搜索结果**。

[![插件字符串翻译信息图](https://locoaddon.com/wp-content/uploads/2026/02/plugin-string-translation-infographic.jpg)](https://locoaddon.com/wp-content/uploads/2026/02/plugin-string-translation-infographic.jpg)

如果你的主要目标是构建一个完整的多语言网站，翻译这些内容非常重要。 

要翻译字符串，你需要访问插件或主题的 .po 和 .mo 文件，这对于非技术用户来说比较复杂。

所以，最重要的问题是：***如何轻松翻译这些插件文本字符串？***

答案是 [**Loco AI Addon**](https://wordpress.org/plugins/automatic-translator-addon-for-loco-translate/)。

## 什么是 Loco Translate Addon？

你应该已经知道，**Loco Translate** 是一个 WordPress 插件，它允许你直接从 WordPress 仪表盘手动翻译主题和插件；但如果你的插件包含数千个字符串，这个过程会非常困难且耗时。

但是，通过 **Loco AI Addon**，您可以使用 AI 翻译器自动翻译所有文本字符串。此插件连接到诸如[ **Google**](https:\/\/locoaddon.com\/docs\/auto-translations-via-google-translate\/)、[ **Yandex**](https:\/\/locoaddon.com\/docs\/auto-translations-via-google-translate\/)、[ **DeepL**](https:\/\/locoaddon.com\/docs\/translate-via-deepl-translator\/) 等来源，或连接到由 AI 驱动的来源，如[ **ChatGPT**](https:\/\/locoaddon.com\/docs\/chatgpt-ai-translations-wordpress\/)、[ **Gemini AI**](https:\/\/locoaddon.com\/docs\/gemini-ai-translations-wordpress\/) 和[ **Chrome AI**](https:\/\/locoaddon.com\/docs\/how-to-use-chrome-ai-auto-translations\/)，以提供即时且自动化的翻译。

现在我们已经找到了答案，让我们逐步了解如何通过 AI 翻译 WordPress 插件。

### 自动翻译 WordPress 插件的步骤

按照以下步骤自动翻译 WordPress 插件： 

- 首先，请确保您已经安装并激活了 [Loco Translate](https://wordpress.org/plugins/loco-translate/) 和 [Loco AI](https://locoaddon.com/wp-content/uploads/2026/01/save-translation.png) 插件。

- 激活后，进入 Loco Translate 部分并点击“插件”。

[![选择插件 Loco Translate](https://locoaddon.com/wp-content/uploads/2026/02/choose-plugin-loco-translate.png)](https://locoaddon.com/wp-content/uploads/2026/02/choose-plugin-loco-translate.png)

- 选择您想要翻译的插件。

- 现在，我们需要选择翻译语言。从可用选项中选择您所需的语言。如果列表中没有该语言，您可以手动添加。

[![添加或编辑语言
](https://locoaddon.com/wp-content/uploads/2026/01/edit-theme.jpg)](https://locoaddon.com/wp-content/uploads/2026/01/edit-theme.jpg)

- 点击“翻译”按钮，将出现一个提示，让您选择翻译提供商。

[![选择翻译提供商](https://locoaddon.com/wp-content/uploads/2026/01/choose-translation-providers.png)](https://locoaddon.com/wp-content/uploads/2026/01/choose-translation-providers.png)

- 点击“翻译”按钮以自动执行翻译。这将需要几分钟时间。

- 翻译完成后，合并翻译内容并将其添加到编辑器中。

- 最后，保存翻译内容，这将更新所选插件的 .po 和 .mo 文件。

[![保存翻译](https://locoaddon.com/wp-content/uploads/2026/01/save-translation.png)](https://locoaddon.com/wp-content/uploads/2026/01/save-translation.png)

## 结论

因此，在翻译插件时，与其陷入不断编辑 .po 和 .mo 文件的循环，不如选择像 **Loco AI Addon** 这样的更智能方案，它可以让你无需任何手动操作，直接从 WordPress 仪表盘更轻松地管理插件翻译。