On 9/24/21 12:57 AM, Stephen J. Turnbull wrote:
Mark Sapiro writes:
On 9/22/21 2:16 AM, Henrik Rasmussen wrote:
After sending a mail to the list as the moderated list user, the resulting notification returned to the users email address is mostly in German, but the reason indicated is in Spanish "El mensaje proviene de un miembro moderado".
I am unable to duplicate this in Mailman 3.3.5rc1.
Is it possible that one of the message catalogs is incomplete, and something in the environment (LANGUAGE seems like a likely candidate) is set to a value that uses German when Spanish is unavailable or vice-versa?
Thanks for the hint Steve. There is a Spanish message catalog as evidenced by the fact that the reason was translated to Spanish, but the issue is almost certainly that there is no mailman/templates/es/list:user:notice:post.txt template so we fall back to the one for the list's language.
Note that prior to Mailman 3.3.5rc1 there are lots of missing templates
and in particular, the 3.3.4 Spanish templates were incorrectly named
with _
rather than :
in the names. Templates are actually translated
in the message catalogs via weblate, but these translations weren't
installed in the appropriate templates/ directory. There is now a script
at
https://gitlab.com/mailman/mailman/-/blob/master/update_lang_templates.py to
do this.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan