[Mailman-Users] i18n: admin/mod environment vs. user environment

Mark Sapiro mark at msapiro.net
Wed Jun 3 17:12:24 CEST 2009


Alvaro Uría wrote:
>
>El 05/28/09 19:28, Mark Sapiro wrote:
>> Yes. This appears to be a bug. The code looks like it's trying to do
>> the right thing, but it fails. I'll see if I can fix it.
>
>Do you want me to open a bug report at:
>https://bugs.launchpad.net/mailman/


Yes, that would be good.

I have already worked up a preliminary patch, but doing this completely
correctly and consistently is tricky without a major refactoring of
the code.

Every exception has two associated messages - the "hold reason" and the
default "reject reason". I have ensured that the hold reason, which is
displayed in the admindb interface and in the emails to the admin are
in the list's language and the hold reason in the message sent to the
user is in the user's language. The default reject reason will display
in the admindb detail interface in the user's language because there's
no way with the current design to get it sent to the user in the
user's language in all cases.

The other issue is if the user follows the "cancel" link in the user
notice, the reason displayed on the confirmation page is in the list's
language. Again, the current design doesn't allow this to be in a
language different from what's displayed on the admindb pages and in
the summary notices mailed to the admin.

I hope this partial solution will be acceptable. It is not perfect, but
I think it addresses the most common issues.

-- 
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