Query on how to change moderator message to non-members
Hi My users are upset that when their mail is waiting moderation release they receive this message:
'Your mail to 'Members' with the subject
AW: [Members] Hamburg 2019
Is being held until the list moderator can review it for approval.
The reason it is being held:
Post by non-member to a members-only list'
Is their a way to change the text "post by a non-member to a members-only list" as they are registered members of the Joomla site
Yes you can. But you can't do it thought the web ui yet.
https://gitlab.com/mailman/mailman/issues/426#note_43861203 has pointers to what needs to be done
On 07/01/2018 12:19 PM, robert.kydd@gmail.com wrote:
Hi My users are upset that when their mail is waiting moderation release they receive this message:
'Your mail to 'Members' with the subject
AW: [Members] Hamburg 2019
Is being held until the list moderator can review it for approval.
The reason it is being held:
Post by non-member to a members-only list'
Is their a way to change the text "post by a non-member to a members-only list" as they are registered members of the Joomla site
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/
I have had a look in cPanel File Manager but did not find anything. Is it possible that these files are stored at the server level which would then be under control of the ISP hosting the website ? Regards
On 7/1/18 10:55 PM, robert.kydd@gmail.com wrote:
I have had a look in cPanel File Manager but did not find anything. Is it possible that these files are stored at the server level which would then be under control of the ISP hosting the website ?
What Mailman is this? If this is in fact Mailman 3, the var/ directory referred to at <https://gitlab.com/mailman/mailman/issues/426#note_43861203> is probably not /var/, It is Mailman's var directory as configured by var_dir in mailman.cfg and the template you're interested in is list:user:notice:hold.txt.
If this is cPanel's Mailman 2.1, you can edit the template through Mailman's web admin interface. Go to "Edit the public HTML pages and text files" in the upper right and then select "User notice of held post".
However, in either case, the "post by nonmember" reason is a replacement, so if you edit the template to put different text there, it will apply to all reasons.
One way around this is to make an English language i18n message catalog which translates the "Post by non-member to a members-only list" message to something else.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi Mark, thanks for this. I was away and only got back now. It's great to get rid of the reason text. Is there any way I can find out what is i18n message catalog. It would be nice to give a more pleasing message to the users Regards Robert
On 7/4/18 7:45 AM, robert.kydd@gmail.com wrote:
Hi Mark, thanks for this. I was away and only got back now. It's great to get rid of the reason text. Is there any way I can find out what is i18n message catalog. It would be nice to give a more pleasing message to the users
I am still not clear on what Mailman version you are using. If it is Mailman 3, i18n translations for Mailman core are still a work in progress, and I can't tell you how to do this.
For Mailman 2.1, you will find within Mailman's file system, a messages/ directory with several 'language code' subdirectories, but not 'en'. You need to create messages/en/ and messages/en/LC_MESSAGES/ and then create the file messages/en/LC_MESSAGES/mailman.po with contents like:
# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR ORGANIZATION # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: Sun Jun 17 12:22:07 2018\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: ENCODING\n" "Generated-By: pygettext.py 1.4\n"
#: Mailman/Handlers/Hold.py:61 msgid "Post by non-member to a members-only list" msgstr "WHAT YOU WANT TO REPLACE IT WITH"
with the various UPPERCASE things replaced appropriately and then 'compile' it via
msgfmt -o messages/en/LC_MESSAGES/mailman.mo messages/en/LC_MESSAGES/mailman.po
Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi Mark, my apologies it is version 2.1.26
Do I find Mailman's file system using cPanel ?
Your quote: with the various UPPERCASE things replaced appropriately and then 'compile' it via ... msgfmt -o messages/en/LC_MESSAGES/mailman.mo messages/en/LC_MESSAGES/mailman.po
Does the compiling happen when I use mailman or do I have to have a compiler for this to happen ?
Regards Robert
On 7/4/18 2:36 PM, robert.kydd@gmail.com wrote:
Hi Mark, my apologies it is version 2.1.26
This list is really for Mailman 3. The list for Mailman 2.1 is mailman-users@python.org <https://mail.python.org/mailman/listinfo/mailman-users>.
- Do I find Mailman's file system using cPanel ?
In cPanel Mailman, Mailman's file system is at /usr/local/cpanel/3rdparty/mailman.
- Your quote: with the various UPPERCASE things replaced appropriately and then 'compile' it via ... msgfmt -o messages/en/LC_MESSAGES/mailman.mo messages/en/LC_MESSAGES/mailman.po
Does the compiling happen when I use mailman or do I have to have a compiler for this to happen ?
The compiler is msgfmt. There may be a msgfmt installed with cPanel, but in any case, there is a Mailman version so you should be able to do
cd /usr/local/cpanel/3rdparty/mailman
bin/msgfmt.py -o messages/en/LC_MESSAGES/mailman.mo
messages/en/LC_MESSAGES/mailman.po
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Mark Sapiro
-
robert.kydd@gmail.com
-
Simon Hanna