描述
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.
- 可定制的语言切换器可作为小部件或导航菜单项使用。
- 与 Yoast SEO 兼容。
Polylang Pro
通过一些非常有用的额外功能(如),帮助优化翻译网站所花费的时间:
- 更好地集成到新的区块编辑器中。
- 语言切换器可作为区块使用。
- 部件块编辑器中可用的语言选项。
- 可在网站编辑器(FSE)中翻译的模板部分。
- 重复和/或同步各翻译职位的内容。
- 改进与ACF Pro 等其他插件的兼容性。
- 跨语言共享相同的帖子或术语 URL 标头。
- 类别、作者库、自定义帖子类型等的URL slugs翻译…
- 导出和导入 XLIFF 格式的内容,用于外包专业翻译。
- 获得高级支持,获得个性化帮助。
Polylang for WooCommerce
与 WooCommerce 兼容的插件,提供以下功能:
- 直接在 WooCommerce 界面翻译 WooCommerce 页面(商店、结账、购物车、我的账户)、产品类别和全局属性术语。
- 翻译 WooCommerce 电子邮件,并以客户的语言发送给他们。
- 产品元数据同步。
- 与本地 WooCommerce CSV 导入和导出工具兼容。
- 与 WooCommerce Subscriptions、Product Bundles、WooCommerce Bookings、Shipment Tracking 等流行插件兼容。
- 能够使用 WooCommerce REST API(Polylang Pro 提供)。
- 获得高级支持,获得个性化帮助。
它们都无法进行自动翻译。
我们的其他免费插件
- WPML to Polylang允许从 WPML 迁移到 Polylang。
- DynaMo可加快所有非英语网站的 WordPress 翻译速度。
- 网站编辑器经典功能允许在网站编辑器(FSE)中使用传统的部件(包括 Polylang 语言切换器)和菜单。
鸣谢
非常感谢所有帮助翻译 Polylang 的译员。
非常感谢Alex Lopez设计的标志。
Polylang 中包含的大部分标志来自famfamfam,属于公共领域。
凡使用第三方代码的地方,均已在代码注释中注明出处。
3.6 (2024-03-18)
- Requires WP 6.2 as minimum version
- Add compatibility with WP 6.5
- Pro: Add DeepL machine translation for posts
- Pro: Add export and import in XLIFF 2.0/2.1 formats
- Pro: Improve translator comments in exported PO files
- Pro: Allow to export JSON encoded post and term metas in XLIFF files
- Pro: Allow to export block sub-attributes in XLIFF files
- Pro: Add footer notes block to XLIFF files
- Pro: Single files are now exported directly instead of inside a zip
- Pro: Reworked the language switcher navigation block
- Pro: Fix language switcher navigation block justification not aligned with core settings in overlay menu (requires WP 6.5)
- Pro: Fix a race condition which could lead to display a notice to the wrong user
- Pro: Fix a conflict with ACF when rewrite rules are flushed with WP-CLI on a multisite
- Pro: Fix import of several metas with same sources but different translations
- Add filter
pll_cookie_args
to filter the Polylang cookie arguments #1406 - Fix wrong translated post types and taxononies after a
switch_to_blog()
#1415 - Fix a minor performance issue for the page for posts #1412
- Fix a JS errors after quick edit. Props @mcguffin #1435, #1444
- Fix a possible warning in view-translations-post.php #1439
3.5.4 (2024-02-06)
- Pro: Fix an accessibility issue int the navigation language switcher block
- Pro: Fix featured image not exported for posts with blocks
- Pro: Fix a conflict with the Flatsome builder
- Fix a notice when using system CRON. Props arielruminski #1397
- Fix an edge case where a wrong post tag may be assigned to a post #1418
3.5.3 (2023-12-11)
- Pro: Fix fatal error with The Events Calendar when rewrite param of event category is set to false
- Remove flag alt text in the language switcher when both the flag and language name are displayed #1393
- Fix incorrect string translations when 2 languages are sharing the same locale in a multisite #1378
- Fix posts lists not filtered by the current language when editing a post in the block editor #1386
- Fix error when a tax query is filled with unexpected data #1396
3.5.2 (2023-10-25)
- 专业版修复在块编辑器自定义分类组件面板中未按当前语言过滤术语的问题
- 修复错误的重写规则导致 mutisite 上的主网站出现 404 错误 #1375
3.5.1 (2023-10-17)
- 专业版修复在块编辑器自定义分类组件面板中未按当前语言过滤术语的问题
- 专业版修复在多站点上使用普通永久链接时的致命错误
- 专业版修复保存字符串翻译时重写规则刷新不正确的问题
- 修复错误的重写规则导致 mutisite 错误 404 #1366
- 修复使用不在 open_basedir 中的符号链接 MU 插件时的致命错误 #1368
3.5 (2023-10-09)
- 最低版本需要 WordPress 5.9
- 专业版在网站编辑器中管理导航块翻译(需要 WP 6.3 版本)
- 专业版在网站编辑器中管理页面翻译(需要 WP 6.3)
- 专业版在网站编辑器中管理模式翻译(需要 WP 6.3)
- 专业版删除与 Gütenberg 15.1 中删除的导航屏幕的兼容性
- 专业版添加过滤器 “pll_export_post_fields”,以控制导出到 XLIFF 文件的帖子字段
- 专业版:对于在激活 Polylang Pro 之前创建的 ACF 字段,不要将默认翻译选项设置为 “翻译
- 专业版修复 Polylang Pro 自动停用时 Polylang 未设置为最近激活的问题
- 不为支持 HTML5 的主题输出 JavaScript 类型 #1332
- 将 WP_Query 自动翻译挂接到 “parse_query “而不是 “pre_get_posts” #1339
- 改进块编辑器的预加载路径管理 #1341
- 修复 WP 6.4 中的重写规则 #1345
- 修复:如果未指定语言,则始终为新帖子和术语分配默认语言 #1351
- 修复在多站点上创建新站点时无法正确创建 “多语言 “选项的问题 #1319
- 修复删除静态主页翻译时,首页显示切换为 “您的最新文章 “的问题 #1311
- 修正分配给术语的错误语言 #1336
- 修复当博客在多站点上切换时更新翻译选项的错误 #1342
查看 changelog.txt 用于老的改变日志
屏幕截图
安装
- 确保您使用的是 WordPress 5.9 或更高版本,服务器运行的是 PHP 7.0 或更高版本(与 WordPress 本身的要求相同)。
- 如果您尝试过其他多语言插件,请在激活 Polylang 之前停用它们,否则可能会得到意想不到的结果!
- 像往常一样从 WordPress 的 “插件 “菜单中安装并激活插件。
- 设置向导会自动启动,通过配置主要功能,帮助您更轻松地开始使用 Polylang。
常见问题
-
哪里找到帮助?
-
- 初次使用的用户应阅读《Polylang – 入门》,该书介绍了基础知识,并附有大量截图。
- 阅读文档。其中包括常见问题和开发人员文档。
- 搜索社区支持论坛。您可能会在这里找到答案。
- 阅读浮动的文章在 社区支持论坛.
- 如果仍有问题,请在社区支持论坛上开设新主题。
- Polylang Pro 和 Polylang for WooCommerce用户可通过帮助台获得我们的高级支持。
-
Polylang 是否兼容 WooCommerce ?
-
- 您需要Polylang for WooCommerce(上述高级插件),它将使两个插件协同工作。
评价
贡献者及开发者
“Polylang” 是开源软件。 以下人员对此插件做出了贡献。
贡献者