Plugin Directory

xili-dictionary

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

Download Version 1.4.4

What about WPMU and the trilogy ?

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

Since WP 3.0-alpha, if multisite is activated, the trilogy is now compatible and will include progressively some improvements dedicaded especially for WPMU context. Future specific docs will be available for registered webmasters.

Is the term msgid may contain words enriched by html tags ?

like <em> or <strong>

Yes, since version 0.9.7.

a <strong>good</strong> word

can be translated by

un mot <strong>exact</strong>

Where can I see websites using this plugin ?

dev.xiligroup.com here, multilingual.wpmu.xilione.com here and http://www.xiliphone.mobi here also usable with mobile as iPhone.

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.

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 &ldquo;%2$s&rdquo;"
msgid_plural "%1$s thoughts on &ldquo;%2$s&rdquo;"
msgstr[0] "Une réflexion au sujet de &laquo&nbsp;%2$s&nbsp;&raquo;"
msgstr[1] "%1$s réflexions au sujet de &laquo&nbsp;%2$s&nbsp;&raquo;"

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.

Requires: 3.2 or higher
Compatible up to: 3.3.1
Last Updated: 2011-12-21 Downloads: 5,320

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(6 ratings)

Compatibility

+
=
Not enough data

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

Log in to vote.

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