Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Fix google translation error "Bad language pair" #282

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

ErHaWeb
Copy link
Contributor

@ErHaWeb ErHaWeb commented Jul 6, 2023

GoogleTranslateService::translate() expects the source language as first parameter and the target language as second parameter. So far, the target language was passed in both cases. This led to the error "Bad language pair". This fix sets the source language as first parameter instead.

GoogleTranslateService::translate() expects the source language as web-vision#1 parameter and the target language as web-vision#2 parameter. So far, the target language was passed in both cases. This led to the error "Bad language pair". This fix sets the source language as web-vision#1 parameter instead.
@calien666 calien666 changed the base branch from main to 3.0 July 6, 2023 08:18
@calien666 calien666 merged commit 5736d0c into web-vision:3.0 Jul 6, 2023
9 checks passed
@ErHaWeb ErHaWeb deleted the patch-1 branch July 6, 2023 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants