--- a/lib/variables +++ b/lib/variables @@ -27,7 +27,6 @@ if [ ! "$NOGETTEXT" = "TRUE" ] || [ "$(POL_Config_Read NOGETTEXT)" = "TRUE" ] then -export TEXTDOMAINDIR="$PLAYONLINUX/lang/locale/" export TEXTDOMAIN="pol" . gettext.sh eval_gettext > /dev/null || eval_gettext() { printf "$@"; } --- a/python/lib/lng.py +++ b/python/lib/lng.py @@ -26,10 +26,10 @@ class iLang(object): def __init__(self): - languages = os.listdir(Variables.playonlinux_env+'/lang/locale') + languages = os.listdir('/usr/share/locale') langid = wx.LANGUAGE_DEFAULT - localedir = os.path.join(Variables.playonlinux_env, "lang/locale") + localedir = "/usr/share/locale" domain = "pol" mylocale = wx.Locale(langid) mylocale.AddCatalogLookupPathPrefix(localedir)