7851: translations don't show in many labels, buttons, and other elements, Windows only

Added fix for Python3
This commit is contained in:
Josip 2014-12-28 22:16:32 +01:00
parent 236261e2db
commit 42a56bf31b

View File

@ -481,7 +481,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):