move function from initialization to i18nSetting