#34738: Django admin doesn't translate error
-------------------------------------+-------------------------------------
     Reporter:  Aleksandr Yudin      |                    Owner:  Aleksandr
                                     |  Yudin
         Type:  Bug                  |                   Status:  assigned
    Component:  contrib.admin        |                  Version:  4.2
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):

 * stage:  Unreviewed => Accepted


Comment:

 I can confirm there is something going on that may need further debugging.
 At first I thought this was a missing translation string, but I checked
 and the translation for `ru` is available. In fact, the following shows
 the translated string:

 {{{
 <p>{% blocktranslate %}Please correct the errors below.{%
 endblocktranslate %}</p>
 }}}

 But what's in the template:

 {{{
 <p>{% blocktranslate count counter=errors|length %}Please correct the
 error below.{% plural %}Please correct the errors below.{%
 endblocktranslate %}</p>
 }}}

 does not use the translated string. Accepting for now, I'll debug more
 later today if no one beats me to it.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34738#comment:2>
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/010701898df2be65-fab9801c-d6b6-4b12-8711-6179456fd422-000000%40eu-central-1.amazonses.com.

Reply via email to