Move the i18n helper to the i18n middleware repository