OpenSlides/openslides/locale
2016-02-17 17:58:04 +01:00
..
angular-gettext Updated angular-gettext EN source. 2016-02-17 17:58:04 +01:00
cs/LC_MESSAGES Updated translations. 2016-01-27 22:16:54 +01:00
de/LC_MESSAGES Updated German translations for django.po 2016-02-09 16:54:08 +01:00
en/LC_MESSAGES Motion state translation strings are still used by motion pdf. 2016-02-09 00:11:48 +01:00
es/LC_MESSAGES Updated translations. 2016-01-27 22:16:54 +01:00
fr/LC_MESSAGES Updated translations. 2016-01-27 22:16:54 +01:00
pt/LC_MESSAGES Updated translations. 2016-01-27 22:16:54 +01: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