Polylang

描述

Polylang与WordPress完全集成,只使用其内置的核心功能(分类法),可保持网站的稳定运行,并根据您的需要创建一个多语言网站,语言种类从一种到10种或更多。添加的语言数量不受限制,WordPress 的语言包会在准备就绪时自动下载。

功能

根据您已建立或计划建立的网站类型,您可能会对以下列表中的插件组合感兴趣。
所有插件都包含一个向导,只需点击几下即可完成设置。

Polylang

Polylang 和Polylang Pro共享相同的核心功能,例如

  • 翻译帖子、页面、媒体、类别、帖子标签、自定义帖子类型和分类法、RSS 源;支持 RTL 脚本。
  • 语言可以通过 URL 中的语言代码设置,也可以为每种语言使用不同的子域或域。
  • 在创建新的帖子或页面翻译时,自动复制类别、帖子标签和其他元数据。
  • Translating classic menus and classic widgets. Also accessible with Site Editor Classic Features in block themes.
  • Customizable language switchers available as blocks, classic widget or classic navigation menu item.
  • 与 Yoast SEO 兼容。

Polylang Pro

通过一些非常有用的额外功能(如),帮助优化翻译网站所花费的时间:

  • 更好地集成到新的区块编辑器中。
  • 部件块编辑器中可用的语言选项。
  • 可在网站编辑器(FSE)中翻译的模板部分。
  • 重复和/或同步各翻译职位的内容。
  • 改进与ACF Pro 等其他插件的兼容性。
  • 跨语言共享相同的帖子或术语 URL 标头。
  • 类别、作者库、自定义帖子类型等的URL slugs翻译…
  • Machine translation with DeepL.
  • 导出和导入 XLIFF 格式的内容,用于外包专业翻译。
  • 获得高级支持,获得个性化帮助。

Polylang for WooCommerce

与 WooCommerce 兼容的插件,提供以下功能:

  • 直接在 WooCommerce 界面翻译 WooCommerce 页面(商店、结账、购物车、我的账户)、产品类别和全局属性术语。
  • 翻译 WooCommerce 电子邮件,并以客户的语言发送给他们。
  • 产品元数据同步。
  • 与本地 WooCommerce CSV 导入和导出工具兼容。
  • 与 WooCommerce Subscriptions、Product Bundles、WooCommerce Bookings、Shipment Tracking 等流行插件兼容。
  • 能够使用 WooCommerce REST API(Polylang Pro 提供)。
  • 获得高级支持,获得个性化帮助。

我们的其他免费插件

鸣谢

非常感谢所有帮助翻译 Polylang 的译员。
非常感谢Alex Lopez设计的标志。
Polylang 中包含的大部分标志来自famfamfam,属于公共领域。
凡使用第三方代码的地方,均已在代码注释中注明出处。

屏幕截图

  • Polylang 语言管理员面板
  • 字符串翻译 admin panel
  • 多语言 media library
  • 编辑文章屏幕带有Language metabox

区块

该插件提供了 2 个区块.

  • Language Switcher Language switcher to insert in content or as a widget.
  • Navigation Language Switcher Language switcher suitable for navigation.

安装

  1. Make sure you are using WordPress 6.5 or later and that your server is running PHP 7.4 or later (same requirement as WordPress itself).
  2. 如果您尝试过其他多语言插件,请在激活 Polylang 之前停用它们,否则可能会得到意想不到的结果!
  3. 像往常一样从 WordPress 的 “插件 “菜单中安装并激活插件。
  4. The setup wizard is automatically launched to help you get started more easily with Polylang by configuring the main features.

常见问题

哪里找到帮助?

Polylang 是否兼容 WooCommerce ?

Where do I report security bugs found in this plugin?

  • Please report security bugs found in the source code of the Polylang plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.

评价

2026 年 4 月 5 日
I really like this plugin, the only thing is I find it difficult to add the right css-code to change the looks of the menu block for switching the language.
2026 年 3 月 28 日
Polylang is an essential tool for my WordPress projects. It handles multi-language support seamlessly, which is crucial for international music production websites. It’s lightweight, stable, and integrates perfectly with custom themes and plugins. Highly recommended for anyone looking to build a professional multilingual presence!
2026 年 3 月 17 日
The plugin doesn’t work. To translate a page, you need to make a copy of it, fine. But no matter what change you make, the translated page never gets shown, only the default page. It is hopeless and frustrating to use.
阅读所有2,930条评价

贡献者及开发者

「Polylang」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Polylang」插件已被翻译至 54 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Polylang」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

3.8.2 (2026-04-07)

  • Pro: Fix refresh issues in block editor languages panel #2965
  • Pro: Fix error when unlinking 2 translations in bkock editor #2970
  • Pro: Fix fatal error when a repeater is previously created in ACF Pro but ACF is active #2972
  • Fix settings redirect in Playground #1840
  • Fix possible fatal error when the default language has been corrupted in DB #1843

3.8.1 (2026-03-19)

  • Fix fatal error when the cache is suspended #1837 #1839

3.8 (2026-03-17)

  • Requires PHP 7.4 and WP 6.5 as minimum version
  • Pro: Use autonomous updater #2475
  • Pro: Add capabilities allowing to control permissions per language
  • Pro: Add capabilities to control access to languages and strings translations
  • Pro: Allow to manage languages and settings with WP CLI #2653
  • Pro: Add smart duplication in site editor #2559
  • Pro: Add support for DeepL glossaries #2687
  • Pro: Add locale fallback support to machine translation #2685
  • Pro: Add Support encoding for block attributes in wpml-config.xml #1683, #2660
  • Pro: Improve extensibility of the block editor languages panel #2553
  • Pro: Add support for new blocks introduced in WP 7.0 #2933 #2941
  • Pro: Hide language selector on inner blocks in Widget Block Editor #2900
  • Pro: Fix page template not copied when creating a new page translation in the block editor #2581
  • Pro: Fix SVG icons lost when using machine translation
  • Pro: Fix a performance issue with the translation of ACF labels #2670
  • Pro: Fix product status wrongly modified when updating a product with the REST API #2540
  • Pro: Fix inactive languages not displayed when they should in REST API #2791
  • Pro: Fix translation of ACF repeaters with pagination #2674
  • Pro: Fix ACF’s layout fields instructions #2889
  • Pro: Fix ACF’s taxonomy fields not synchronized #2948
  • Pro: Fix event dates of The Events Calendar not duplicated #2894
  • Add language switcher block and navigation language switcher block #1811
  • Add support for multiple encodings in wpml-config.xml #1679, #2655
  • Enforce transients in DB and in object cache are synchronized #1653, #2598
  • Enforce passing all translations when saving the translations of a post or term #1690
  • Hide the admin language filter when editing posts #1698
  • Improve performance by preventing DB queries to fetch the language terms #1650
  • Fix edge cases where the translation group could be corrupted #1690
  • Fix a fatal error on multisite when saving a post after having switched to a site without Polylang #1700
  • Fix a fatal error when translating a custom table #1730
  • Fix warning when requesting a non-existing language #1665
  • Fix strings translations import with WP Importer #1637
  • Fix edge cases leading to wrong languages order #1777
  • Fix a fatal error with the plugin Groups #1834

查看 changelog.txt 用于老的改变日志