hey, I am not very experienced with the mailman shell and configuration. I configured mailman using the mailman.cnf and I know that I can use "mailman conf" to get all the parameters. But now I would like to change the preferred language of a list. Because despite I set
[mailman] default_language: de
even new lists will still have "en" as preferred language. I checked this just by reading the $language variable in a list template. How can I change the list parameters and how can I make mailman to use the german language files? I found the files, so I know they exist, but still need to make mailman use them...
ok I managed to change the settings via mmclient like:
python3.6 manage.py mmclient
m = client.get_list('test@example.com') m.settings['preferred_language'] = 'de' m.settings.save()
but I really hope there is a more convenient way to adjust list settings?
However, it still does not work, even now where the mailman.cfg setting is set to german and also the list settings, there is still the english welcome message sent by mailman...
On Thu, Jun 20, 2019, at 7:10 AM, mailman3@malevil.cc wrote:
hey, I am not very experienced with the mailman shell and configuration. I configured mailman using the mailman.cnf and I know that I can use "mailman conf" to get all the parameters. But now I would like to change the preferred language of a list. Because despite I set
[mailman] default_language: de
This should be on two separate lines:
[mailman] default_language: de
even new lists will still have "en" as preferred language. I checked this just by reading the $language variable in a list template. How can I change the list parameters and how can I make mailman to use the german language files? I found the files, so I know they exist, but still need to make mailman use them...
By default, the lists start with a default language of 'en'. You can change the list's default language in the Web UI under
Settings -> List Identity -> Preferred Langauge
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
Abhilash Raj wrote:
[mailman] default_language: de This should be on two separate lines: [mailman] default_language: de yes it is indeed, the one-line was just the output of mailman conf :)
change the list's default language in the Web UI under Settings -> List Identity -> Preferred Langauge sorry what postorius version are you running? there is nothing like that for me, see: https://share.riseup.net/#dS71TjSihRSrTeZDnBQB1A
the one-liner was just the output of mailman conf, its correct in the conf file
Settings -> List Identity -> Preferred Langauge
sorry what postorius version are you running? there is nothing like that for me, see: https://share.riseup.net/#dS71TjSihRSrTeZDnBQB1A...
On 6/20/19 2:42 PM, mailman3@malevil.cc wrote:
the one-liner was just the output of mailman conf, its correct in the conf file
Settings -> List Identity -> Preferred Langauge
sorry what postorius version are you running? there is nothing like that for me, see: https://share.riseup.net/#dS71TjSihRSrTeZDnBQB1A...
It is new. It will be in Postorius 1.2.5
The implementation is at <https://gitlab.com/mailman/postorius/commit/3ef8ad602a597b6605060bdabb6a5951...>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
ok, thats good, but however, list and mailman are set to "de" but still the english template is used...
On 6/20/19 3:38 PM, mailman3@malevil.cc wrote:
ok, thats good, but however, list and mailman are set to "de" but still the english template is used...
There does seem to be an issue. I set the preferred_language of a list to 'de' and subscribed an address. The address was sent a confirmation request in German, but upon response, the subsequent "The results of your email commands" message and the list welcome message were in English.
The "The results of your email commands" message was in English because it is built dynamically by the command runner and while the messages are i18n'd, there is as yet no German message catalog.
However the list welcome message should have used the German template. This appears to be a bug.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 6/20/19 5:01 PM, Mark Sapiro wrote:
There does seem to be an issue. I set the preferred_language of a list to 'de' and subscribed an address. The address was sent a confirmation request in German, but upon response, the subsequent "The results of your email commands" message and the list welcome message were in English.
The "The results of your email commands" message was in English because it is built dynamically by the command runner and while the messages are i18n'd, there is as yet no German message catalog.
However the list welcome message should have used the German template. This appears to be a bug.
Actually the issue is the welcome message is sent in the user's preferred language, not the list's preferred language, and a newly created user has no preferred language so the language defaults to English. See <https://gitlab.com/mailman/mailman/issues/608>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Abhilash Raj
-
mailman3@malevil.cc
-
Mark Sapiro