前言介紹
- 這款 WordPress 外掛「Add Polylang support for Customizer」是 2020-01-31 上架。
- 目前有 2000 個安裝啟用數。
- 上一次更新是 2023-01-04,距離現在已有 850 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.7 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
- 有 11 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
pers | richardevcom |
外掛標籤
support | polylang | translate | customizer |
內容簡介
增加 Polylang 對 Customizer 的支援
這款外掛為 WordPress Customizer 新增 Polylang 支援。
支援
我們在Frontbee 的 Discord 伺服器上提供直接的支援。
功能
在 Customizer 中增加語言選擇器。
本地化主題和選項,包括預設和自定義的 Customizer 值。
啟用/停用「語言從內容設置」的強制設置,位於語言- > 設定- > URL 修改
先決條件
必須安裝並啟用 Polylang。
必須在管理- > 語言中設置語言。
如果您有一個靜態封面:
為每種語言創建一個封面頁面。
在每種語言下,選擇前台頁面中的頁面。
預期 Customizer 將使用設定類型=theme_mod(預設),如下所示:
$wp_customize->add_setting( ‘setting_id’, [ ‘type’ => ‘theme_mod’, ] );
授權
此外掛的授權為 GPL v2 或更高版本。
本程序是自由軟體,您可以依照自由軟體基金會所發行的 GNU 通用公眾授權條款第二版或更新版本的規定修改及重新發行本程式。
本程式是基於希望它是有用的,但不設有任何擔保責任,也不承擔適銷售性和特定用途適用的擔保責任,詳情請見GNU 通用公眾授權條款。
您應該已經收到了附加於此程序的 GNU 通用公眾授權條款的副本;如果沒有,請寫信給自由軟體基金會,地址:51 Franklin St,Fifth Floor,Boston,MA 02110-1301 USA。
授權的副本已包含在外掛目錄的根目錄中。該文件名為LICENSE。
重要提示
授權
此外掛的授權為 GPL v2 或更高版本;但是,如果您選擇使用不兼容 v2 的第三方代碼,則可能需要切換到使用 GPL v3 兼容的代碼。
鳴謝
原始解決方案由@soderlind提供,可在此處找到。支持作者!這是 WordPress 外掛版本的解決方案。
原文外掛簡介
Add Polylang support for Customizer
This plugin adds Polylang support for WordPress Customizer.
Support
We provide direct support via our Frontbee Discord server
Features
Language switcher in Customizer.
Localized theme_mods and options for both default and custom made Customizer values.
Enable/disable forcing “The language is set from content” setting in Language->Settings->URL modifications
Prerequisite
Polylang must be installed and activated.
Languages must be set in Admin > Languages.
If you have a static front page:
Create a front page per each language.
Select the front page in Admin > Settings > Reading per language.
Expect customizer to use setting type = theme_mod (default) as in:
$wp_customize->add_setting( ‘setting_id’, [ ‘type’ => ‘theme_mod’, ] );
License
This plugin is licensed under the GPL v2 or later.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
A copy of the license is included in the root of the plugin’s directory. The file is named LICENSE.
Important Notes
Licensing
This plugin is licensed under the GPL v2 or later; however, if you opt to use third-party code that is not compatible with v2, then you may need to switch to using code that is GPL v3 compatible.
Credits
Original solution made by @soderlind is available here. Share some love! This is WordPress plugin version of his solution.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Add Polylang support for Customizer」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.1 | 1.0.2 | 1.0.3 | 1.1.0 | 1.1.1 | 1.1.2 | 1.2.0 | 1.3.0 | 1.3.1 | 1.3.2 | 1.3.3 | 1.3.4 | 1.3.5 | 1.3.6 | 1.3.7 | 1.3.8 | 1.4.0 | 1.4.1 | 1.4.2 | 1.4.3 | 1.4.4 | 1.4.5 |
延伸相關外掛(你可能也想知道)
Polylang 》ts, Polylang is developed by the Polylang team with the help of numerous contributors., If you want to contribute or report an issue, please visit ...。
Translate WordPress with GTranslate 》Translate WordPress with GTranslate外掛使用 Google Translate 自動翻譯服務,讓您的 WordPress 網站多語言化,並發揮 Google 的力量。有103種語言可供選擇...。
Translate Multilingual sites – TranslatePress 》透過可視化的翻譯介面,直接從前端翻譯您的WordPress網站並製作多語言網站,體驗更好的翻譯方式。, TranslatePress是一個任何人都可以使用的WordPress翻譯外...。
Translate WordPress – Google Language Translator 》Google Language Translator 外掛現已經成為 GTranslate 家族的一員!, GTranslate 自 2008 年以來一直是一家領先的網站翻譯服務提供商,為全球超過 500,000 ...。
AI Engine 》AI Engine 是一款 WordPress 外掛,可以建立像 ChatGPT 這樣的聊天機器人(或其他類型),並能夠自動產生內容、圖片,讓你可以將一切內容組織成模板,快速建...。
Automatic Translate Addon For Loco Translate 》🐦 Loco的自動機器翻譯外掛, Loco Translate的自動翻譯外掛是網站擁有者和開發人員迅速翻譯其WordPress外掛和主題的強大工具。該外掛與Loco Translate外掛集...。
Translate WordPress and go Multilingual – Weglot 》Weglot Translate是領先的WordPress翻譯外掛,全球有超過60,000個使用者信任。您可以在幾分鐘內將WordPress網站翻譯成110多種語言,無需編碼即可實現多語言。...。
WP Translitera 》這是一個可用於轉換文章、頁面、標籤、媒體和檔案等永久連結的轉換插件。, This is a transliteration plugin that can convert permanent links of posts, p...。
WPGlobus – Multilingual WordPress 》WPGlobus 是一系列 WordPress 外掛,協助您翻譯和維護雙語/多語言 WordPress 博客和網站。, 快速入門視頻, , 請同時閱讀快速入門指南。, 重要注意事項:請在...。
WP Multilang – Translation and Multilingual Plugin 》WP Multilang 是 WordPress 的多語言外掛。, 翻譯文章類型、分類法、元字段、選項、多媒體檔案中的文本字段、選單、標題和小工具中的文本字段。, WP Multilan...。
Theme and plugin translation for Polylang (TTfP) 》「Polylang 的主題和外掛程式翻譯」是什麼?, 這是 Polylang 外掛的擴充套件。Polylang 是一個可讓 WordPress 網站多語言化的擴充套件。, 這個外掛可以讓 Pol...。
Prisna GWT – Google Website Translator 》這個外掛讓 Google 自動翻譯服務的強大功能可翻譯您的網站成 100 多種語言,是 WordPress 的一個簡單而完整的多語言解決方案。, 功能:, , 易於安裝,包括內聯...。
Translate WordPress with ConveyThis 》ConveyThis Translate 是最精確、最快速、最容易使用的語言外掛,可將您的 WordPress 網站翻譯成超過 120 種語言!安裝 ConveyThis Translate 只需幾個簡單的...。
AI Translation for TranslatePress 》TranslatePress 自動機器翻譯外掛, , 與 TranslatePress 外掛一同安裝此插件,輕鬆節省你的時間。, , , 免費版本支援 Yandex 翻譯小部件。, 專業版 💎 支援 G...。
My WP Translate 》這是一個簡單而強大的 WordPress 翻譯外掛程式,可在支援翻譯的大部分主題和外掛中使用。, , 為什麼要選擇 My WP Translate 自 MyThemeShop:, , 在 WordPres...。