Polylang

描述

功能

Polylang 允许你创建一个双语言或者多语言的WordPress站点。你写的文章,页面一级创建的分类一级文章标签,通常都会被翻译。文章的翻译,无论是否使用默认语言,都是可选的。

  • 你可以使用许多你想要语言。支持 RTL(Right to Left) 语言脚本。WordPress语言包会自动下载和更新。
  • You can translate posts, pages, media, categories, post tags, menus, widgets…
  • 自定义文章类型,自定义分类法,浮动文章,以及文章格式,RSS feeds 以及所有默认的WordPress widgets 的支持。
  • 语言可以由内容或url中的语言代码设置,也可以为每种语言使用一个不同的子域或域
  • 分类,文章标签添加新的文章或页面翻译时,会自动复制类别、文章标记以及其他一些元
  • 一个自定义的语言切换提供了一个widget或者菜单中提供一个导航

作者不会再wordpress.org forum 提供支持。你可以到Polylang Pro这里会提供额外的用户支持.

If you wish to migrate from WPML, you can use the plugin WPML to Polylang

If you wish to use a professional or automatic translation service, you can install Lingotek Translation, as an addon of Polylang. Lingotek offers a complete translation management system which provides services such as translation memory or semi-automated translation processes (e.g. machine translation > human translation > legal review).

鸣谢

Thanks a lot to all translators who help translating Polylang.
Thanks a lot to Alex Lopez for the design of the logo.
Most of the flags included with Polylang are coming from famfamfam and are public domain.
Wherever third party code has been used, credit has been given in the code’s comments.

你是否喜欢Polylang?

不要犹豫 给出你的反馈.

屏幕截图

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

安装

  1. 请确定你想要使用WordPress 5.1 或者之后,你的服务器运行再 PHP 5.6 或者之后 (同样需求 WordPress 本身)
  2. If you tried other multilingual plugins, deactivate them before activating Polylang, otherwise, you may get unexpected results!
  3. 从WordPress中常见的”Plugins”菜单安装并且激活插件
  4. Go to the languages settings page and create the languages you need
  5. 添加”语言切换”widget让你的访问者切换语言
  6. Take care that your theme must come with the corresponding .mo files (Polylang automatically downloads them when they are available for themes and plugins in this repository). If your theme is not internationalized yet, please refer to the Theme Handbook or ask the theme author to internationalize it.

常见问题

哪里找到帮助?

评价

2021年10月11日
Great plugin to maintain a multi-language website. I write my posts in two languages, and even with the free version I can translate almost everything.
2021年10月7日
The last working version of Polyland on my website is 2.9.2. After that with every update when trying to open the website I get : "Error thrown. Call to undefined method PLL_Frontend::get_languages_list()". I am really fedup with restoring the website each time, so now I have stopped and not going to update this pluggin any more, unless there is a proved solution to the problem.
阅读所有2,063条评价

贡献者及开发者

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

贡献者

“Polylang”插件已被翻译至46种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Polylang”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

3.1.2 (2021-10-11)

  • Pro: Fix parent page not filtered by language in the block editor since WP 5.6
  • Pro: Fix XLIFF mime type for PHP 7.0 and PHP 7.1
  • Fix settings page displaying the media modules whne no language are defined
  • Enforce Yoast SEO to use dynamic permalinks #882
  • Yoast SEO: Fix static front page and blog page breadcrumb

3.1.1 (2021-08-16)

  • Pro: Fix a fatal error with The Events Calendar
  • Allow to remove the cookie with the pll_cookie_expiration filter #905

3.1 (2021-07-27)

  • Add compatibility with WordPress 5.8
  • Raise Minimum WordPress version to 5.4
  • Pro: Allow to filter blocks by language in the widget block editor
  • Pro: Allow to export and import XLIFF files for string translations
  • Pro: Add the language switcher in the navigation block (experimental)
  • Pro: Replace dashicons by svg icons in the block editor
  • Pro: The Events Calendar: Add compatibility with Views V2 (only for sites using only one domain)
  • Pro: Fix + icon displayed in the block editor sidebar when the user cannot create a translation
  • Add a warning section to the site health for posts and terms without languages #825
  • Require the simplexml extension in the site health if a wpml-config.xml is found #827
  • Remove the information about the WPML compabitility mode in settings #843
  • The browser preferred language detection is now deactivated by default
  • The media are now untranslated by default
  • Highlight the language filter in the admin toolbar when it’s active #821
  • Allow to query comments in multiple languages (just as posts and terms) #840
  • Don’t disable the translation input field in the classic metabox #841 Props Onatcer
  • Optimize all images including flags #848 Props lowwebtech
  • Don’t redirect if WordPress doesn’t validate the redirect url to avoid redirects to /wp-admin/ #879
  • Fix media appearing to have a language after the language is changed in the media library grid view #807
  • Fix media not all deleted when bulk deleting from the grid view of the media library #830
  • Fix when more than one language switcher are added to the same menu #853
  • Fix PHP notice when adding a CPT archive link to a menu #868 Props davidwebca

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