background preloader

i18n

Facebook Twitter

Doc/PluralForms – Poedit. Issues using poEdit. The translation tool poEdit for Windows seems to require some additional steps to recognize plural forms: if you try to edit a term which has plurals, even if you translate it, it doesn't appear in poedit when you move to another term, as usual, and even if you save, it doesn't.

Issues using poEdit

Plurals Solution #1 If you find a plural term, close poedit, open the file you were translating with a normal text editor (not MS Word) and search for "plural" in it, you find something similar to this: #: modules/comment.module:187 modules/node.module:89msgid "1 comment"msgid_plural "%count comments"msgstr[0] "1 commento"msgstr[1] "%count commenti" Localization - How to generate translation file for a custom Drupal 7 module.