parent
631740b66b
commit
ce7892546c
1 changed files with 4 additions and 1 deletions
|
@ -35,8 +35,11 @@ _translations = None
|
|||
|
||||
def initialize():
|
||||
global _translations
|
||||
try:
|
||||
locale.setlocale(locale.LC_ALL, '')
|
||||
except locale.Error as error:
|
||||
print(error)
|
||||
|
||||
locale.setlocale(locale.LC_ALL, '')
|
||||
# initialize_win_translation() broken
|
||||
initialize_lang()
|
||||
set_i18n_env()
|
||||
|
|
Loading…
Add table
Reference in a new issue