ChangeVoiceLanguage()
Change Voice Language
Set the runtime voice language.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Language language | Language code used by the project, such as en. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await ChangeVoiceLanguage({"language": ""})In use. Choose the voice-language code that has the corresponding audio resources. It is separate from subtitle language, allowing one voice language with another subtitle language.
ChangeSubtitleLanguage()#
Change Subtitle Language
Set the runtime subtitle language.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Language language | Language code used by the project, such as en. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await ChangeSubtitleLanguage({"language": ""})In use. Change subtitles while leaving voice in the original language. Test custom GUI text and dynamically created lines too; fixed strings outside the translation system may not change automatically.
