Simple Translator in Python
Project Description:
In this project, we'll be making a very simple translator in Python using some libraries.
Requirements:
Following modules need to be installed for it to work properly:
- Tabulate
- GoogleTrans
Tabulate:
Tabulate is an open-source python package/module which is used to print tabular data in nicely formatted tables. It is easy to use and contains a variety of formatting functions. It has the following functionalities:
- One function call for all types of formatting
- Can be downloaded in multiple output formats
- Provides a better presentation with text and data.
It can be installed using "pip install tabulate"
GoogleTrans:
Googletrans is a free and unlimited python library that implemented Google Translate API. This uses the Google Translate Ajax API to make calls to such methods as detect and translate. This uses the Google Translate Ajax API to make calls to such methods as detect and translate.
GoogleTrans has several features:
- Fast and reliable - it uses the same servers that translate.google.com uses
- Auto language detection
- Bulk translations
- Customizable service URL
- HTTP/2 support
It can be installed using "pip install googletrans"