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