An application that takes inputted text, detects its language, and translates it into English. Also displays historical translations.
Translations are done using Transltr.org's API (thank you!!!).
For now hosted on Amazon EC2.
git clone https://github.com/zhangoose/simple-translate.git
pip install -r requirements-dev.txt
You should have an .env file inside app/ with the following:
DEBUG=True
POSTGRES_USERNAME=....
POSTGRES_PASSWORD=....
POSTGRES_HOST=....
POSTGRES_PORT=....
DJANGO_SECRET_KEY=...
API_TOKEN=...
You should also replace app/translation/static/translation/env/env.js's API_TOKEN value with the API_TOKEN above in your .env.
python manage.py migrate
python manage.py runserver
Tests powered by py.test
pytest tests/
