[Django] #37333: Include language de_ch in language info

13 views
Skip to first unread message

Django

unread,
Sep 9, 2026, 5:06:24 AMSep 9
to django-...@googlegroups.com
#37333: Include language de_ch in language info
-------------------------------------+-------------------------------------
Reporter: Reto Fahrni | Type:
| Cleanup/optimization
Status: new | Component:
| Uncategorized
Version: 6.1 | Severity: Normal
Keywords: l10n, localization | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
The language de_CH actually exists in conf/locale, but there is no
language info in conf/locale/__init__.py.

Background: The automatic detection of the language fails if there is no
entry in __init__.py. Additionally, providing a translated list of
languages to the user is impossible without full manual override. The
problems are described as well in
https://code.djangoproject.com/ticket/32737. The problem was never solved
since the requested languages were not official languages.
Since de_CH is an offical Django language, it should be ok to fix in the
way proposed in https://github.com/django/django/pull/21100.

(Sorry, if this is not a proper ticket. I'm not (yet) used to provide
input.)
--
Ticket URL: <https://code.djangoproject.com/ticket/37333>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 9, 2026, 2:28:28 PMSep 9
to django-...@googlegroups.com
#37333: Include language de_ch in language info
-------------------------------------+-------------------------------------
Reporter: Reto Fahrni | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: Uncategorized | Version: 6.1
Severity: Normal | Resolution:
Keywords: l10n, localization | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Nikita Kostenko):

I'll handle it
--
Ticket URL: <https://code.djangoproject.com/ticket/37333#comment:1>

Django

unread,
Sep 9, 2026, 2:28:57 PMSep 9
to django-...@googlegroups.com
#37333: Include language de_ch in language info
--------------------------------------+------------------------------------
Reporter: Reto Fahrni | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: Uncategorized | Version: 6.1
Severity: Normal | Resolution:
Keywords: l10n, localization | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Nikita Kostenko):

* stage: Unreviewed => Accepted

--
Ticket URL: <https://code.djangoproject.com/ticket/37333#comment:2>

Django

unread,
Sep 9, 2026, 3:07:03 PMSep 9
to django-...@googlegroups.com
#37333: Include language de_ch in language info
-------------------------------------+-------------------------------------
Reporter: Reto Fahrni | Owner: VIZZARD-X
Type: | Status: assigned
Cleanup/optimization |
Component: Uncategorized | Version: 6.1
Severity: Normal | Resolution:
Keywords: l10n, localization | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by VIZZARD-X):

* owner: (none) => VIZZARD-X
* status: new => assigned

--
Ticket URL: <https://code.djangoproject.com/ticket/37333#comment:3>

Django

unread,
Sep 9, 2026, 3:44:22 PMSep 9
to django-...@googlegroups.com
#37333: Include language de_ch in language info
-------------------------------------+-------------------------------------
Reporter: Reto Fahrni | Owner: VIZZARD-X
Type: | Status: assigned
Cleanup/optimization |
Component: Uncategorized | Version: 6.1
Severity: Normal | Resolution:
Keywords: l10n, localization | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by VIZZARD-X):

[https://github.com/django/django/pull/21942 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/37333#comment:4>

Django

unread,
Sep 17, 2026, 11:29:05 AMSep 17
to django-...@googlegroups.com
#37333: Include language de_ch in language info
-------------------------------------+-------------------------------------
Reporter: Reto Fahrni | Owner: VIZZARD-X
Type: | Status: closed
Cleanup/optimization |
Component: | Version: 6.1
Internationalization |
Severity: Normal | Resolution: invalid
Keywords: l10n, localization | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* cc: Claude Paroz, Annabelle Wiegart (added)
* component: Uncategorized => Internationalization
* easy: 1 => 0
* resolution: => invalid
* status: assigned => closed

Comment:

Hi, thanks for following up with a ticket.

Replying to [ticket:37333 Reto Fahrni]:
> The language de_CH actually exists in conf/locale, but there is no
language info in conf/locale/__init__.py.
> ...
> Since de_CH is an offical Django language, ...

Looking closer, it appears that `de_CH` is a special case. It exists in
`conf/locale` only for the purpose of providing alternative formats for
number separators and the like. There is no `LC_MESSAGES` folder with
translations underneath it.

Given that, I feel uncertain following the chain of reasoning that it
should be included in `LANG_INFO`, following ticket:37237#comment:1. And
if we did, what are the backward compatibility implications?

cc'ing other Swiss users who might be able to weigh in.

Btw, Vizzard, retfah already had a PR but just neglected to self-assign.
--
Ticket URL: <https://code.djangoproject.com/ticket/37333#comment:5>

Django

unread,
Sep 18, 2026, 1:15:56 AMSep 18
to django-...@googlegroups.com
#37333: Include language de_ch in language info
-------------------------------------+-------------------------------------
Reporter: Reto Fahrni | Owner: VIZZARD-X
Type: | Status: closed
Cleanup/optimization |
Component: | Version: 6.1
Internationalization |
Severity: Normal | Resolution: invalid
Keywords: l10n, localization | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Reto Fahrni):

Sorry, I just don't know how to use the ticketing system correctly. I'm
not used to it (yet).
--
Ticket URL: <https://code.djangoproject.com/ticket/37333#comment:6>
Reply all
Reply to author
Forward
0 new messages