forked from Github-Mirrors/canaille
Better default locales
This commit is contained in:
parent
05809fad71
commit
3183345fcb
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ def setup_app(app):
|
||||||
if app.config.get("LANGUAGE"):
|
if app.config.get("LANGUAGE"):
|
||||||
return app.config.get("LANGUAGE")
|
return app.config.get("LANGUAGE")
|
||||||
|
|
||||||
return request.accept_languages.best_match(["fr", "en"])
|
return request.accept_languages.best_match(["fr_FR", "en_US"])
|
||||||
|
|
||||||
@babel.timezoneselector
|
@babel.timezoneselector
|
||||||
def get_timezone():
|
def get_timezone():
|
||||||
|
|
Loading…
Reference in a new issue