Exemplo n.º 1
0
def get_locale():
    return request.accept_languages.best_match(LANGUAGES.Keys())