[Mailman-Users] Multi-lingual confirmation messages

Mark Sapiro mark at msapiro.net
Thu Mar 21 18:37:12 CET 2013

On 03/21/2013 09:51 AM, Drew Tenenholz wrote:
> My separately coded subscriber list management PHP page sends list commands on users behalf, a la 
> TO: list-name-request at domain.tld
> BODY: subscribe <password> <digest|nodigest> address=user at other_domain.tld
> to a list that has both Russian and English as selected languages (English is default).
> If I understand correctly, changing the default language for the list would change the confirmation message to Russian (only).  Is that true?


> My PHP code immediately sends a primary acknowledgement back to the subscriber that I can edit myself, and I can certainly make the 'Welcome' message appear however I like from the Mailman administration pages, but what help is there for the confirmation message itself?

The email subscribe command you're using doesn't allow a language
specification, but if instead of sending email from your PHP code you
POST to the subscribe CGI, you can specify the user's preferred language
in the POST data (or query fragments in a GET).

Alternatively, see the FAQ at <http://wiki.list.org/x/jYA9> about making
list specific edited templates. You could make a Russian template that
includes both Russian and English and set the list's default language to
Russian. Leaving the default language as English and making a dual
language English template is trickier because of character set issues
and would probably require setting the character set for English to utf-8.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list