WordPress.org

Ready to get started?Download WordPress

Plugin Directory

xili-dictionary

xili-dictionary is a dictionary storable in CPT and terms to create and translate .po files or .mo files and more...

Why xili-dictionary is not included in xili-language ?

  • because xili-dictionary is available for non multilingual site to manage theme and plugin translations.
  • because it is possible to desactivate xili-dictionary after creation of po mo files used by WP and xili-language.

What about WP multisite (or network - former named WPMU) and the trilogy ?

xili-language, xili-tidy-tags, xili-dictionary

Since WP 3.0, if multisite is activated, the trilogy is compatible and will include progressively some improvements dedicaded especially for WP network context.

Where can I see websites using this plugin ?

dev.xiligroup.com here and example child themes below:

Twenty Ten 2010

Twenty Eleven 2011

Twenty Twelve 2012

Responsive responsive

Twenty Thirteen 2013

Twenty Fourteen 2014

And as you can see in stats, thousand of sites use xili-language.

What is the difference with msgid and msgtr in .po file ?

The msgid line is equal to the term or sentence hardcoded in the theme functions like _e() or __(). msgstr is the translation in the target language : by instance fr_FR.po for a french dictionary. (the compiled file is fr_FR.mo saved in the theme folder. The root language is in WordPress currently en_US, but with xili-dictionary, it is possible to create a en_US.mo containing the only few terms that you want to adapt or modify.

Is xili-dictionary usable without xili-language to edit .po or .mo file ?

Yes and now automatically detected ! For example, to modify the results of a translation for your site with your words.

What about plural translations ?

Today works with .mo or .po with simple twin msgid msgstr couple of lines and themes with functions like _e() or __() for localization AND _n() which manage singular and plural terms like msgid, msgid_plural, msgstr[0],...

What is a po file ?

It is a text file like this (here excerpt) with different types of msgid :

msgctxt "comments number"
msgid "%"
msgstr "%"

msgid "Leave a reply"
msgstr "Laisser une réponse"

msgid "One thought on “%2$s”"
msgid_plural "%1$s thoughts on “%2$s”"
msgstr[0] "Une réflexion au sujet de &laquo %2$s »"
msgstr[1] "%1$s réflexions au sujet de &laquo %2$s »"

msgctxt "sentence"
msgid "comment"
msgid_plural "comments"
msgstr[0] "commentaire"
msgstr[1] "commentaires"

What happens if only the .mo is available ?

xili-dictionary is able to import a .mo of the target language and rebuild a .po editable in backend or a text editor. Example: if it_IT is in your language list, it_IT.mo can be imported, completed by webmaster and export as it_IT.po text file in languages sub-folder of the theme (as text backup).

What is the differences with poEdit application ?

Poedit is a standalone desktop application. Poedit offers the ways to translate apps and sites (that use gettext). This application is used by us to create localization of this and other plugins. xili-dictionary is online and based on WP Core and essentially made for files used by WP (theme, plugin, custom terms of site...). For technicians, some advantages: possible to recover .mo files, to translate online items, to export .pot files, and more...

Requires: 3.6.1 or higher
Compatible up to: 3.9.1
Last Updated: 2014-7-19
Downloads: 19,575

Ratings

4 stars
4.4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,2,2
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,2,2 100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,2,2