diff options
| -rw-r--r-- | Mailman/Defaults.py.in | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index 338533099..16d856f80 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -639,13 +639,8 @@ LC_DESCRIPTIONS = {'es': (_("Spanish (Spain)"), 'iso-8859-1'), } del _ -# Set some things up for internationalization. Individual modules still need -# to do a "from Mailman.i18n import _" -import gettext - -os.environ['LANG'] = DEFAULT_SERVER_LANGUAGE -gettext.bindtextdomain('mailman', MESSAGES_DIR) -gettext.textdomain('mailman') +def add_language(code, description, charset): + LC_DESCRIPTIONS[code] = (description, charset) # BAW: Another hack to get Python's site-packages directory on the path. This |
