Polylang

外掛說明

Features

Polylang allows you to create a bilingual or multilingual WordPress site. You write posts, pages and create categories and post tags as usual, and then define the language for each of them. The translation of a post, whether it is in the default language or not, is optional.

  • You can use as many languages as you want. RTL language scripts are supported. WordPress languages packs are automatically downloaded and updated.
  • You can translate posts, pages, media, categories, post tags, menus, widgets…
  • Custom post types, custom taxonomies, sticky posts and post formats, RSS feeds and all default WordPress widgets are supported.
  • The language is either set by the content or by the language code in url, or you can use one different subdomain or domain per language
  • Categories, post tags as well as some other metas are automatically copied when adding a new post or page translation
  • A customizable language switcher is provided as a widget or in the nav menu

The author does not provide support on the wordpress.org forum. Support and extra features are available to Polylang Pro users.

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).

Credits

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.

Do you like Polylang?

Don’t hesitate to give your feedback.

螢幕擷圖

  • The Polylang languages admin panel
  • The Strings translations admin panel
  • Multilingual media library
  • The Edit Post screen with the Languages metabox

安裝方式

  1. Make sure you are using WordPress 4.9 or later and that your server is running PHP 5.6 or later (same requirement as WordPress itself)
  2. If you tried other multilingual plugins, deactivate them before activating Polylang, otherwise, you may get unexpected results!
  3. Install and activate the plugin as usual from the ‘Plugins’ menu in WordPress.
  4. Go to the languages settings page and create the languages you need
  5. Add the ‘language switcher’ widget to let your visitors switch the language.
  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.

常見問題集

Where to find help ?

Is Polylang compatible with WooCommerce?

  • You need a separate addon to make Polylang and WooCommerce work together. A Premium addon is available.

Do you need translation services?

  • If you want to use professional or automatic translation services, install and activate the Lingotek Translation plugin.

使用者評論

2020 年 9 月 18 日
Very disappointing, complicated, and of little use. For a complete service, you need to complement it with several other things
2020 年 9 月 17 日
My homepage was created with Divi (Builder). I had great expectations, but Polylang free fails to clone homepage properly to another language and created a standard WordPress empty page "Home - English", nor I can't find an option to re-assign another language homepage to an existing (already created) page: you can't set for example a specific "MyCustomEngPage" as the homepage when the site switches to English. Am I missing something?
閱讀全部 1,673 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Polylang〉的開發相關工作。

參與者

Polylang 外掛目前已有 41 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 Polylang 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.8.2 (2020-09-08)

  • Pro: Fix posts sharing the same slug displayed on the same page
  • Fix: Don’t use a javascript localized string removed in WP 5.5 #568
  • Fix fatal error in site health when no language is defined #563
  • Fix various issues with Yoast SEO 14.x #65, #503, #505
  • Fix fatal error with MU Domain Mapping when saving domains in Polylang settings #569

2.8.1 (2020-08-25)

  • Pro: Fix fatal error with WP 4.9
  • Fix pll_the_languages() with ‘raw’ option returning html flag instead of flag url #558
  • Fix compatibility with Duplicate Posts not correcly loaded #557
  • Fix custom flag size in admin bar language switcher #559
  • Fix tag clouds mixed in the classic editor #561

2.8 (2020-08-17)

  • Pro: Add a language switcher block
  • Pro: Add compatibility with block image edition introduced in WP 5.5
  • Pro: Fix our private taxonomies being displayed in the ACF field group rules.
  • Pro: Fix incorrect flags loaded from the block editor
  • Pro: Fix SSO causing a wrong redirect when using subdomains (introduced in 2.7.4)
  • Pro: Fix a performance issue on the plugins list
  • Pro: Fix option to automatically duplicate media in all languages when uploading a new file not honored in block image
  • Use composer for autoload and Polylang Pro dependency on Polylang
  • Display a flag for each post in the posts list tables (same for terms). #515
  • Add test for the homepage translations to Site Health
  • Add debug information to Site Health
  • Add compatibility with the sitemaps introduced in WP 5.5 #451
  • Always filter WP_Query by the current language
  • Support wildcards in “admin-texts” parent keys in wpml-config.xml
  • Fix sticky posts showed for all languages when the admin language filter is active #469
  • Fix a performance issue on the pages list
  • Fix dependency to jQuery Migrate removed from WP 5.5 #539
  • Fix: output secure cookie when using a cache plugin and ssl #542
  • Fix the possibility to create 2 terms with the same name in the same language, without specifying the second slug.
  • Fix sticky posts appearing 2 times in WP 5.5

See changelog.txt for older changelog