Changing the way we add i18n into the middleware config for devtools