soimort/translate-shell

Voice output unavailable for long texts

Opened this issue · 0 comments

I get the message "Voice output isn't available for English" (or any other language) when the text is too long. The problem isn't present with shorter texts.

echo "This is short enough that trans will read it just fine. However, as you'll see later, when I exceed certain length it will no longer function" | trans -s en -speak -no-translate

echo "This text is too long and will not work. It will tell me that voice output isn't available for the target language, in this case it will say it's unavailable for English. Lorem ipsum dolor sit amet something something something something" | trans -s en -speak -no-translate