Skip to:
Content
Pages
Categories
Search
Top
Bottom

Problem with __ngettext when try to localize

  • There are places, like in template-functions.php where you want to use singular/plural forms, it goes like :

    __ngettext( 'post', 'posts', $post_num )

    Im translating EN to PL using poEdit and I added there __ngettext keyword, after that it take for me ‘post’ string, but ‘posts’ was ommitted, how to take them all ?

Viewing 1 replies (of 1 total)
  • I have also problem with translating singular/plural forms that are handled in source code by __ngettext.

    in poEdit (version 1.3.7) I put __ngettext:1,2 to recognise both forms ( singular/plural), but when I try to translate them poEdit refuse to work and returns error:

    17:56:32: C:Documents and SettingshodisDokumenty13jazyk.po:2236: missingmsgstr[]’ section

    17:56:32: msgfmt: found 1 fatal error`

    So, is something wrong with poEdit?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar