Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#14906 closed (fixed)

r14915 removed alternative month names from Polish translation added in r14000

Reported by: Jerzy Ludwichowski Owned by: Jarek Zgoda
Component: Translations Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Given the template code:

<p>Dzisiejsza data: {{ dzisiaj|date:"j F Y" }}</p>
<p>Dzisiejsza data: {{ dzisiaj|date:"j E Y" }}</p>

I get the following:

Dzisiejsza data: 15 Grudzień 2010

Dzisiejsza data: 15 December 2010

Expected is (the second line was in error):

Dzisiejsza data: 15 Grudzień 2010

Dzisiejsza data: 15 grudnia 2010

as per http://docs.djangoproject.com/en/dev/ref/templates/builtins/, which says:

E 	Month, locale specific alternative representation usually used for long date representation. 	'listopada' (for Polish locale, as opposed to 'Listopad')

Of course USE_I18N and USE_L10N are set to True which can be seen form the first lines of the sample renderings. My Django version is "bleeding edge" SVN-14918.

Is that a bug or am I overseeing something.

Change History (6)

comment:1 by Ramiro Morales, 14 years ago

Component: Template systemTranslations
Triage Stage: UnreviewedAccepted

This seems to be caused by a outdated Polish translation, please get in touch with the team maintaing it (and even better, offer help :-)): see wiki:Localization and the header of the django/conf/locale/pl/LC_MESSAGES/django.po file for contact details.

comment:2 by Jannis Leidel, 14 years ago

milestone: 1.3

This is because r14915 removed the updates added in r14900, sigh.

comment:3 by Jannis Leidel, 14 years ago

Summary: Date month format character "E" not working for Polishr14915 removed alternative month names from Polish translation added in r14000

comment:4 by Jarek Zgoda, 14 years ago

Owner: changed from nobody to Jarek Zgoda
Status: newassigned

I used wrong django version to run makemessages and all context-based translations was lost in this changeset.

comment:5 by Jarek Zgoda, 14 years ago

Resolution: fixed
Status: assignedclosed

(In [14919]) Fixed #14906: lost context-based translations for Polish

comment:6 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top