Message extraction: is there a convention for no-op ngettext alias?
51 views
Skip to first unread message
Pedro Romano
unread,
Apr 25, 2012, 6:39:02 PM4/25/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python...@googlegroups.com
When marking strings for translation 'N_' is convention used as the no-op 'gettext' alias, and the Babel message extractor properly recognises it.
Is there any such convention for a no-op alias for 'ngettext' (for singular and plural forms)? The message extractor needs a little tweaking to recognise strings with singular and plural forms marked for translation and I would like to propose a patch that would follow the accepted convention.
Thanks for any feedback regarding this issue. --Pedro.