diff --git a/web/app/components/app/configuration/config-voice/param-config-content.tsx b/web/app/components/app/configuration/config-voice/param-config-content.tsx index d055808692..2eae80decd 100644 --- a/web/app/components/app/configuration/config-voice/param-config-content.tsx +++ b/web/app/components/app/configuration/config-voice/param-config-content.tsx @@ -69,7 +69,9 @@ const VoiceParamConfig: FC = () => { >
- {languageItem?.name ?? localLanguagePlaceholder} + + {t(`common.voice.language.${languageItem?.value.replace('-', '')}`) ?? localLanguagePlaceholder} + { > {({ /* active, */ selected }) => ( <> - {item.name} + {t(`common.voice.language.${(item.value).toString().replace('-', '')}`)} {(selected || item.value === textToSpeechConfig.language) && (