Skip to content

simple translating app that saves your translating history ๐Ÿ”

Notifications You must be signed in to change notification settings

zhangoose/simple-translate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

simple-translate

travis

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!!!).

preview

For now hosted on Amazon EC2.

Local setup

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.

Running locally

python manage.py migrate
python manage.py runserver

Tests

Tests powered by py.test

pytest tests/

About

simple translating app that saves your translating history ๐Ÿ”

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published