rename paliI18nSetting to i18nSetting and re-write i18n.js