Simplify the i18n code