OpenSlides/openslides/locale
2015-11-30 21:30:37 +01:00
..
angular-gettext Added German translation. 2015-11-30 21:30:37 +01:00
cs/LC_MESSAGES Updated CHANGELOG. Updated language files (only metadata changes). 2015-02-15 20:43:15 +01:00
de/LC_MESSAGES Added German translation. 2015-11-30 21:30:37 +01:00
en/LC_MESSAGES Template and translation changes. Updated English language files. 2015-11-30 21:06:31 +01:00
fr/LC_MESSAGES Updated CHANGELOG. Updated language files (only metadata changes). 2015-02-15 20:43:15 +01:00
pt/LC_MESSAGES Updated CHANGELOG. Updated language files (only metadata changes). 2015-02-15 20:43:15 +01:00
README.txt translate agenda hidden filter in js 2012-09-13 15:21:43 +02:00

Instruction to update translation for OpenSlides:
-------------------------------------------------

1. Go to the openslides directory (which contains the 'locale' directory):
   $ cd openslides

2. Update the German po file (locale/de/LC_MESSAGES/django.po):
   $ django-admin.py makemessages -l de
   $ django-admin.py makemessages -l de -d djangojs

3. Edit the German po file: locale/de/LC_MESSAGES/django.po
   Don't forget the js-file: locale/de/LC_MESSAGES/djangojs.po
   (Search for "fuzzy" and empty msgstr entries.)

4. Update the German mo file (locale/de/LC_MESSAGES/django.mo):
   $ django-admin.py compilemessages

5. Restart server:
   $ python manage.py runserver

--
Additional hints for internationalization (i18n) in Django:
https://docs.djangoproject.com/en/dev/topics/i18n/

Note: gettext is required to extract message IDs or compile message files.
For gettext on Windows read:
https://docs.djangoproject.com/en/dev/topics/i18n/translation/#gettext-on-windows