Fix in lang
This commit is contained in:
parent
687f2c24c9
commit
f081dddf03
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class I18n:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_browser_lang():
|
def get_browser_lang():
|
||||||
|
|
||||||
return request.headers.get('Accept-Language')
|
return request.headers.get('Accept-Language', 'en-US')
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def lang_json(module, symbol, text_default):
|
def lang_json(module, symbol, text_default):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue