summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
Diffstat (limited to 'portato')
-rw-r--r--portato/gui/exception_handling.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/portato/gui/exception_handling.py b/portato/gui/exception_handling.py
index d8ff7ba..6bda133 100644
--- a/portato/gui/exception_handling.py
+++ b/portato/gui/exception_handling.py
@@ -22,8 +22,14 @@ from StringIO import StringIO
from ..helper import debug, error
from .dialogs import file_chooser_dialog, io_ex_dialog
+# for the i18n
+from ..constants import LOCALE_DIR, APP
+import gettext
+
class GtkThread (Thread):
def run(self):
+ # for some reason, I have to install this for each thread ...
+ gettext.install(APP, LOCALE_DIR, unicode = True)
try:
Thread.run(self)
except SystemExit: