Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Call locale.bindtextdomain() for non-standard localedir (Issue#27).

  • Loading branch information...
commit afb7cc7137be89db1899299351354da07b758197 1 parent 545e76b
Daiki Ueno authored
Showing with 3 additions and 0 deletions.
  1. +1 −0  THANKS
  2. +2 −0  setup/main.py
1  THANKS
View
@@ -5,6 +5,7 @@ IRIE Shinsuke irieshinsuke at yahoo.co.jp
iws iws1011 at gmail.com
Jens Petersen petersen at redhat.com
Kazuhiro NISHIYAMA
+OBATA Akio
OHASHI Hideya ohachige at gmail.com
TAGOMORI Satoshi sigh at shirts.st
TAKAHASHI Tamotsu
2  setup/main.py
View
@@ -24,6 +24,8 @@ class PreferencesDialog:
def __init__(self):
locale.setlocale(locale.LC_ALL, '')
localedir = os.getenv('IBUS_LOCALEDIR')
+ # for non-standard localedir (Issue#27)
+ locale.bindtextdomain('ibus-skk', localedir)
gettext.bindtextdomain('ibus-skk', localedir)
gettext.bind_textdomain_codeset('ibus-skk', 'UTF-8')
Please sign in to comment.
Something went wrong with that request. Please try again.