improve i18n script