Re: Django Translation: Why is there no pgettext_noop or npgettext_noop?

2013-07-10 Thread Bob Barcklay
HI Ramiro, Perhaps I am confused. I just want to mark these strings for extraction by makemessages(xgettext) in one component of my system and store them in a database. Another component will do the actual translation by calling pgettext.I can probably use the _lazy methods to achieve the

Re: Django Translation: Why is there no pgettext_noop or npgettext_noop?

2013-07-09 Thread Ramiro Morales
On Tue, Jul 9, 2013 at 7:02 PM, Bob Barcklay wrote: > I want to use contextual markers and plural forms in strings with deferred > translation. I'm curious why _noop versions of pggettext and npgettext > don't appear anywhere. What do _noop-suffixed version(s) of gettext function(s) have to do w

Django Translation: Why is there no pgettext_noop or npgettext_noop?

2013-07-09 Thread Bob Barcklay
I want to use contextual markers and plural forms in strings with deferred translation. I'm curious why _noop versions of pggettext and npgettext don't appear anywhere. My plan is to modify the xgettext invocation found in django/core/management/commands/makemessages.py to include new --keywo