locales refactor
WIP on nginx
WIP: nginx

cc @gagaro @regilero @toutpt