Re: [Django] #36679: Basque locale date format does not handle conditional suffixes (date declination)

2 views
Skip to first unread message

Django

unread,
Oct 24, 2025, 8:41:51 AM10/24/25
to django-...@googlegroups.com
#36679: Basque locale date format does not handle conditional suffixes (date
declination)
--------------------------------------+------------------------------------
Reporter: uloidi | Owner: uloidi
Type: Bug | Status: assigned
Component: Internationalization | Version: 5.2
Severity: Normal | Resolution:
Keywords: translation | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by Claude Paroz):

I guess that at this stage, we'd need to see some POC code that would show
how language-specific logic could be injected into
django.utils.dateformat.DateFormat/TimeFormat classes, without two much
performance regressions.
--
Ticket URL: <https://code.djangoproject.com/ticket/36679#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 5, 2026, 9:33:19 AM (2 days ago) Mar 5
to django-...@googlegroups.com
#36679: Basque locale date format does not handle conditional suffixes (date
declination)
-------------------------------------+-------------------------------------
Reporter: uloidi | Owner: Natalia
| Bidart
Type: Bug | Status: assigned
Component: | Version: 5.2
Internationalization |
Severity: Normal | Resolution:
Keywords: translation | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):

* needs_better_patch: 1 => 0
* owner: uloidi => Natalia Bidart

Comment:

New PR targetting main: https://github.com/django/django/pull/20837

As for the PoC for supporting "dynamic" locale formats, I think that
should be added in the new features repo, with likely a DEP proposal.
--
Ticket URL: <https://code.djangoproject.com/ticket/36679#comment:7>

Django

unread,
Mar 6, 2026, 4:25:26 PM (15 hours ago) Mar 6
to django-...@googlegroups.com
#36679: Basque locale date format does not handle conditional suffixes (date
declination)
-------------------------------------+-------------------------------------
Reporter: uloidi | Owner: Natalia
| Bidart
Type: Bug | Status: closed
Component: | Version: 5.2
Internationalization |
Severity: Normal | Resolution: fixed
Keywords: translation | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by nessita <124304+nessita@…>):

* resolution: => fixed
* status: assigned => closed

Comment:

In [changeset:"07c38764db1ba6a39ff0b3b224288e13c304f1c9" 07c3876]:
{{{#!CommitTicketReference repository=""
revision="07c38764db1ba6a39ff0b3b224288e13c304f1c9"
Fixed #36679 -- Fixed Basque date formats to use parenthetical declension
suffixes.

Basque (eu) grammar requires conditional suffixes on years and day
articles that depend on the final sound of the preceding word. Since
Django's format strings are static, the CLDR parenthetical convention
("(e)ko" instead of "ko") is used to express the optionality.

Co-authored-by: Natalia <124304+...@users.noreply.github.com>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36679#comment:8>
Reply all
Reply to author
Forward
0 new messages