Added locale middleware.