#284: Updated i18n links and added gettext requirement note.
This commit is contained in:
parent
1546da8b08
commit
9b3103d4a8
@ -1,7 +1,7 @@
|
|||||||
Steps to update translation for OpenSlides:
|
Instruction to update translation for OpenSlides:
|
||||||
------------------------------------------
|
-------------------------------------------------
|
||||||
|
|
||||||
1. Go to project root directory:
|
1. Go to the openslides directory (which contains the 'locale' directory):
|
||||||
$ cd openslides
|
$ cd openslides
|
||||||
|
|
||||||
2. Update the German po file (locale/de/LC_MESSAGES/django.po):
|
2. Update the German po file (locale/de/LC_MESSAGES/django.po):
|
||||||
@ -16,8 +16,10 @@ Steps to update translation for OpenSlides:
|
|||||||
5. Restart server:
|
5. Restart server:
|
||||||
$ python manage.py runserver
|
$ python manage.py runserver
|
||||||
|
|
||||||
|
--
|
||||||
|
|
||||||
Additional hints for internationalization (i18n) in Django:
|
Additional hints for internationalization (i18n) in Django:
|
||||||
- http://docs.djangoproject.com/en/dev/topics/i18n/internationalization/
|
https://docs.djangoproject.com/en/dev/topics/i18n/
|
||||||
- http://docs.djangoproject.com/en/dev/topics/i18n/localization/
|
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user