PLEASE HELP!!!!! need to customize subject line in new subscribers welcome message! in english (en?)
PLEASE HELP!!!!! need to customize subject line in new subscribers welcome message! in english (en?)
i can't find the mailman.po english (US) version - i would assume the directory would be called "en" and it would be in messages - but I don't see it. please tell me what i am missing here - my client is about to shoot me!!!!!!!! also, after i change the message what else to i need to do?
thanks!
craig
At 1:36 PM -0500 2004/01/27, Craig Elkins wrote:
i can't find the mailman.po english (US) version - i would assume the directory would be called "en" and it would be in messages - but I don't see it. please tell me what i am missing here - my client is about to shoot me!!!!!!!!
The templates are in ~mailman/templates, and there is an en/
subdirectory under that (among all the other languages known). If you want to make changes to the templates used for a supported language for a particular list, you need to copy the appropriate templates to a subdirectory by the same name under ~mailman/lists/listname (e.g., ~mailman/lists/listname/en), and then make changes from there.
If you're looking for a particular file (e.g., mailman.po), you
can always do a "find ~mailman -name mailman.po -print", which on my system prints the following:
% find . -name mailman.po -print find: ./archives/private: Permission denied ./messages/ca/LC_MESSAGES/mailman.po ./messages/cs/LC_MESSAGES/mailman.po ./messages/da/LC_MESSAGES/mailman.po ./messages/de/LC_MESSAGES/mailman.po ./messages/es/LC_MESSAGES/mailman.po ./messages/et/LC_MESSAGES/mailman.po ./messages/eu/LC_MESSAGES/mailman.po ./messages/fi/LC_MESSAGES/mailman.po ./messages/fr/LC_MESSAGES/mailman.po ./messages/hr/LC_MESSAGES/mailman.po ./messages/hu/LC_MESSAGES/mailman.po ./messages/it/LC_MESSAGES/mailman.po ./messages/ja/LC_MESSAGES/mailman.po ./messages/ko/LC_MESSAGES/mailman.po ./messages/lt/LC_MESSAGES/mailman.po ./messages/nl/LC_MESSAGES/mailman.po ./messages/no/LC_MESSAGES/mailman.po ./messages/pl/LC_MESSAGES/mailman.po ./messages/pt/LC_MESSAGES/mailman.po ./messages/pt_BR/LC_MESSAGES/mailman.po ./messages/ro/LC_MESSAGES/mailman.po ./messages/ru/LC_MESSAGES/mailman.po ./messages/sl/LC_MESSAGES/mailman.po ./messages/sr/LC_MESSAGES/mailman.po ./messages/sv/LC_MESSAGES/mailman.po ./messages/uk/LC_MESSAGES/mailman.po
Note that there is no .../en/.../mailman.po file, which is a
compiled binary python executable (so far as I can tell). This is not a file that should be edited. Try editing the templates instead.
also, after i change the message what
else to i need to do?
I'm not sure, but you may need to stop and restart mailman.
-- Brad Knowles, <brad.knowles@skynet.be>
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania.
GCS/IT d+(-) s:+(++)>: a C++(+++)$ UMBSHI++++$ P+>++ L+ !E-(---) W+++(--) N+ !w--- O- M++ V PS++(+++) PE- Y+(++) PGP>+++ t+(+++) 5++(+++) X++(+++) R+(+++) tv+(+++) b+(++++) DI+(++++) D+(++) G+(++++) e++>++++ h--- r---(+++)* z(+++)
On Tuesday, Jan 27, 2004, at 13:36 US/Eastern, Craig Elkins wrote:
PLEASE HELP!!!!! need to customize subject line in new subscribers welcome message! in english (en?)
i can't find the mailman.po english (US) version - i would assume the directory would be called "en" and it would be in messages - but I don't see it. please tell me what i am missing here - my client is about to shoot me!!!!!!!! also, after i change the message what else to i need to do?
The .po files are translations; there don't exist English translations because the English is the original. You can find the welcome message subject in Deliverer.py to make a quick-and-dirty change.
I am not an i18n expert though, so I'm not exactly sure what happens to translations when you change one of the original strings. My intuition is that the new string would be "untranslatable" using existing translations, so you'd always get the English version. If your client wishes to have properly translated welcome message subjects in other languages, you would probably need to update messages/mailman.pot and each of the translations. Also check README-I18N.en and the mailman-i18n list.
--Robby
participants (3)
-
Brad Knowles
-
Craig Elkins
-
Robby Griffin