Xili-language: Getting started, FAQ

In this post, some questions received (via Xili-language_settings:_Assistance,_support_form available in settings) are gathered for all readers.

Question : Add a new language package which is not in pop up list ?


The 'examples' popup menu contains only few current languages.

Using input, it is easy to add a new language after searching the iso code in official list. (an iso code is a combinaison of language code _ country code) . Some codes are visible in this wordpress page


Currently the language slug will automatically created (lower case of language ISO name).

Now the language is in list. By editing this, it is possible to set the order of language in list (visible in menu).


Of course, the corresponding .mo files must be available in the theme languages folder !

What happens : When I put the characters (arabic, chinese, japanese) on the post, it displayed correctly, however, it turned to "?????" ?


It seems that by default you or your webhoster creates a non UTF-8 db (latin?). This not works for chinese or japanese or arabic website with WP,

To mixe languages as in multilingual website, if your site is very new, I invite you to restart WP install on a UTF-8 db. (if necessary before make copies of texts and post inside a text document.)

The other procedures to change db format are very complex for old websites with lot of posts and well documented on web.

Below a snapshot of db via phpMyAdmin:


Links: UTF-8 Unicode Character Sets

Where to find flags for menus or language list ?


As written here or in doc of repository or here, to avoid big files, xili-language package provides few flags. Some good examples are here. Don’t forget to rename it according slug of language. If the iso name is fr_FR, the name of flag must be fr_fr.jpg or fr_fr.png depending current css of theme.

{margin:0; padding:0;

Step to follow to find a post already translated ?



follow from left to right the circled link or buttons...