#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 David Sanders):

 Hi Kamil,

 The project you posted is not configured correctly.  `LOCALE_PATHS`
 [https://docs.djangoproject.com/en/4.2/ref/settings/#locale-paths must be
 a list of directories], not a single directory.

 @felixx
 I think part of the problem here is that the error message highlighting
 this misconfiguration wasn't being shown when running `makemessages`, I
 could only see it when I simply ran `./manage.py` with no args. I'm
 unfamiliar with `makemessages` but should it be showing errors? 🤔  Note
 that if I run `./manage.py showmigrations` (for eg) it does show the
 error.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34630#comment:5>
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/010701888bd7f36a-607b869f-f5d8-45f2-96e8-171d843a096a-000000%40eu-central-1.amazonses.com.

Reply via email to