TMS Extensions for Polylang

外掛說明

Extends Polylang with reusable multilingual tools for block-based sites.

Included features:
– Language Switcher Advanced block
– Language Visibility block
– Menu by Language block
– HTML Sitemap for Polylang block

Bundled translations:
– Catalan (ca)
– English (US) (en_US)
– French (France) (fr_FR)
– German (de_DE)
– Italian (it_IT)
– Portuguese (Portugal) (pt_PT)
– Spanish (Spain) (es_ES)

WordPress loads the matching file when the site language uses the same locale.

Dependencies:
– Polylang (required)

適用於區塊編輯器

這個外掛提供 5 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Language Visibility Show or hide content by selected language.
  • Menu by Language Shows a different site Navigation menu for each Polylang language (wp_navigation). Not a language switcher.
  • Language Switcher Advanced Advanced language switcher with customizable layout.
  • HTML Sitemap for Polylang List pages, blog posts (and optional CPTs) in a hierarchical HTML sitemap.
  • Menu by Language Slot

安裝方式

  1. Upload the plugin to the /wp-content/plugins/ directory.
  2. Make sure you have Polylang active.
  3. Activate it from the Plugins section in the WordPress admin.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

將〈TMS Extensions for Polylang〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1.0

  • Added: “Menu by Language” block and inner “Menu by Language Slot” block to map a different Navigation menu per Polylang language.
  • Removed: shortcodes; use the Gutenberg blocks or the tepll_*_get_html() PHP functions instead.
  • Changed: removed PHP helpers that printed markup directly; use the *_get_html() functions and output the returned HTML where needed.
  • Added: Italian (it_IT) and Portuguese (Portugal) (pt_PT) language packs.

1.0.0

  • Added: Component “Language Visibility”, available as Gutenberg block, shortcode, and PHP function.
  • Added: Component “Language Switcher”, available as Gutenberg block, shortcode, and PHP function.
  • Added: Component “HTML Sitemap”, available as Gutenberg block, shortcode, and PHP function.
  • Added: Catalan, English (US), German, French (France) and Spanish (Spain) language packs.