file clean
This commit is contained in:
parent
ed52202017
commit
6049531de5
@ -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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user