#48 i18n of plurals

closed-rejected
Felipe Bergo
3
2007-01-01
2003-04-12
Ales Dolecek
No

Internacionalization of eboard sources does not handle
plural forms correctly. The code should use ngettext()
function rather than 2 gettext() calls for singular and
plural form.

Discussion

  • Felipe Bergo
    Felipe Bergo
    2003-06-27

    • priority: 5 --> 8
    • assigned_to: nobody --> bergo
    • status: open --> open-accepted
     
  • Felipe Bergo
    Felipe Bergo
    2003-06-27

    Logged In: YES
    user_id=23863

    I have your patch staring at me everyday on my inbox, I
    swear I'll apply it soon.

     
  • Felipe Bergo
    Felipe Bergo
    2003-06-28

    Logged In: YES
    user_id=23863

    just for the record: I've just tried to apply the patch you
    sent me. ngettext is not a standardized function (likely to
    break non-GNU systems), and only present
    in GNU gettext >= 0.10.38. The attempt to upgrade my system
    from 0.10.35 to 0.10.40 caused all sort of conflicts between
    automake / autoconf and gettext, the m4 macros from the new
    gettext caused synatx errors in the Makefiles, for example,
    and eboard wouldn't load any existing translations. The
    ngettext solution is discarded, gettext is already too much
    of a headache the way it is now. If plurals are a problem,
    solve them with explicit IFs when singular and plural forms
    exists.

     
  • Felipe Bergo
    Felipe Bergo
    2003-06-28

    • priority: 8 --> 3
    • status: open-accepted --> open-later
     
  • Felipe Bergo
    Felipe Bergo
    2007-01-01

    • status: open-later --> closed-rejected
     
  • Felipe Bergo
    Felipe Bergo
    2007-01-01

    Logged In: YES
    user_id=23863
    Originator: NO

    After all these years, I gave up on GNU gettext and my multilanguage code seems to work well. I'm not going back to gettext.