require i18n in js