You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah this is the google api which is returning a 400 "Bad Request" for having the same source and target language. Why would you translate into the same language :)? Is there any use of that?
But you're right. Better error handling would be useful. So it's clear if its a API Error or not..
Some translator app have this functionality ( though as you said not very useful) , so i think as i would need to add a alert if user tries to do something like this so that it becomes clear to the user that app wont allow this otherwise they might consider that there is some issue with app
HI
When i giving same language for translation for source and target it is not doing translation
params.source = fromLanguage.text ?? "fr"
params.target = toLanguage.text ?? "fr"
Can you please advise on this
THanks
The text was updated successfully, but these errors were encountered: