I have a flow which reads email notifications (from and subject) if i have headset connected.
Problem is that I am receiving emails in three different languages... I sounds terrible when speak block uses german to read english or vice versa.
Is there a internal way how to recognize language before sending it to speak block?
google translate could do that (1) but I dont like to send every email subject to google.
thanks
(1) if someone is interested, google translate could be used.
this call returns some json for the string "Scattered Showers tomorrow"
returns:
[[["Scattered Showers tomorrow !","Scattered Showers tomorrow!",,,0]],,"es",,,[["Scattered",1,[["Scattered",1000,true,false]],[[0,9]],"Scattered Showers tomorrow!",0,1],["Showers",2,[["Showers",1000,true,false]],[[10,17]],,1,2],["tomorrow",3,[["tomorrow",979,true,false]],[[18,26]],,2,3],["!",4,[["!",978,false,false]],[[26,27]],,3,4]],0.78727478,,[["en"],,[0.78727478],["en"]]]
i did not analyze the json output, but "en" is correct