前言介紹
- 這款 WordPress 外掛「xili-language」是 2009-01-24 上架。
- 目前有 900 個安裝啟用數。
- 上一次更新是 2025-04-02,距離現在已有 32 天。
- 外掛最低要求 WordPress 4.3.5 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4.2 以上。
- 有 14 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
.mo file | language | taxonomy | localization | multilingual |
內容簡介
使用xili-language外掛可以實現雙語(或多語)網站中根據當前文章或頁面語言的主題自動選擇語言(.mo文件)。通過設置、鉤子和API,主題行為可以完全個性化定制。此外,xili-language的介面友好且易讀,可以幫助用戶編輯/修改文章和其翻譯,並且當前用戶可以選擇其信息面板的語言。xili-language通過自定義分類法確定文章、頁面和自定義文章的語言,並且支持WP JSON REST API。xili-language適用於單獨安裝及多站點(網絡)安裝的WordPress。此外,xili-language在不使 用cookies及引導(如“301”)的情況下,可即時選擇主題文件夾中的多語言.mo文件。xili-language插件自2009年以來在教育平台上不斷更改和優化程序,儘量運用WordPress核心功能和特色(如自定義分類法,API,metabox,指針,幫助,pomo庫,等等)並且自選擇自適應。xili-language插件現在有新版本完全重寫,並於Github上進行過測試。懇請使用者使用並提供反饋。插件需求包括:一個包含不同語言文章的網站項目,可本地化主題,翻譯.po文件建立.mo文件的工具等。更多關於準備資料以及使用xili-language的詳情,可參見wiki.xiligroup.org中的介紹。
原文外掛簡介
**Version not compatible with php 8+ – maxi php7.4.33
xili-language provides for a bilingual (or multilingual) website an automatic selection of language (.mo) in theme according to the language of current post(s) or page. Theme’s behaviour can be fully personalized through settings, hooks and api. Ready for CMS developers and designers.
W A R N I N G – see tab and chapters in changelog – further versions are in github repository
xili-language plugin provides an automatic selection of language in theme according to the language of displayed post, series of posts, page or articles. If the post is in gaelic, the texts of the theme will be in gaelic if the author checks the post as gaelic and if the theme contains the right .mo file for this target language.
A very readable interface with a list of titles (and links) to help you write/edit/modify articles and their translations.
To help authoring, current user can choose language of his dashboard.
xili-language select on the fly the multilingual .mo files present in the theme’s folder (no cookies, no redirections like “301”).
xili-language uses a custom taxonomy to specify language of post, page and custom post. Full compatible with WP JSON REST API
xili-language plugin works on WordPress installation in mono (standalone) or on one site belonging to a multisite (network) install.
xili-language plugin works on WordPress installation for WebApp with JSON REST API – see changelog because WP JSON REST API 1.2.1 in under full development but yet powerful.
As educational plateform in constant changing since 2009, xili-language trilogy tries to use most of the WordPress Core functions and features (Custom taxonomy, API, metabox, pointer, help, pomo libraries, …). The options are adjustable.
TESTERS WANTED
According some users, current versions can be stable with recent WP versions. BUT since 2 years, a new version is fully rewritten and tested in few websites. These new versions are available in Github and here in WP repository in tag Advanced View. Your feedback will be very valuable.
Version 2.21.3
fixes issues (thanks to patchstack.com)
Version 2.21.2
Last Updated 2017-04-17 (readme for new look of plugins repository – tested in websites with WP 4.7.3), further versions are in github
W A R N I N G – see tab and chapters in changelog
For bbPress users, xili xl-bbp-addon plugin is no more a plugin. Components are optionally (if bbPress active) included. An option is also added in Experts tab of settings.
Prequisite
A project of a website with articles in different languages.
A localizable theme : Every themes with localization (or translation-ready like twentyfourteen) can be easily used (and improved) for realtime multilingual sites.
A tool to translate .po files of the theme and built .mo files (poEdit or better xili-dictionary – see below ).
see this page in wiki.xiligroup.org.
What to prepare before and during installation before activating
verify that your theme is translation-ready. Collect .po files of theme for target languages.
if rtl languages are used, verify that theme contains rtl.css file.
Links and documentation to read before activating
Check out the screenshots to see it in action and other tabs here.
latest news inside twentyfourteen-xili example,
latest bundled child theme of twentyfifteen: twentyfifteen-xili example,
xili wiki,
news and history,
forum to read experience of users and obtain some support,
For webmaster: Before to be moved in wiki, table summarizes all the technical features (widgets, template tags, functions and hooks) of this powerful plugin for personalized CMS created by webmaster,
For german speaking webmaster some documentations and posts are written by YogieAnamCara of sensorgrafie
and finally the source code of the plugin itself if you read php!
Themes provided as examples
Since WordPress 4.1, the default theme named twentyfifteen can be used without php coding for a multilingual site as shown here twentyfifteen-xili.
Other child theme examples of bundled parent themes: twentyeleven twentyeleven-xili, twentytwelve twentytwelve-xili, twentythirteen twentythirteen-xili, twentyfourteen twentyfourteen-xili, twentyfifteen twentyfifteen-xili.
Other compatible plugins by xiligroup dev
TRILOGY FOR MULTILINGUAL CMS WEBSITE
including xili-language plugin
Please verify that you have installed the latest versions of:
xili-dictionary plugin: With xili-dictionary, it is easier to create or update online, via admin/dashboard UI, the files .mo of each language.
xili-tidy-tags plugin: With xili-tidy-tags, it is now possible to display sub-selection (cloud) of tags according language and semantic trans-language group (trademark,…).
That this plugin does not
With around 8000 php lines, xili-language is not everything…
xili-language plugin does not create additional tables in the database, do not create cookies and only use 4 lines in Options table. xili-language simply makes proper use of the taxonomy tables and postmeta table offered by WordPress to define language and link items between them. Because xili-language plugin does not modify deeply the post edit UI, it is possible to use iPhone / iPod Touch WordPress app to prepare and draft the post.
xili-language plugin does not replace the author or the editor. No automatic translation. Content strategist is the master of the languages, the contents and the navigation inside the website. With xili-dictionary, webmaster can translate the theme’s items and when .mo files are in place, xili-dictionary can be deactivated. For design, the creator is free to choose text or graphic. xili-language does not provide flags (or few as example in child-theme example like twentytwelve-xili )!
Newbie, WP user, Developer,…
Dear Newbie: originally built for webmaster and developer, the plugin trilogy progress since 6 years to be more and more plug and play for newbies who can read and spend a little time mainly for translation.
xili-language is also dedicated for theme’s creator or webmaster with knowledges in CMS and WP and having (or not) tools to create .mo language files. Through API (hook), the plugin add automatic tools (or links or filters) for sidebar or top menus. Categories or Archives lists are translated also.
xili-language provides also series of functions which can be hooked in the functions.php file of the theme that you create i.e. for a cms like multilingual website.
Licence, donation, services, “as is”, …
Contrary to popular belief, GPL doesn’t say that everything must be zero-cost, just that when you receive the software (plugin or theme) that it not restrict your freedoms in how you use it. Free open source plugin does not mean free services
Texts of licence: GPLv2
Donation link via paypal in sidebar of dev.xiligroup site
Services : As authors of plugin, dev.xiligroup team is able to provide services (consulting, training, support) with affordable prices for WP multilingual contexts in corporate or commercial websites.
Plugin is shipped as is : see no warranty chapter in license GPLv2.
Roadmap
Improved documentation for getting starts, template tags and functions – here in news or here by Vladimir.
Delivery of a premium services kit (with powerful features and attractive fees) packaged with professional training and support.
Updating sources (parts are 6 years old) with new libraries provided since WP 4.2.
Contributions are welcome 😉
More infos
Technical infos
1.1. Prerequisite
1.2. CMS
1.3. Documentation for developers
1.4. More infos and docs
Flags
Compatibility
1. Technical infos
REMEMBER : xili-language follows the WordPress story since more than 6 years. Initially designed for webmasters with knowledge in WP, PHP,… step by step the plugin will improved to be more and more plug and play. So don’t forget to visit this latest demo and news, see this other demo and Forum.
1.1. Prerequisite
Verify that your theme is international (translation ready) compatible (translatable terms like _e('the term','mythemedomaine') and no displayed texts ‘hardcoded’ (example in default bundled themes of WP named twentyfourteen or twentyfifteen ).
This latest version works with WP 4.0+ in mono or multisite.
1.2. CMS
CMS = Content Management System
Contains features dedicated to multilingual theme’s creators and webmasters. Don’t forget to read documented source code.
1.3. Documentation for developers
A table summarizes all the technical features (widgets, template tags, functions and hooks) of this powerful plugin for personalized CMS created by webmaster.
Provides infos about text direction ltr ou rtl of languages (arabic, hebraic,…) of theme and of each post in loop
unique id for category link hook see expert’s corner posts
hooks to define header metas or language attributes in html tag.
1.4. More infos and docs
Other posts, articles and more descriptions here and here in action.
Visit also Forum to obtain more support or contribute to others by publishing reports about your experience.
2. Flags
Default flags provided in bundled child themes like TwentyFourteen-xili 2014 came from famfamfam. To be compliant to the design and look, choose your own series of flags. Be aware of size and file naming.
3. Compatibility
xili-language is compatible with the plugin xili-dictionary which is able to deliver .mo files on the fly through the WP admin UI (and .po files translatable by other translators). xili-dictionary used a specific taxonomy without adding tables in WP database.
xili-language is compatible with the plugin xili-tidy-tags. xili-tidy-tags lets you create multiple group of tags. That way, you can have a tag cloud for tags in English, another cloud for French tags, another for Spanish ones, and so on. You can also use the plugin for more than multilingual blogs. Basically, you can create any group of tags you want.
xili-language is full compatible with the plugin xilitheme-select to be used with iPhone, iPod Touch or other mobiles. Also with xili re/un-attach media !
More informations about other plugins in the website dev.xiligroup.com or in WP Repository
The plugin is frequently updated. Visit Other versions.
See also the dev.xiligroup Forum.
* Tags from previous readme : theme, post, plugin,posts,page,category,admin, bilingual, dictionary,.po file, widget,international, i18n, l10n, WP network, multisite, blogroll, japanese, khmer, rtl, translation-ready, bbpress, jetpack, polylang
© 2008-2018 – MS – dev.xiligroup.com
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「xili-language」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.1 | 0.9.8 | 1.0.2 | 1.2.1 | 1.3.1 | 1.4.1 | 1.5.3 | 1.5.4 | 1.5.5 | 1.6.0 | 1.6.1 | 1.7.1 | 1.8.0 | 1.8.2 | 1.8.3 | 1.8.4 | 1.8.5 | 1.8.6 | 1.8.7 | 1.8.8 | 1.9.1 | 2.0.0 | 2.1.0 | 2.1.1 | 2.1.9 | 2.2.0 | 2.2.1 | 2.2.2 | 2.3.1 | 2.3.2 | 2.3.9 | 2.4.1 | 2.4.3 | 2.5.0 | 2.6.0 | 2.6.1 | 2.6.2 | 2.7.0 | 2.7.1 | 2.8.0 | 2.8.1 | 2.8.5 | 2.8.6 | 2.8.7 | 2.8.9 | 2.9.0 | 2.9.1 | 2.9.2 | 2.9.3 | trunk | 2.10.2 | 2.11.3 | 2.13.2 | 2.14.1 | 2.15.4 | 2.16.5 | 2.17.1 | 2.18.1 | 2.19.3 | 2.20.2 | 2.21.2 | 2.21.3 | 2.8.10 | 2.9.10 | 2.9.11 | 2.9.21 | 1.8.9.3 | 2.23.14 | 2.23.15 | 2.8.3.1 | 2.8.4.3 |
延伸相關外掛(你可能也想知道)
Custom Post Type UI 》Custom Post Type UI 提供了易於使用的界面,以便為您的網站註冊和管理自定義文章類型和分類法。, Custom Post Type UI Extended, CPTUI 協助建立自定義內容...。
WordPress Tag, Category, and Taxonomy Manager – AI Autotagger 》axoPress allows you to show a customizable display of the terms assigned to the current post. You can choose which taxonomy and which format to dis...。
Search & Filter 》Search & Filter 是一款簡單的 WordPress 搜尋和篩選外掛程式,是 WordPress 搜尋框的進階版。, 您可以透過類別、標籤、自訂分類、文章類型、發佈日期或...。
Related Posts by Taxonomy 》此外掛可以讓你快速增加讀者的參與度,透過小工具或簡碼在側邊欄或文章內容後加入相關文章。有相同詞彙數量的文章會顯示在最前面!此外掛可以在多個種類和文...。
Radio Buttons for Taxonomies 》此外掛可將預設的分類方塊替換為使用單選按鈕的自訂 metabox…從而限制每篇文章在該分類中只能選擇一個術語。, 插件選項頁面允許使用者選擇要切換為使用...。
Custom Post Type Widgets 》此 WordPress 外掛可以添加預設的自訂文章類型小工具。, 您可以在小工具上篩選已註冊的自訂文章類型或分類法。, , 小工具描述, , 最新文章 (自訂文章類型), ...。
Term Management Tools 》請注意,此外掛需要至少 PHP 7.1。, 如果您需要重新組織標籤和分類,此外掛可以讓您更輕鬆地進行操作。它在條目管理頁面的“批次操作”下拉菜單中添加了三個新...。
Taxonomy Images 》在你的主題中顯示圖像, 有一些過濾器可以在你的主題中使用,來顯示此外掛創建的圖像關聯。請閱讀以下詳細信息。, 顯示代表術語檔案庫的單個圖像, 以下過濾器...。
PS Taxonomy Expander 》PS Taxonomy Expander 可以讓您更輕鬆地在編輯文章時使用類別、標籤和自訂分類法。, 功能, , 啟用將分類法核取方塊變成有階層的單選按鈕功能。, 讓您在 WordP...。
Posts in Page 》使用簡單的簡碼 (shortcodes),輕鬆地將一個或多個文章添加到任何頁面。, 支援類別 (categories)、標籤 (tags)、自訂文章類型 (custom post types)、自訂稅項...。
WP Term Order 》按照您的方式對分類法詞進行排序。, WP Term Order 允許使用者以數字方式對任何可見的類別、標籤或分類法詞進行排序,為其分類法提供定制排序。, 同時也請查...。
Taxonomy Metadata 》此外掛實現了分類術語的元數據基礎設施,因此您可以向標籤、類別和其他分類術語中添加自定義元數據(按鍵)。大部分代碼來自於sirzooro提交到 WordPress Core...。
Remove Taxonomy Base Slug 》如果您想要對您的自訂文章類型文章使用更好的固定連結,並使用自訂的固定連結,這個外掛程序可以協助您。, 如果該術語的slug和文章類型相同,那麼該分類的優...。
HTML Import 2 》此外掛可匯入格式完整的靜態 HTML 檔案到 WordPress。需要 PHP 5 及以上版本。, 此插件可將一個目錄的檔案匯入為頁面或文章。您可以指定包含您想匯入內容的 H...。
JC Submenu 》JC子選單外掛允許你自動填入自定義的文章類型、分類或子頁面到導覽選單中。此外掛容易使用,並被設計成為一個輕量化的選單擴充套件。, 透過我們的進階子選單...。