New format character to represent alternative locale-specifc month names
|Reported by:||shell_dweller||Owned by:||shell_dweller|
|Severity:||Keywords:||date, template, i18n|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
I would like to suggest (and claim responsibility for) an extension for date format to handle alternative (locale specific) months names.
Why is this needed?
Alternative months names would have no universal meaning but would allow an additional flexibility with date display in certain languages.
For example, in some Slavic languages (Polish, Ukrainian, Russian and likely few others) phrases “January 2010” and “January 1 2010” would require two distinct grammatical forms: nominative in the first case and genitive in the second. To represent phrases with month names in the genitive case one would use the alternative month names.
How to represent it
I have no particular preference. “E” seems to be a reasonable choice because it stands next to “F” in the alphabet and “F” in used in Django to represent long month names.
Coding for this feature is trivial. But I will need to cooperate with language translators to add translations to certain locales.