summaryrefslogtreecommitdiff
path: root/portato/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/__init__.py')
-rw-r--r--portato/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/portato/__init__.py b/portato/__init__.py
index 653329c..4252a0a 100644
--- a/portato/__init__.py
+++ b/portato/__init__.py
@@ -54,6 +54,11 @@ def get_parser (use_ = False):
return parser
+def _sub_start ():
+ # set gettext stuff
+ locale.setlocale(locale.LC_ALL, '')
+ gettext.install(APP, LOCALE_DIR, unicode = True)
+
def start():
# set gettext stuff