--
Ticket URL: <https://code.djangoproject.com/ticket/33956>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* Attachment "mre.zip" added.
MRE project
Old description:
> Despite datetime objects being translated as expected, when using
> timesince filter with ru-RU locale, default (en) translation is rendered.
> However, this is not the case with other locales I tested (de, fr, ko).
> Also, this issue is not present in earlier Django versions (the one I
> tested is 2.2). I've checked .po file for ru-RU, it seems to have all
> translations required.
New description:
Despite datetime objects being translated as expected, when using
timesince filter with ru-RU locale, default (en) translation is rendered.
However, this is not the case with other locales I tested (de, fr, ko).
Also, this issue is not present in earlier Django versions (the one I
tested is 2.2). I've checked .po file for ru-RU, it seems to have all
translations required.
[https://github.com/django/django/commit/e4430f22c8e3d29ce5d9d0263fba57121938d06d
This commit] seems to introduce this bug.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/33956#comment:1>
Old description:
> Despite datetime objects being translated as expected, when using
> timesince filter with ru-RU locale, default (en) translation is rendered.
> However, this is not the case with other locales I tested (de, fr, ko).
> Also, this issue is not present in earlier Django versions (the one I
> tested is 2.2). I've checked .po file for ru-RU, it seems to have all
> translations required.
> [https://github.com/django/django/commit/e4430f22c8e3d29ce5d9d0263fba57121938d06d
> This commit] seems to introduce this bug.
New description:
Despite datetime objects are translated as expected, when using timesince
filter with ru-RU locale, default (en) translation is rendered. However,
this is not the case with other locales I tested (de, fr, ko). Also, this
issue is not present in earlier Django versions (the one I tested is 2.2).
I've checked .po file for ru-RU, it seems to have all translations
required.
[https://github.com/django/django/commit/e4430f22c8e3d29ce5d9d0263fba57121938d06d
This commit] seems to introduce this bug.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/33956#comment:2>
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/33956#comment:3>
* stage: Accepted => Unreviewed
Comment:
Please don't accept your own tickets.
--
Ticket URL: <https://code.djangoproject.com/ticket/33956#comment:4>
* status: new => closed
* resolution: => invalid
Comment:
Thanks for the report, however, translations are handled at
[https://docs.djangoproject.com/en/dev/internals/contributing/localizing/#translations.
Transifex] and not in this tracker.
> I've checked .po file for ru-RU, it seems to have all translations
required.
We've changed the format to the `%(num)d`, so `ru` translation should be
updated at Transifex.
--
Ticket URL: <https://code.djangoproject.com/ticket/33956#comment:5>
Comment (by Semen Filippov):
Replying to [comment:4 Mariusz Felisiak]:
> Please don't accept your own tickets.
Yeah, I apologize, this is actually my first reported issue ever.
Should’ve guessed this is wrong.
--
Ticket URL: <https://code.djangoproject.com/ticket/33956#comment:6>