Menu

#19 Plural Forms in PO Files

Will_not_fix
closed
5
2012-09-14
2004-11-24
No

Hi Peter,

the file format of .po files allows to store plural forms of
certain words.
I've inserted the following lines to test the ngettext
function of gnugettext:

msgid "%d program link file "
msgid_plural "%d program link files "
msgstr[0] "%d Programmverknüpfung "
msgstr[1] "%d Programmverknüpfungen "

However it seems that INITranslator cannot handle such
kind of text inside a .po file.

Perhaps you can check this and I wish it could be
implemented, too.

BTW POEdit can not handle them either ;-) But perhaps
your program will do in the future?

Thx,
Michael

Discussion

  • Peter Törnqvist

    Logged In: YES
    user_id=137995

    True, currently the PO parser cannot handle plurals. And even
    if it could, there's the problem how to display it in the UI...

    I'll think about it, but make no promises.

     
  • Peter Törnqvist

    Logged In: YES
    user_id=137995

    I've investigated a solution but found it is too much
    trouble implementing it. Unless a viable solution is
    presented, I don't see this happening anytime soon. Sorry

     

Log in to post a comment.