OpenSlides/openslides/locale
2013-11-10 21:13:57 +01:00
..
cs/LC_MESSAGES Updated DE, FR, CS translation (typo in EN translation string). 2013-09-09 22:12:10 +02:00
de/LC_MESSAGES Updated EN + DE translation file. 2013-10-21 21:20:55 +02:00
en/LC_MESSAGES Update English translation files. 2013-11-10 21:13:57 +01:00
fr/LC_MESSAGES Updated DE and FR translation (one new translation string). 2013-09-10 20:58:59 +02:00
pt/LC_MESSAGES Added Portuguese translation (Thanks to Marco A.G.Pinto) 2013-09-24 22:13:50 +02: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