OpenSlides/openslides/locale
2016-09-26 15:33:40 +02:00
..
angular-gettext Updated German translations. Fixed some translation strings. 2016-09-26 15:33:40 +02:00
cs/LC_MESSAGES Updated all translations. (Fixes #2043) 2016-03-21 19:57:45 +01:00
de/LC_MESSAGES Updated German translations. Fixed some translation strings. 2016-09-26 15:33:40 +02:00
en/LC_MESSAGES Updated translation resources. 2016-09-26 12:44:23 +02:00
es/LC_MESSAGES Updated translations for DE, ES, PT (used by JS, Django). 2016-08-25 09:34:58 +02:00
fr/LC_MESSAGES Updated all translations. (Fixes #2043) 2016-03-21 19:57:45 +01:00
pt/LC_MESSAGES Updated translations for DE, ES, PT (used by JS, Django). 2016-08-25 09:34:58 +02:00
README.txt Mark all motion state names as translatable in JS. (Fixes #1864) 2016-01-24 00:37:54 +01:00

Instruction to update translations for OpenSlides (JavaScipt and Django):
-------------------------------------------------------------------------

1. Update English resource files:

   a) for JavaScript run:
      $ ./node_modules/.bin/gulp pot
      -> updates 'openslides/locale/angular-gettext/template-en.pot'

   b) for Django:
      $ cd openslides
      $ django-admin.py makemessages -l en
      -> updates 'openslides/locale/en/LC_MESSAGES/django.po'

2. Commit and merge the following files into OpenSlides master repo:
   a) openslides/locale/angular-gettext/template-en.pot
   b) openslides/locale/en/LC_MESSAGES/django.po

   Transifex will update both resource files once a day by pulling from GitHub.

3. Translate both files in transifex into desired languages.
   https://www.transifex.com/openslides/

4. Download translated po files for each language and override it:
   a) openslides/locale/angular-gettext/{LANG-CODE}.po
   b) openslides/locale/{LANG-CODE}/LC_MESSAGES/django.po

5. Create mo file for each language (only for django po files required)
   $ cd openslides
   $ django-admin.py compilemessages

6. Commit and merge for each language the following files:
   a) openslides/locale/angular-gettext/{LANG-CODE}.po
   b) openslides/locale/{LANG-CODE}/LC_MESSAGES/django.po
      openslides/locale/{LANG-CODE}/LC_MESSAGES/django.mo