From f4abd460bae6185447205fb857463a3182b8dc5d Mon Sep 17 00:00:00 2001 From: Josip Date: Sat, 3 Jan 2015 20:25:12 +0100 Subject: [PATCH] 7851: translations don't show in many labels, buttons, and other elements, Windows only Added fix for Python3 --- gramps/gen/utils/grampslocale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/utils/grampslocale.py b/gramps/gen/utils/grampslocale.py index aaa0c64be..8dae35330 100644 --- a/gramps/gen/utils/grampslocale.py +++ b/gramps/gen/utils/grampslocale.py @@ -483,7 +483,7 @@ class GrampsLocale(object): if not sys.platform == 'win32': locale.bindtextdomain(self.localedomain, self.localedir) else: - self._win_bindtextdomain(self.localedomain, + self._win_bindtextdomain(self.localedomain.encode('utf-8'), self.localedir.encode('utf-8')) def _init_secondary_locale(self):