Closed jonilviv closed 4 years ago
On a glance everything looks fine. I'll have to clone and test the code when I have a moment. In the meantime here's some things I noticed:
Hi mate, I´m having issues running Google Translate module. I have already setup the account on Google, enabled API, and from Google´s console I see failed requests, and this is what appears on the GUI: Google.Apis.Request.RequestError Too many text segments[400] Errors[ Message[Too many text segments] Location[ - ] Reason[invalid] Domain[global] Any ideas?
Hi, This is because we use Google.Cloud.Translate.V2 and the list of strings is more than 128 text lines. To solve this we need to upgrade the translation client to Google.Cloud.Translate.V3 and implement batch requests.
вт, 25 трав. 2021 о 11:31 bastioned @.***> пише:
Hi mate, I´m having issues running Google Translate module. I have already setup the account on Google, enabled API, and from Google´s console I see failed requests, and this is what appears on the GUI: Google.Apis.Request.RequestError Too many text segments[400] Errors[ Message[Too many text segments] Location[ - ] Reason[invalid] Domain[global] Any ideas?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HakanL/resxtranslator/pull/58#issuecomment-847713203, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDUXQM3LAB5BM2VQ5RUFTTTPNVARANCNFSM4N4WCVBA .
-- Best regards, Ivan Perehynets.
Thanks for the answer. Any idea when that will happen?
Regards
Obtener BlueMail para Androidhttp://www.bluemail.me/r?b=16925 En 25 may. 2021, en 13:35, jonilviv @.**@.>> escribió:
Hi, This is because we use Google.Cloud.Translate.V2 and the list of strings is more than 128 text lines. To solve this we need to upgrade the translation client to Google.Cloud.Translate.V3 and implement batch requests.
вт, 25 трав. 2021 о 11:31 bastioned @.***> пише:
Hi mate, I´m having issues running Google Translate module. I have already setup the account on Google, enabled API, and from Google´s console I see failed requests, and this is what appears on the GUI: Google.Apis.Request.RequestError Too many text segments[400] Errors[ Message[Too many text segments] Location[ - ] Reason[invalid] Domain[global] Any ideas?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HakanL/resxtranslator/pull/58#issuecomment-847713203, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDUXQM3LAB5BM2VQ5RUFTTTPNVARANCNFSM4N4WCVBA .
Hi. I added new feature Google Translate. There is dialog, that allow user to select source and target languages. !!! Important !!! Each user should use his own Google API key and using this feature may cost you some money! There is instruction how to setup key https://cloud.google.com/docs/authentication/production#windows