refactor i18N.js file