#15156: Ordinal numbers in English and in other locales
-------------------------------------+-------------------------------------
Reporter: Besnik <besnik@…> | Owner: nobody
Type: New feature | Status: new
Component: Translations | Version: 1.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Design
Has patch: 0 | decision needed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by aaugustin):
* ui_ux: => 0
* easy: => 0
Comment:
We might improve things slightly by using `pgettext_lazy` instead of
`ugettext_lazy`.
That would make it possible to distinguish the `'th'` for 0 from the
`'th'` for 5 in this list:
{{{
suffixes = (_('th'), _('st'), _('nd'), _('rd'), _('th'), _('th'), _('th'),
_('th'), _('th'), _('th'))
}}}
Would this be useful? If it isn't, then I think we should just close this
as "wontfix".
Handling gender in the `ordinal` filter is another topic, I suggest
opening another ticket for this feature if you deem it useful.
--
Ticket URL: <https://code.djangoproject.com/ticket/15156#comment:5>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.