Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Language hard coded to english in SSML-generation #43

Open
Megamannen opened this issue Dec 19, 2024 · 1 comment
Open

[Bug] Language hard coded to english in SSML-generation #43

Megamannen opened this issue Dec 19, 2024 · 1 comment

Comments

@Megamannen
Copy link

`<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="https://www.w3.org/2001/mstts" xml:lang="en-US">${input}</speak>`;

This should probably be xml:lang='${locale}' and not always english. (I think this is why it can decide to speak english if you have a lot of numbers in your text)

@lobehubbot
Copy link
Member

👀 @Megamannen
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants