Localization middleware for express