Hi !
I am using a MailMan (mailman-2.1.5-6.src.rpm) list with the "Dutch" language. Unfortunately, one of the templates is not working 100%. The 'confirm subscription' message is displayed in English and not in Dutch ;(
I have pinpointed the correct return value to be present in the translation file (see below). Is there anything I could check / change to debug this ?
bye, Chris
#: Mailman/Cgi/confirm.py:245 #, fuzzy msgid "" "Your confirmation is required in order to complete the\n" " subscription request to the mailing list <em>%(listname)s</em>. Your\n" " subscription settings are shown below; make any necessary changes and " "hit\n" " <em>Subscribe</em> to complete the confirmation process. Once you've\n" " confirmed your subscription request, you will be shown your account\n" " options page which you can use to further customize your membership\n" " options.\n" "\n" " <p>Note: your password will be emailed to you once your subscription is\n" " confirmed. You can change it by visiting your personal options page.\n" "\n" " <p>Or hit <em>Cancel my subscription request</em> if you no longer want " "to\n" " subscribe to this list." msgstr "" "Uw bevestiging is vereist om uw aanmeldingsverzoek voor de maillijst\n" " <em>%(listname)s</em> te voltooien. Uw lidmaatschapsinstellingen\n" " zijn hieronder weergegeven. Indien nodig kunt u deze gegevens wijzigen\n" " en op <em>Aanmelden</em> klikken om verder te gaan. Nadat u uw\n" " aanmeldingsverzoek heeft bevestigd komt u op uw lidmaatmaatschaps-\n" " instellingenpagina die u kunt gebruiken om uw lidmaatschap verder aan " "uw\n" " wensen aan te passen.\n" "\n" " <p>Opmerking: uw wachtwoord zal naar u worden verstuurd via e-mial " "nadat\n" " uw lidmaatschap is bevestigd. U kunt het wachtwoord veranderen als u " "uw\n" " lidmaatschapsinstellingenpagina bezoekt.\n" "\n" " <p>Of klik op <em>Annuleren</em> om dit aanmeldingsverzoek af te breken."
Christiaan den Besten wrote:
Hi !
I am using a MailMan (mailman-2.1.5-6.src.rpm) list with the "Dutch" language. Unfortunately, one of the templates is not working 100%. The 'confirm subscription' message is displayed in English and not in Dutch ;(
I have pinpointed the correct return value to be present in the translation file (see below). Is there anything I could check / change to debug this ?
According to the mailman i18n page http://www.list.org/i18n.html, the Dutch language champion is Danny Terweij (danny@terweij.nl). Please send your patch to him and he will be able to correct the translation in the SourceForge CVS.
You can also fix YOUR installation by editing the .po file and generating the .mo file by msgfmt.
-- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/
Well,
I have already send him some emails asking the same thing, but no reply :(
Actually, the translation is there ... it just doesn't show up in the "confirm subscription" page. Is there anyway I can check if the .po/.mo file is ok?
bye, Chris
----- Original Message ----- From: "Tokio Kikuchi" <tkikuchi@is.kochi-u.ac.jp> To: "Christiaan den Besten" <chris@scorpion.nl> Cc: <mailman-developers@python.org>; "mailman-i18n" <mailman-i18n@python.org> Sent: Monday, November 15, 2004 1:48 PM Subject: Re: [Mailman-Developers] Translation not working?
Christiaan den Besten wrote:
Hi !
I am using a MailMan (mailman-2.1.5-6.src.rpm) list with the "Dutch" language. Unfortunately, one of the templates is not working 100%. The 'confirm subscription' message is displayed in English and not in Dutch ;(
I have pinpointed the correct return value to be present in the translation file (see below). Is there anything I could check / change to debug this ?
According to the mailman i18n page http://www.list.org/i18n.html, the Dutch language champion is Danny Terweij (danny@terweij.nl). Please send your patch to him and he will be able to correct the translation in the SourceForge CVS.
You can also fix YOUR installation by editing the .po file and generating the .mo file by msgfmt.
-- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/
One point to make clear.
Christiaan den Besten wrote:
#: Mailman/Cgi/confirm.py:245 #, fuzzy
^^^^^^^^^^
msgid "" "Your confirmation is required in order to complete the\n"
You have to remove '#, fuzzy' line once you have completed your translation because msgfmt won't compile this item into .mo file.
-- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/
One point to make clear.
Christiaan den Besten wrote:
#: Mailman/Cgi/confirm.py:245 #, fuzzy
^^^^^^^^^^
msgid "" "Your confirmation is required in order to complete the\n"
You have to remove '#, fuzzy' line once you have completed your translation because msgfmt won't compile this item into .mo file.
Great, done that .. works like a charm ! Thank you.
Now ehm ... just one more thing I just noticed. If somebody chooses the "I do not want to subscribe, remove my request" button (the left one) I get this:
Bug in Mailman version 2.1.5 We're sorry, we hit a bug! If you would like to help us identify the problem, please email a copy of this page to the webmaster for this site with a description of what happened. Thanks! Traceback: Traceback (most recent call last): File "/var/mailman/scripts/driver", line 87, in run_main main() File "/var/mailman/Mailman/Cgi/confirm.py", line 114, in main subscription_cancel(mlist, doc, cookie) File "/var/mailman/Mailman/Cgi/confirm.py", line 312, in subscription_cancel userdesc = mlist.pend_confirm(cookie)[1] File "/var/mailman/Mailman/Pending.py", line 141, in pend_confirm assert self.Locked() AssertionError
Python information: VariableValue sys.version2.2.3 (#1, Oct 15 2003, 23:33:35) [GCC 3.3.1 20030930 (Red Hat Linux 3.3.1-6)] sys.executable/usr/bin/python sys.prefix/usr sys.exec_prefix/usr sys.path/usr sys.platformlinux2
Environment variables: VariableValue PATH_INFO /woningen CONTENT_LENGTH 115 CONTENT_TYPE application/x-www-form-urlencoded HTTP_REFERER http://lists.wooninvest.nl/mailman/confirm/woningen/851ebe8085456d9ba0cb0bdf... SCRIPT_FILENAME /var/mailman/cgi-bin/confirm PYTHONPATH /var/mailman SERVER_SOFTWARE Apache SERVER_ADMIN webmaster@prolocation.net SCRIPT_NAME /mailman/confirm SERVER_SIGNATURE REQUEST_METHOD POST HTTP_HOST lists.wooninvest.nl HTTP_KEEP_ALIVE 300 SERVER_PROTOCOL HTTP/1.1 QUERY_STRING PATH_TRANSLATED /var/www/html/wooninvest/woningen REQUEST_URI /mailman/confirm/woningen HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 HTTP_CONNECTION keep-alive SERVER_NAME lists.wooninvest.nl REMOTE_ADDR 84.35.71.36 REMOTE_PORT 3572 HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5 UNIQUE_ID lDwzclEX5gcAAB5vytQAAAAJ SERVER_PORT 80 GATEWAY_INTERFACE CGI/1.1 HTTP_ACCEPT_ENCODING gzip,deflate SERVER_ADDR 81.23.230.7 DOCUMENT_ROOT /var/www/html/wooninvest
bye, Chris
On Tue, Nov 16, 2004 at 01:56:10AM +0100, Christiaan den Besten wrote:
Now ehm ... just one more thing I just noticed. If somebody chooses the "I do not want to subscribe, remove my request" button (the left one) I get this:
This is a known bug in 2.1.5. It should be fixed in CVS, or apply this: <http://sourceforge.net/tracker/index.php?func=detail&aid=1045909&group_id=103&atid=300103>
-- Jim Tittsler http://www.OnJapan.net/ GPG: 0x01159DB6 Python Starship http://Starship.Python.net/ Ringo MUG Tokyo http://www.ringo.net/rss.html
Thanks, that fixed the problem.
bye, Chris
----- Original Message ----- From: "Jim Tittsler" <jwt@OnJapan.net> To: "Christiaan den Besten" <chris@scorpion.nl> Cc: <mailman-developers@python.org> Sent: Tuesday, November 16, 2004 2:03 AM Subject: Re: [Mailman-Developers] Translation not working?
On Tue, Nov 16, 2004 at 01:56:10AM +0100, Christiaan den Besten wrote:
Now ehm ... just one more thing I just noticed. If somebody chooses the "I do not want to subscribe, remove my request" button (the left one) I get this:
This is a known bug in 2.1.5. It should be fixed in CVS, or apply this: <http://sourceforge.net/tracker/index.php?func=detail&aid=1045909&group_id=103&atid=300103>
-- Jim Tittsler http://www.OnJapan.net/ GPG: 0x01159DB6 Python Starship http://Starship.Python.net/ Ringo MUG Tokyo http://www.ringo.net/rss.html
participants (3)
-
Christiaan den Besten
-
Jim Tittsler
-
Tokio Kikuchi