VirtualMailManager/__init__.py
branchv0.6.x
changeset 188 cf1b5f22dbd2
parent 187 38b9a9859749
child 199 0684790fff7c
--- a/VirtualMailManager/__init__.py	Sat Feb 06 02:11:55 2010 +0000
+++ b/VirtualMailManager/__init__.py	Sat Feb 06 04:09:17 2010 +0000
@@ -4,6 +4,7 @@
 # package initialization code
 #
 
+import gettext
 import os
 import re
 import locale
@@ -40,6 +41,8 @@
 RE_DOMAIN = """^(?:[a-z0-9-]{1,63}\.){1,}[a-z]{2,6}$"""
 
 
+gettext.install('vmm', '/usr/local/share/locale', unicode=1)
+
 def get_unicode(string):
     """Converts `string` to `unicode`, if necessary."""
     if isinstance(string, unicode):