What news in xili-language version 2.10.0 ?
The main improvement concerns permalinks feature and core mo files insertion inside WP installation.
mo files insertion in the 4th tab of xili-language settings
Automattic servers and GlotPress servers were recently changed and availables files were moved. This version incorporates new rules to recover language files of core and embedded themes (like Twenty Twelve, Thirteen…)
new class for language slug inside permalinks
What is a permalink with language slug ?
It is an URI containing language slug (or alias) between site root and query : http://2013.extend.xiligroup.org/en/news/
IMPORTANT: if your theme includes this feature, before updating, contact dev.xiligroup, to obtain the good version of file to update the theme sub-folder functions-xili.
some fixes and improvement in source code
screenshots were moved in assets (and not in zip package),…
Previous versions of xili-language introduce new features to build multilingual navigation menu:
- insertion point to insert everywhere languages list in navigation menu (2.8.8),
- insertion point to insert sub-selection of pages according current language in navigation menu (2.9.10)
Now, in the version 2.9.20, it is now possible to insert another menu at a chosen insertion point in a menu. The live result will be selected according current language. Why this new feature ?
Some themes are uneasy to modify and it is impossible to clone the navigation menu location for each language. With this Menu insertion point feature, another menu (structure) (without location) will be live inserted according current language. So the resulting menu content will different from one language to another.
The first thing to do is to attach a menu structure to a location (named main-menu here for the explanations and attached to primary location).
In case of a bilingual location, two menu structures must be created with names like french-menu and english-menu. Inside these, menu items can be inserted (by example french pages inside french-menu and …).
With these three elements, it is now possible to create the Menu insertion point and place it inside the main-menu. Before adding to menu structure, french-menu will be selected to french and english-menu to english. After adding move the point to the right place inside menu structure.
Some screenshots :
Menus Selection before adding to Menu
Insertion point added to menu structure
Insertion point can be at every place: on first or second level in menu structure. With this nice feature, it is possible to create amazing multilingual menu !
Note: to avoid unwanted side effect, insertion point inside menu assigned to insertion point are not live built.
In previous version, it was necessary to be rigorous to set header image per language (suffix in filenames). With 1.0.2 and improved multilingual classes for theme, it is now easy to upload (crop) header image and choose the language assigned to each header image.
- free file naming,
- possible to crop image before to set it as Header Image,
- option to disable temporary image switching according current language,
xili options theme 1.0.2 with accordion settings page and new header images choices.
As you can see in the header, the image is changing according current language… Some explanations are readable in the help of the – Appearance, Header – settings screen.
2013-xili header settings screen
Here in demo:
xili-tidy-tags 1.9 introduces new grouping features using core WordPress functionalities.
The screenshot above is explicit
If you click tag ‘editor‘, under the Tags Archives title, for demo (as a list), link to another tags in other languages (here only french).
The navigation menu is also improved and language (here flag) redirect to another tag of the group in the target language.
Don’t confuse new multilingual group (tags with the same meaning but in a different language) and tidy tags groups (tags grouped under a word (semantic group like trademark) or a language (english or german,…). Imagine a tag ‘red’ grouped with ‘rouge’ and ‘rot’, with new function it is possible to display the group and to find a tag in another language (rouge in french…).