Last Update: 2003年 3月10日 周一 10時03分59秒 CST
Contributed by: "Y. Cheng" <ycheng@slat.org>
今天終於有空來裝 mailman 2.1.1 啦 ^_^ 要 mailman 2.1.1 可已有繁體中文可以選, 需要以下額外動作:
1. 安裝時加上參數 WITH_CHINESE=yes:
# cd /usr/ports/mail/mailman # make WITH_CHINESE=yes install clean
2. 把 $(prefix)/Mailman/Defaults.py 裡面的 DEFAULT_SERVER_LANGUAGE = 'en' 改為 DEFAULT_SERVER_LANGUAGE = 'big5':
--- Mailman/Defaults.py.in.orig Mon Mar 10 23:49:48 2003 +++ Mailman/Defaults.py.in Mon Mar 10 23:50:02 2003 @@ -670,7 +670,7 @@ # The default language for this server. Whenever we can't figure out the list # context or user context, we'll fall back to using this language. See # LC_DESCRIPTIONS below for legal values. -DEFAULT_SERVER_LANGUAGE = 'en' +DEFAULT_SERVER_LANGUAGE = 'big5' # When allowing only members to post to a mailing list, how is the sender of # the message determined? If this variable is set to 1, then first the
3. 把 $(prefix)/pythonlib/email/Charset.py 裡面的 'big5': 'big5_tw', 改為 'big5': 'big5',,否則 subscribe mail list 時就會出現 bug.
--- pythonlib/email/Charset.py.orig Sun Oct 13 12:00:20 2002 +++ pythonlib/email/Charset.py Tue Mar 11 10:19:07 2003 @@ -70,7 +70,7 @@ 'iso-2022-jp': 'japanese.iso-2022-jp', 'shift_jis': 'japanese.shift_jis', 'gb2132': 'eucgb2312_cn', - 'big5': 'big5_tw', + 'big5': 'big5', 'utf-8': 'utf-8', # Hack: We don't want *any* conversion for stuff marked us-ascii, as all # sorts of garbage might be sent to us in the guise of 7-bit us-ascii.
初步測試這樣 ok, 會不會有進一步問題, 還需要多測試.
ycheng