Dear all,

I am trying to understand how to fix this issue, sorry if it came up before. It must have, still I couldn't find a working solution through Google:

The default language of my server is de (German), which has several non-ASCII characters (umlauts & ß).

Lately the issue is that in the standard setting (DEFAULT_SERVER_LANGUAGE = 'de'), all the system messages are rendered properly, (for instance on the list overview page: "Für Administratoren der Listen gibt es die Seite Übersichtsseite für Listenadministratoren zur Verwaltung der eigenen Liste. ") but the the UTF-8 of the list descriptions is rendered as two-character sequences: "Diskussion (öffentlich)" instead of "Diskussion (Öffentlich)", the same is true for the footers of all messages delivered to subscribers: "Für Eintragung, Löschung (...)" instead öf "Für Eintragung, Löschung (...)".

Now, I tried to remedy this by adding "add_language('de', 'Deutsch', 'utf-8', 'ltr')" to /etc/mailman/mm_cfg.py but after doing so, while the UTF-8 code is now rendered correctly as single characters, the translated system messages are now being garbled: "Unten finden Sie eine Aufstellung aller �ffentlichen Mailinglisten (...)"

How do I ensure that both the system messages? The .po file for de seems to be in latin1 (iso-8859-1), not UTF-8. Is this on purpose? The Russian one is in proper UTF-8, but the French and Spanish ones are also in Latin1. The server is on Ubuntu 20.04, running mailman 2.1.29, which seems to be way behind upstream.

I kind of half fixed it locally by

1. recoding the po file from latin1 to utf-8,
2. re-running msgfmt,
3. re-running dpkg-reconfigure -plow mailman and selecting the default
   language
4. adding add_language('de', 'Deutsch', 'utf-8', 'ltr') to
   /etc/mailman/mm_cfg.py
5. restarting mailman

At first glance, everything seems to be in order now, just that the main welcome pages both for users and administrators are now stubbornly in English, while everything else in German, now with proper Umlauts. Is this an issue with the Debian/Ubuntu package? What is the canonical way of dealing with it?

Thanks a lot for your advice!

Johannes
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to