develooper Front page | perl.wxperl.users | Postings from March 2010

Wx::gettext() and plural forms

Thread Next
Zeno Gantner
March 17, 2010 07:05
Wx::gettext() and plural forms
Message ID:
Hi all,

Wx::gettext() seems only to work in its simple form:

Wx::gettext('My message')

As it (at least I think so) should roughly correspond to
wxGetTranslation - see
for reference - it should also support the correct handling of plural

Wx::gettext('%d thing', '%d things', n)

where n is the current number of things. This allows gettext to choose
the right string for output, no matter how your language handles

This does not seem to be the case.

A pointer to where I can fix this would be appreciated, I don't mind
fixing it myself ;-)

Best regards,

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About