-
Notifications
You must be signed in to change notification settings - Fork 0
Translator
Raxel55 edited this page Apr 15, 2020
·
12 revisions
Background name field translator. This use Yandex Translator for translating.
Run it in background
python3 app.py &
This is trying to get objects which have empty russian_name field from API every 10 seconds. If it get objects it try to translate name field of each object with 1 second interval. Also it translate description field and put result in russian_description field.
API_KEY - yandex translator API key
API_ADDRESS - url to API service
requests=2.23.0
Author and maintainer: @Raxel55 (Aleksey)