This example of child theme based on parent TwentyTwelve was completely rewritten.
Before updating to v 1.2 – VERIFY that version 2.8.8 of xili-language plugin is installed !!
It is now based on library and classes included in plugin xili-language and results of future TwentyTwelve-xili development for WP 3.6.
Previous features are conserved.
For webmasters : Live Theme customization is active, cloning of navigation menus and widgets zone possible, a default random slideshow is added by default.
For developers : This example is rich and the class is extendable. The code source in functions.php is tiny.
The German article describes the xili-language settings for experts which are responsible to hook into the menu settings and offer a localized menu.
At the German article I explain the options of the front-end settings as well the widgets that xili-language offers.
Version 1.1 includes (as example for other themes) a new feature : clonable sidebar !
It is now possible to have a sidebar of each wanted target language. It can be very interesting if, according content strategy, the content (series of widget) are different in each language.
In xili-options, webmaster checks (or not) the sidebar to be cloned. And in Apparence/widget, the sidebar container appears at right column…
For developer as example for your theme : you will see a function in functions.php to define in admin UI which sidebar must be cloned and some new lines in sidebar.php and sidebar-front.php in the child theme.
Version 1.1.2 improves search form.
The German post describes the first steps after activating the xili-languange plugin, changing a language as well as the sort order and how to assign or create a translation to an existing article.
To read the WordCamp Paris, you must read it in french
This is just an abstract of the German article and does not reflect the entire blogpost or an translation!
If you are going to plan a bi- or multilingual blog many of the plugins I used failed in many ways. Therefore my workaround was to setup two different blogs each under its own URL and domain. For some reason this is not always the goal and you would love to offer more comfort to the reader as well as to the authors of your blog.
With a recent project I ran, I did not had the chance to split up the site into different setups and I used the XILI plugins as my choice of tool to achieve the goal.
Especially for German folks, I’m going to write here what I have learned about using the XILI plugins to build a bi- or even multilingual blog with WordPress.
With XILI you have a so called trilogy of plugins to achieve that:
- xili-language plugin: the core and main plugin that links your articles and offers to create a multilingual menu
- 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,…).
As I’m writing these articles and post, I’m going to learn about the functionalities of the XILI plugins and I’m not a master here. I just explain my setup and approach which might be already helpful to those are having the same goal – to present a bi- or multilingual blog.
If you have questions or can not follow me for any reason please do not hesitate to get in contact with me.
How to set xili-language plugin ?
Lot of informations can be found in:
in read me shipped in package readable in WP plugin repository,
in other sites…
like here or here about 2010 theme and 2011 theme
Q: How to install this child theme ?
R: Like other child theme: upload the folder in themes folder near twenty twelve folder. In Appearance/Themes select this child as active theme. Next: setting the widgets and menus and xili-language settings (see wiki pages).
Soon more infos …
Welcome to the website demoing the multilingual child theme of the latest twenty twelve theme.