Are we still speaking about Google Translate, right. I think there is no non-cloud version, or?
Sorry, my bad.
Iāll check out the languages later.
But can you pick a Google STT Voice in the app settings?
(Just wanna make sure that works).
Or do you not have that configured?
(Because then i know where i could perhaps find the bug).
Nvm, i also get an error.
Im looking into it.
Well, the error says no:
Invalid resource name project id. Identifier must contain only lowercase letters, digits, periods, a colon, or hyphens.
Sorry, i didnāt know about that
So Google allows you to use anything but it ājustā donāt work. Lowercase letters, I wasnāt expected that!
Anyway, I went to IAM & Admin - Settings - changed the project name
changed as well in the app itself :
restarted app
re-added Google translate deviceā¦
ā¦fixed the flow and still getting the same error.
Also the list of languages is still limited to only few.
Also not sure if it helps, but list of voices, I can select in the app settings, is extensive - like maybe 200 or so. Assuming JSON and access rights, at least for TTS, are correct.
Because for TTS you select a voice, not a language.
But i am create a new flowcard with dynamic languages, hold on
Also, the error will be written in the flowcard error, so you can see what is wrong.
Sure, I mean I get the list of voices from Google-cloud, I was assuming itās the same for languages for translator, it is not ? Probably as they load quickly, maybe those are the default, right.
I was thinking you have used the same logic, because with that it would be the most universal translator ever.
No itās just not the same: TTS uses Voices, not languages. You have multiple voices per language and more languages than Translate.
But i build Translate with the (then) languages Homey supported.
I am now making it dynamic by loading the supported Translation languages into a new flowcard with autocomplete.
I mean ālogicā -of dynamically loading available voices so dynamically available languages for translator
So it will load - Idiomas admitidos | Cloud Translation | Google Cloud , right ?
Sorry for keeping asking, just to ensure you follow the use case.
Anyway, I wondered why nobody yet asked for it, because with that list of languages, that is then something, mainly if you have some data feeds and some family members prefers their mother language over any other.
Yes!
@Sharkys
Okay, here you go, install the test version:
I have deprecated both old Translate flowcards and created two new flowcards, which look just the same, but the now have an autocomplete with lists of all languages.
Also, if there is an error, you will either get an error in the Homey Timeline and/or in the flowcard when you select languages or run the card.
Let me know how it goes!
As before, Source and Target language are optional and can be configured to defaults in the Device Settings. Only, there the languages are still the āoldā options.
But if you always translate from a certain language, just configure it in the Device Settings and you can leave it empty in the flowcards if you want.
Arie I just get the default ones, even when re-adding device.
Btw, standard flows donāt have the flow with ability to change/choose language.
vs standard
And finally, when trying to select language, Iām getting
I hope itās not error on my sideā¦ I sent also diag. code but not sure you see there anything.
Yes, the Device settings i cannot make dynamic, those (currently) only have the default Homey languages.
Iāll add it.
Show the projectname configured in the app settings?
Perhaps it takes a moment to change it in Google?
You need the Project ID.
Okay, i see that you should use the projectID, not the projectname.
Perhaps itās different for you?
I have this:
And in the App Settings, i have the projectID, thus, lowercase homeyman:
Update to test for the correct App Settings text and the updated default flowcard.
Thatās fine now standard flows having languages selectable.
Ou, but you changed that, right ? I see it was Projectname
Nevermind, fixed (itās completely different for me) and ā¦
IT WORKS ! THANK YOU !
PS : You said you will have Homey Tuesday, not Monday
Yeah, i am waiting for my remote session with a customer to get acces to the right system.
So in the meanwhile i am picking up some Homey stuff.
Just hope they will keep you waiting longer (just kidding).
Anyway, can you please also make AND cards dynamic ? Just testing some use-cases and finding those on the wayā¦
@Sharkys
Yeah, but didnāt have any more time. Do you mind creating a ticket? Thanks!
Sure, done. Can you please add this to the OP ? Itās just even I, when I know where to submit it, have to search for it Thank you.