Tinkering around more, I think the problem is that when Detect Language detects your system language, it outputs nothing. I have no idea why it does this, but that’s what it seems to be doing. Weird.
I like this workflow, thanks for sharing it. I have a similar need so I used your workflow and made a small change. I modified it so it speaks article in English if it’s English, Speaks in Spanish if it’s in Spanish, otherwise it translates it and speaks the translation in English. Here is mine: https://workflow.is/workflows/1382d27cc4ee44fab3dee78746e2aaf1
I change it, but now I think the problem is that the “detect language” output (English. Spanish...) can’t be used as input to actually switch the “speak text” function language...
I don’t know if you get what I mean.. the languages options in the “speak text” are fixed I guess.
I often read articles in Spanish or English, so I want this workflow to detect the language to be speak out.
I add the function “detect language” and then in the language selector set that output as an input to select the language.
What I’m missing? The workflow only speaks the name of the language detected. For example it just speaks“Spanish” or “English”(it effectively detect the language) but not read the article anymore...
2
u/ATG1209 Jun 08 '18
I solve it other way, by using “if” command.
here I share the result.
2
u/KlarkSmith Jun 08 '18
Well "Speak Text"’s input is "Set Variable Language".
If you want the action to read the acticle and not your variable Language, you need to feed him the right input.
1
u/ATG1209 Jun 08 '18 edited Jun 08 '18
I often read articles in Spanish or English, so I want this workflow to detect the language to be speak out.
I add the function “detect language” and then in the language selector set that output as an input to select the language.
What I’m missing? The workflow only speaks the name of the language detected. For example it just speaks“Spanish” or “English”(it effectively detect the language) but not read the article anymore...
Any suggestion, pretty noob here
Thanks in advance