From 16c38cd0276cfc5ab41d7ab09e0d81ba9a68a7d6 Mon Sep 17 00:00:00 2001 From: John Garland Date: Mon, 20 Sep 2010 02:43:07 +1000 Subject: [PATCH] Set locale to the user's default settings in the gtkui --- deluge/ui/gtkui/gtkui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/ui/gtkui/gtkui.py b/deluge/ui/gtkui/gtkui.py index bfec91b3a..3ff092495 100644 --- a/deluge/ui/gtkui/gtkui.py +++ b/deluge/ui/gtkui/gtkui.py @@ -47,6 +47,7 @@ import sys # Initialize gettext try: + locale.setlocale(locale.LC_ALL, '') if hasattr(locale, "bindtextdomain"): locale.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n")) if hasattr(locale, "textdomain"):