[WordPress] 外掛分享: Connect Polylang for Elementor

首頁外掛目錄 › Connect Polylang for Elementor
WordPress 外掛 Connect Polylang for Elementor 的封面圖片
100,000+
安裝啟用
★★★★
4.8/5 分(50 則評價)
77 天前
最後更新
0%
問題解決
WordPress 5.4+ PHP 5.6+ v2.5.5 上架:2018-11-27

內容簡介

將 Polylang 多語言外掛連結至 Elementor 頁面建構器:翻譯您的 Elementor 模板並以正確語言顯示,並提供原生可自訂的 Language Switcher Elementor widget,以語言分層顯示/隱藏 widget 的可見度條件,與許多其他功能。

外掛的功能
📍 模板翻譯與正確語言顯示

使用Elementor Pro Theme Builder(附屬連結)建立 Elementor 模板的翻譯,特別針對標題、尾部或封存模板建立翻譯。

當使用 [elementor-template] 短代碼時也可運作並選擇正確的翻譯。

🔄 語言切換器

原生 Elementor Widget,可輕鬆建立漂亮、可完全自訂的語言切換器:

顯示或隱藏旗幟、語言名稱、語言代碼。
垂直清單、水平清單或設計過的下拉式。
可縮放的 SVG 旗幟。

👁️ 語言可見度條件

讓您可以透過語言顯示或隱藏每個 widget、區塊或欄位。

🏷️ 語言動態標籤

使用語言動態標籤(在 Elementor Pro 上)可特定設定一種語言,或是「目前」語言。可用的標籤包括:

語言代碼標籤文字
語言名稱標籤文字
語言 URL 標籤 URL
語言旗幟標籤圖片

✏️ Elementor 編輯器整合

現在您可以查看目前模板的語言,並從 Elementor 編輯器中修改為其翻譯或建立翻譯。

🔍 Elementor Finder 整合

可從 Elementor Finder 存取 Polylang 設定頁面並轉換至選擇的語言網站。

🔨 外掛整合修正與微調

自動在新模板翻譯上產生顯示條件。
自動在建立新模板翻譯時生成 Elementor CSS 樣式。
在 site-url 動態標籤和搜尋表單 widget上修正主頁 URL 的語言。
新增語言 URL 斜線後綴。
在全域 widget 上隱藏 wp-admin 的語言。
其他整合修正。

使用方法

您可以以兩種方式管理翻譯的模板:

(建議)為模板建立連結的翻譯,僅在預設語言上設定顯示條件。
為模板建立獨立翻譯,並具備自己的顯示條件。

以下為範例:

網站語言為:
- 英文 (主要)
- 西班牙文
- 義大利文

- 選項 1 (僅連結主要語言擁有顯示條件):
╔═ 封存模板 A (英) -> 條件是「紅色 (英)」
╠═ 封存模板 A (西) -> 無(在此檢查是否為「紅色 (英)」的西班牙文版本)
╚═ 封存模板 A (義) -> 無(在此檢查是否為「紅色 (英)」的義大利文版本)

- 選項 2 (沒有連結的翻譯,所有語言都有顯示條件):
══ 封存模板 B (英) -> 條件是「紅色 (英)」
══ 封存模板 B (西) -> 條件是「紅色 (西)」
══ 封存模板 B (義) -> 條件是「紅色 (義)」

支援

WordPress.org 上的外掛支援論壇
Github 外掛 repo

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.5.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Connect Polylang for Elementor」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Connect Polylang multilingual plugin with Elementor Page Builder: Translate your Elementor templates and show them in the correct language, native customizable Language Switcher Elementor widget, Visibility Conditions of widgets and Dynamic Tags by language and much more…
What the Plugin Does
📍 Template translation and show in the correct language
Create translations for your Elementor templates especially for header, footer or archive templates with Elementor Pro Theme Builder (affiliated link).

Automatically selects the correct translation for “Template Widget”.
Automatically selects the correct translation for [elementor-template id="1234"] shortcodes.
Allow Elementor Kit translation for different settings for each language.

🔄 Language Switcher
A native Elementor Widget to easily build a nice and fully customizable language switcher:

Show or hide flags, language name, language code.
Vertical list, Horizontal list or styled dropdown.
SVG scalable flags.

👁️ Language Visibility Conditions
Allow to show or hide every widget, section or column by language.
🏷️ Language Dynamic Tags
Use language dynamic tags (on Elementor Pro) that you can set with an specific language or the “current” one. Available tags are:

Language Code tag type text
Language Name tag type text
Language Url tag type url
Language Flag tag type image

✏️ Elementor Editor integration
Now you can view the language of the current template and change to its translations or create them from the Elementor editor.
🔍 Elementor Finder integration
From Elementor Finder you can access to Polylang settings pages and go the site in the selected language.
🔨 Plugins integration fixes and tweaks

Automatically generate display conditions on new template translation.
Automatically generate Elementor CSS styles on create new template translation.
Fix home url to the current language on site-url Dynamic Tag and Search Form widget.
Add language url trailing slash.
Hide language on wp-admin for global widgets.
Other integration fixes.

AI-powered translation for Polylang — AutoPoly instantly translates your Elementor, Gutenberg, and ACF content in one click while keeping your design exactly the same. Check it now (affiliated link)
How to use
You can manage translated templates in two ways:

(recommended) create linked translations for a template and only set display conditions on the default language.
create separated translations for a template with their own display conditions.

See an example:
Site languages:
- EN (main)
- ES
- IT

- Option 1 (linked translations only main language has display conditions):
╔═ Archive Template A (EN) -> condition category is "Red (EN)"
╠═ Archive Template A (ES) -> none (in front checks if category is ES translation of "Red (EN)")
╚═ Archive Template A (IT) -> none (in front checks if category is IT translation of "Red (EN)")

- Option 2 (not linked translations, all languages has display conditions):
══ Archive Template B (EN) -> condition category is "Red (EN)"
══ Archive Template B (ES) -> condition category is "Rojo (ES)"
══ Archive Template B (IT) -> condition category is "Rosso (IT)"

Support

Plugin’s support forum here on WordPress.org
Github plugin repo
Polylang User Community Group at Facebook
What is covered by our support? – All regarding THIS plugin (“Connect Polylang for Elementor”), plus the relation to Polylang, Polylang Pro, Elementor and Elementor Pro of course.
What is NOT covered by support? – Anything general regarding multilingual topics and WordPress. Explicitely we DO NOT offer any “WPML”, “WPBakery” or “Visual Composer” support, and also not for your theme etc.!!!

Translations
We have used the strings of Elementor and Polylang whenever possible to take advantage of the fact that they are translated into many languages. For the other strings a .pot file (connect-polylang-elementor.pot) for translators is also always included 🙂
You can collaborate with your language translations in Translating WordPress
Credits
The following code/classes are licensed under the GPL.

v2. refactor and upgrade by Pacotole at Creame
v2.1 Cross domain fixes based on work of Jory Hogeveen and nicmare
Support Brad Johnson
v1. released by David Decker
v1. Polylang Switcher class (Elementor Widget) and its CSS based on widget from plugin “Language Switcher for Elementor” by Solitweb (GPLv2 or later)
SVG flags from FlagKit and Wikipedia

Please, send your suggestions and feedback – Thank you for using or trying out this plugin!

延伸相關外掛

文章
Filter
Mastodon