-
Notifications
You must be signed in to change notification settings - Fork 8
Translation technical process
There is new strings in the product that need to be translated
Make sure every string you want to be translated marked for translation. Inside HTML, it show up like: {% trans 'Awesome string to be translated' %}
Once we have the strings to be translated in the code, let's extract it to the PO files:
docker-compose -f dev.yml run django ./manage.py makemessages
We are using Transifex https://www.transifex.com/semillasocial
In order to push new tokens:
-
Open: https://www.transifex.com/semilla-social/semilla-social-website/semillas-website/
-
Click on 'update source file'. And update semillas_backend/locale/eu/django.po Note: We are using the Basque source, that is not translated at all. This process needs to be improved.
-
Translate it inside transifex.
-
Download translated PO file
-
Replace it by semillas_backend/locale//django.po (change lang for the language being translated)
docker-compose -f dev.yml run django ./manage.py makemessages
It will update the mo file and the translations should show up in your development environment!!!