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

Incorrect Translattion #390

Open
2 of 6 tasks
abdz-128 opened this issue Jan 2, 2024 · 0 comments
Open
2 of 6 tasks

Incorrect Translattion #390

abdz-128 opened this issue Jan 2, 2024 · 0 comments

Comments

@abdz-128
Copy link

abdz-128 commented Jan 2, 2024

Googletrans version:

  • 4.0.0rc1
  • 3.1.0a0
  • 3.0.0
  • 2.x

I'm submitting a ...

  • bug report
  • feature request

Current behavior:
Text doesn't have the same translated text as of Google Translate.

Text:
Pris dans un jeu mortel de chat et de souris, Dutton Hatfield se retrouve piégé dans un laboratoire biochimique saisi par des terroristes dirigés par le colonel Baron. Avec un virus mortel en jeu, Hatfield peut-il déjouer ses ennemis et prévenir une catastrophe mondiale?

Text translated using library:
Taken in a deadly cat and mouse game, Dutton Hatfield finds himself trapped in a biochemical laboratory seized by terrorists led by Colonel Baron. With a deadly virus in play, can Hatfield thwart his enemies and prevent a global disaster?

Text translated using Google Translate:
Caught in a deadly game of cat and mouse, Dutton Hatfield finds himself trapped in a biochemical laboratory seized by terrorists led by Colonel Baron. With a deadly virus at play, can Hatfield outwit his enemies and prevent global catastrophe?

Steps to reproduce:
Code provided to reproduce error:

Related code:
Given is the below code which I execute:

from googletrans import Translator
translator = Translator()


text = """Pris dans un jeu mortel de chat et de souris, Dutton Hatfield se retrouve piégé dans un laboratoire biochimique saisi par des terroristes dirigés par le colonel Baron. Avec un virus mortel en jeu, Hatfield peut-il déjouer ses ennemis et prévenir une catastrophe mondiale?"""
translations = translator.translate(text, dest='en')

print(translations.text)
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

No branches or pull requests

1 participant