nidhal baccouri
commited on
Commit
·
ce3ad77
1
Parent(s):
39d0731
updated readme
Browse files- README.rst +17 -0
- deep_translator/google_trans.py +5 -3
README.rst
CHANGED
|
@@ -589,6 +589,23 @@ Links
|
|
| 589 |
Check this article on medium to know why you should use the deep-translator package and how to translate text using python.
|
| 590 |
https://medium.com/@nidhalbacc/how-to-translate-text-with-python-9d203139dcf5
|
| 591 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 592 |
|
| 593 |
==========
|
| 594 |
Next Steps
|
|
|
|
| 589 |
Check this article on medium to know why you should use the deep-translator package and how to translate text using python.
|
| 590 |
https://medium.com/@nidhalbacc/how-to-translate-text-with-python-9d203139dcf5
|
| 591 |
|
| 592 |
+
======
|
| 593 |
+
Help
|
| 594 |
+
======
|
| 595 |
+
|
| 596 |
+
If you are facing any problems, please feel free to open an issue.
|
| 597 |
+
Additionally, you can make contact with the author for further information/questions.
|
| 598 |
+
|
| 599 |
+
Do you like deep-translator?
|
| 600 |
+
You can always help the development of this project by:
|
| 601 |
+
|
| 602 |
+
- Following on github and/or twitter
|
| 603 |
+
- Promote the project (ex: by giving it a star on github)
|
| 604 |
+
- Watch the github repo for new releases
|
| 605 |
+
- Tweet about the package
|
| 606 |
+
- Help others with issues on github
|
| 607 |
+
- Create issues and pull requests
|
| 608 |
+
- Sponsor the project
|
| 609 |
|
| 610 |
==========
|
| 611 |
Next Steps
|
deep_translator/google_trans.py
CHANGED
|
@@ -184,6 +184,8 @@ class GoogleTranslator(BaseTranslator):
|
|
| 184 |
|
| 185 |
if __name__ == '__main__':
|
| 186 |
# test proxy config
|
| 187 |
-
proxies = None
|
| 188 |
-
text = GoogleTranslator(source="en", target="de", proxies=proxies).translate("you are good")
|
| 189 |
-
print(text)
|
|
|
|
|
|
|
|
|
| 184 |
|
| 185 |
if __name__ == '__main__':
|
| 186 |
# test proxy config
|
| 187 |
+
# proxies = None
|
| 188 |
+
# text = GoogleTranslator(source="en", target="de", proxies=proxies).translate("you are good")
|
| 189 |
+
# print(text)
|
| 190 |
+
import json
|
| 191 |
+
r = json.dump("nidhal")
|