Fix error handling
Update locales
Fix lint error
Fix ordering of middlewares