diff --git a/src/breathing.in b/src/breathing.in index ae1cb42..b67bc33 100755 --- a/src/breathing.in +++ b/src/breathing.in @@ -7,6 +7,7 @@ import os import sys import signal import gettext +import locale VERSION = '@VERSION@' pkgdatadir = '@pkgdatadir@' @@ -14,6 +15,10 @@ localedir = '@localedir@' sys.path.insert(1, pkgdatadir) signal.signal(signal.SIGINT, signal.SIG_DFL) +locale.bindtextdomain('breathing', localedir) +locale.textdomain('breathing') +gettext.bindtextdomain('breathing', localedir) +gettext.textdomain('breathing') gettext.install('breathing', localedir) if __name__ == '__main__':