VirtualMailManager/Config.py
changeset 32 ceb700bc4a80
parent 24 48ea255e8a85
child 34 6d74e20c5b3b
--- a/VirtualMailManager/Config.py	Sat May 10 02:56:33 2008 +0000
+++ b/VirtualMailManager/Config.py	Tue May 13 03:20:02 2008 +0000
@@ -17,6 +17,7 @@
 __date__ = '$Date$'.split()[1]
 
 import sys
+import gettext
 from shutil import copy2
 from ConfigParser import ConfigParser
 from cStringIO import StringIO
@@ -24,6 +25,10 @@
 from Exceptions import VMMConfigException
 import constants.ERROR as ERR
 
+gettext.bindtextdomain('vmm', '/usr/local/share/locale')
+gettext.textdomain('vmm')
+_ = gettext.gettext
+
 class VMMConfig(ConfigParser):
     """This class is for configure the Virtual Mail Manager.