Monday, June 12, 2017

Re: Multilingual site with Django 1.11 and Google Cloud Platform

Two months ago Raphael Michel made an interesting presentation about it at the DjangoConEU. AFAIK the conference videos aren't out yet, but at least the slides are available at https://2017.djangocon.eu/schedule/data-internationalization-in-django/.

On June 12, 2017 7:50:09 PM GMT+03:00, Mihai Rusoaie <mihai.rusoaie@gmail.com> wrote:
Hello!

I have a website with content in Romanian.

I would like to create an English version.

For the interface I will use Django 1.11 Localization: https://docs.djangoproject.com/en/1.11/topics/i18n/translation/#how-to-create-language-files
For translating automatically the content to english, I will use Google Cloud Transalation API: https://cloud.google.com/translate/docs/

Question is: what is the most elegant way to keep model translations in the DB?

I only found packages from 3 years ago such as django multilingual model: https://pypi.python.org/pypi/django-multilingual-model/0.6

Thank you!

Mihai Rusoaie

No comments:

Post a Comment