-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
Google Translate TTS pronounce urlencoded characters #38339
Comments
Happens here as well after installing 0.113.2 There's a forum thread about this here so it seems to be a widespread issue. |
Same issue. |
Just to chime in here and put some weight on the issue, posted this in the community https://community.home-assistant.io/t/0-113-automations-scripts-and-even-more-performance/213387/383?u=mariusthvdb Hope this can be fixed in 113.3 ;-) |
Another thread on the forum, issue seems widespread https://community.home-assistant.io/t/service-tts-google-translate-say-is-translating-spaces-to-20/214942 |
I do not see this issue in my venv install, it seems most everyone here is on docker/hassOS? |
Yes for me on Docker (HA Container). |
Same issue here. HassOS 5, Core 113.2. |
same here Hassio 0.113.2 |
same here hassio 0.113.2 |
Another with the problem in Hassio 0.113.2. I sent the same text to the phone and it's ok, only TTS is wrong. |
Same here, was running 0.113.0 half an hour ago, and after the upgrade to 0.113.2 getting %20 |
Same issue |
Same here, glad it's not just me. Home Assistant 0.113.2 - HassOS 4.11 |
Same issue here. Running in Docker on Ubuntu. |
Same issue here. |
I confirm, same issue after upgrading to 0.113.2 |
same here after upgading to 0.113.2. putting single or double quotes around message doesn't make any difference. my script: speakarming:
|
Same here. Home Assistant Supervised 0.113.2 over RaspberryPiOS in a rpi4 4gb |
Removed the spaces and it works. Doesn't sound too bad. |
For me removing space cause bad pronounce (Italian) |
You can use dashes now as a workaround. Seems like they are not pronounced (this-is-a-test). Hopefully this gets fixed soon as my Google Home is going crazy :D |
Same here, 0.113.2 Running in Docker on Ubuntu. I did notice the following tho, *automations like this one work fine.
But *scripts like this one say the "%20" for all the spaces.
Also if I run it via the developer tools > services and choose tts.google_say it also says the "%20" for all of the spaces in the message. |
Another related issue is the way numbers are pronounced. For the text "The -time-now-is-11-43" is pronounced as "The time now is one one four three " instead of "The time now is eleven forty three " |
Same issue here |
Same here And its not only the spaces but also german "umlauts" (ä, ö, ü, ß) ! |
I've been able to pin-point the exact reason why this happens. Looking into fixing it. |
PRs are up, marked them for the 0.113.3 milestone. Sorry about this happening, it wasn't a direct cause of any change in the 0.113.2 release, but a sub-dependency of Home Assistant was the root cause (which made it less obvious to pin-point). Fix and more permanent measures to prevent this again, have been put in place. |
Thanks for your help, Frenck. As said, fix works in my set-up indeed. |
Awesome work! Thanks for the quick fix. |
Great work! Thank you very much for your super fast response! You guys are awesome! 🥇 |
Thanks Frenck & all the folk at Home Assistant. |
Hello, thanks for fast response. How to install 0.113.3 in hassio? I must wait new release? |
@antoweb 0.113.3 isn't released yet, so that requires a bit of patience. |
Sorry from hmmbob I understood that her had tried |
yes, but try with "è" ... |
Thanks @frenck for resolving this so quickly. Though it hasn't affected normal HA operations, this has been an annoying bug nonetheless! LOL |
I did partly - I pinned the |
Confirming that 0.113.3 fixed the issue for me. |
Yep! Can confirm working (Swedish) with .3! |
0.113.3 fixed most of the issue. However, using the Slovak (sk) language, typing práčka into the Text to speak window of the media Media Control Card results in percentages. Interestingly, typing Práčka with capital P works just fine. |
Probably coming from your tts cache?! You should clear the cache (/config/tts/) |
..still waiting for the update to show up in supervisor .... |
@sotima - Reload supervisor and you'll see it. |
@rpitera: thank you showed up immediately aftter writing my post! |
Confirmed: German umlauts also work again. My wife is pleased! ;-) |
Confirm Italian language work again also with spaces |
Lol |
Thank you. Wife is happy too!!! |
This issue has reemerged for me in the last 24hrs under 0.114.4 and supervisor 242. It's been fine under 114.4 for weeks only the supervisor has been updating and now when I restart Home Assistant, I get a long screed of '%' messages. |
The problem
I'm trying to use Google Translate TTS in it's default configuration. It does work, but for some reason it pronounces messages like if they are urlencoded. For example, "Hello world!" is pronounced as "Hello percent twenty world" (which is "hello%20world" i believe)
Environment
Problem-relevant
configuration.yaml
Additional information
Here's the rendered audio:
d3486ae9136e7856bc42212385ea797094475802_en_-_google_translate.zip
The text was updated successfully, but these errors were encountered: