Centralize i18n info for middleware