file clean

This commit is contained in:
Manuel Cortez 2019-11-26 09:43:56 -06:00
parent ed52202017
commit 6049531de5

View File

@ -10,8 +10,6 @@ from importlib import reload
def change_language(name, language): def change_language(name, language):
global _ global _
os.environ["lang"] = language os.environ["lang"] = language
print(name)
print(os.path.join(os.getcwd(), "locales"))
_ = gettext.install(name, os.path.join(os.getcwd(), "locales")) _ = gettext.install(name, os.path.join(os.getcwd(), "locales"))
languages = ["en", "ru"] languages = ["en", "ru"]