-
Notifications
You must be signed in to change notification settings - Fork 49
Synchronizing translations
Christopher Groskopf edited this page Nov 30, 2013
·
1 revision
To extract the latest translation strings from the PANDA codebase and upload them to POEditor:
- Run
fab makemessages
. - Go the server-side project and select Import Terms from the Project Options dropdown.
- Select the file
locale/de/LC_MESSAGES/django.po
(NOT djangojs.po). - Verify Import terms only is selected and click Import File.
- Go to the client-side project and select Import Terms from the Project Options dropdown.
- Select the file
locale/de/LC_MESSAGES/djangojs.po
((NOT django.po). - Verify Import terms only is selected and click Import File.
To download the latest translated strings from POEditor and use them in PANDA:
- Visit each language, for each project (server-side and client-side) and select Export from the Language Options dropdown.
- Select Po as the type and click Export.
- Copy the downloaded file to the correct location, for example, the server-side German translation would go to
locale/de/django.po
and the client-side Spanish translation would go tolocale/es/djangojs.po
. - Repeat for all languages and both projects.
- Run
fab compilemessages
. - Commit the latest
.po
and.mo
files.