Hi,
I have a list set with "French" as its preferred language.
The default emails such as the Confimation and Welcome get sent French.
My browser (Chrome) has its default language set as French, and my PC's region and language are set as French.
When I view the list's "Info" Postorius page I see some parts translated ...
Menu and button words are translated okay. eg: ENGLISH: Sign In FRENCH: S'identifier
Page heading words are translated okay. eg: ENGLISH: Subscription / Unsubscription FRENCH: Abonnement / désabonnement
Page text fails. eg. ENGLISH: You have to sign in to visit the archives of this list. FRENCH: Is in English.
Looking at the .po file ...
/opt/mailman/venv/lib/python3.11/site-packages/mailman/messages/fr/LC_MESSAGES/mailman.po
"PO-Revision-Date: 2024-06-25 17:09+0000\n"
None of the msgid strings for the 3 examples appear in the mailman.po file.
So, as some strings are translated and others not (yet none appear in the mailman.po file), I'm thinking that either there is another translation file somewhere for Postorius that needs updating, or the missing msgid s were not included in the original .pot file.
Am I on the right track?
On 5/12/26 17:30, iMark wrote:
- Page text fails. eg. ENGLISH: You have to sign in to visit the archives of this list. FRENCH: Is in English.
Looking at the .po file ...
/opt/mailman/venv/lib/python3.11/site-packages/mailman/messages/fr/LC_MESSAGES/mailman.po
"PO-Revision-Date: 2024-06-25 17:09+0000\n"
That file is out of date. It may or may not be from the latest Postorius released version but it has been subsequently updated for the next release.
That particular string is marked fuzzy in the current .po - see <https://gitlab.com/mailman/postorius/-/blob/master/src/postorius/locale/fr/L...>
It is marked fuzzy because the msgid was changed at some point from
msgid "You have to login to visit the archives of this list."
to
msgid "You have to sign in to visit the archives of this list."
The translations are managed at Weblate. The particular French translation for Postorius is at <https://hosted.weblate.org/projects/gnu-mailman/postorius/fr/>.
The above string is one of 19 that are marked for edit.
You are more than welcome to create an account at Weblate and fix whatever needs fixing in the French translation and Weblate will submit a merge request to update the .po on GitLab. We would be grateful for your help.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 5/12/26 17:30, iMark wrote:
- Page text fails. eg. ENGLISH: You have to sign in to visit the archives of this list. FRENCH: Is in English.
Looking at the .po file ...
/opt/mailman/venv/lib/python3.11/site-packages/mailman/messages/fr/LC_MESSAGES/mailman.po
"PO-Revision-Date: 2024-06-25 17:09+0000\n"
======================================
On 2026-05-13 02:19, Mark Sapiro wrote:
That file is out of date. It may or may not be from the latest Postorius released version but it has been subsequently updated for the next release.
That particular string is marked fuzzy in the current .po - see <https://gitlab.com/mailman/postorius/-/blob/master/src/postorius/locale/fr/L...>
It is marked fuzzy because the msgid was changed at some point from
msgid "You have to login to visit the archives of this list."to
msgid "You have to sign in to visit the archives of this list."The translations are managed at Weblate. The particular French translation for Postorius is at <https://hosted.weblate.org/projects/gnu-mailman/postorius/fr/>.
The above string is one of 19 that are marked for edit.
You are more than welcome to create an account at Weblate and fix whatever needs fixing in the French translation and Weblate will submit a merge request to update the .po on GitLab. We would be grateful for your help.
=======================================
Thanks Mark. I edited the .po file (on my installation) for Postorius ...
/opt/mailman/venv/lib/python3.11/site-packages/postorius/locale/fr/LC_MESSAGES/django.po
... for example ...
msgid "You have to sign in to visit the archives of this list." msgstr "Vous devez vous identifier pour consulter les archives de cette liste."
... and recompiled the .mo file ...
msgfmt -o /opt/mailman/venv/lib/python3.11/site-packages/postorius/locale/fr/LC_MESSAGES/django.mo /opt/mailman/venv/lib/python3.11/site-packages/postorius/locale/fr/LC_MESSAGES/django.po
... and the text on the webpage is now displayed in French. Happy days!
I've created an account at Weblate and will get onto the .po file there.
Thank you again for your help.
participants (2)
-
iMark -
Mark Sapiro