From 39ec03da0898a2181d932b8d561aa886f40d4ac0 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Wed, 3 Feb 2021 18:04:54 -0500 Subject: [PATCH] Fix for Dutch translation. --- libs/deep_translator/google_trans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/deep_translator/google_trans.py b/libs/deep_translator/google_trans.py index fc8d63470..2c1efa06a 100644 --- a/libs/deep_translator/google_trans.py +++ b/libs/deep_translator/google_trans.py @@ -35,7 +35,7 @@ class GoogleTranslator(BaseTranslator): element_tag='div', element_query={"class": "t0"}, payload_key='q', # key of text in the url - hl=self._target, + tl=self._target, sl=self._source) self._alt_element_query = {"class": "result-container"}