Skip to content
Permalink
Browse files

[Language] Fix global text domain not set #2

As usual part #2 :)

One command is not enough, we also need to bind to that domain.
  • Loading branch information...
Schimmelreiter authored and koivo committed Oct 13, 2016
1 parent 4f80884 commit f628ebf3fbe467873ada9319002bf07d69937c48
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/python/Components/Language.py
@@ -13,6 +13,7 @@
class Language:
def __init__(self):
gettext.install('enigma2', resolveFilename(SCOPE_LANGUAGE, ""), unicode=0, codeset="utf-8")
gettext.bindtextdomain("enigma2", resolveFilename(SCOPE_LANGUAGE))
gettext.textdomain("enigma2")
self.activeLanguage = 0
self.catalog = None

0 comments on commit f628ebf

Please sign in to comment.
You can’t perform that action at this time.