babel - how do i change flask-admin's locale? -


i wanner change locale, like:

locale='zh_cn'

not admin's application's locale, need change flask-admin's locale code.

try add parameter

?lang=zh_cn 

to end of url request.

if work, may add

set $args $args&lang=zh_cn; 

to nginx conf file.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -