#34630: Neither `pgettext` nor `pgettext_lazy` return contextual markers in PO
files
-------------------------------------+-------------------------------------
     Reporter:  Kamil PaduszyƄski    |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:                       |                  Version:  4.2
  Internationalization               |               Resolution:
     Severity:  Normal               |  worksforme
     Keywords:  tr                   |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Claude Paroz):

 I'm pretty sure you can't simply alias the `(n|p)gettext` family like you
 can do with the simpler `gettext/gettext_lazy` calls. Remember that
 gettext works by parsing code. So this is not a Django-specific issue,
 it's how gettext works. See also the `--keyword` xgettext parameters in
 `makemessages.py`. If aliases are used, then those aliases should also be
 present in some `--keyword` parameter (which are not customizable in
 Django currently).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34630#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701888c75e864-d5d79fc0-05ef-4def-9699-6e0d5bd63dd8-000000%40eu-central-1.amazonses.com.

Reply via email to