﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33661	Fix Catalan formats.py to use alt.month	mpachas	mpachas	"DATE_FORMAT, DATETIME_FORMAT and MONTH_DAY_FORMAT strings in Catalan language are wrong because it uses always the preposition ""de"" between the day number and the month name but it is wrong when the month name starts with vowel like abril (April), agost (August) or octubre (October). In that case it should be d'abril, d'agost or d'octubre.

I think that alt.month Month translations were created to help in this kind of situations (https://github.com/django/django/commit/2478f8588e) so this issue can be solved by a combination of a Catalan formats.py patch (django/conf/locale/ca/formats.py) and changing that translations (via Transifex).

Actual:
DATE_FORMAT = r""j \d\e F \d\e Y""

msgid ""January""
msgstr ""gener""

msgid ""April""
msgstr ""abril""

{item.date | date} output -> 25 de gener de 2007
{item.date | date} output -> 4 de abril de 2014    ---> THIS IS WRONG

Proposal:

DATE_FORMAT = r""j E \d\e Y"" # E placeholder: alt. month translations for special cases.

msgctxt ""alt. month""
msgid ""January""
msgstr ""de gener""

msgctxt ""alt. month""
msgid ""April""
msgstr ""d'abril""

{item.date | date} output -> 25 de gener de 2007
{item.date | date} output -> 4 d'abril de 2014

I'm trying to reach Catalan Transifex Team to add those strings, I think .po/.mo files won't follow the usual pull request way, but they must be changed before this file gets patched.
 
Alternative month representation is available since this https://code.djangoproject.com/ticket/12309#no1

Patch: https://github.com/django/django/pull/15634
"	Bug	assigned	Internationalization	4.0	Normal		date, template, i18n	Carlton Gibson	Accepted	1	0	0	0	1	0
