Skip to content
Snippets Groups Projects
Commit a7dfd17c authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Merge branch 'patch-1' into 'master'

Update translation howto in README

See merge request !385
parents 08148789 2c6fad25
No related branches found
No related tags found
1 merge request!385Update translation howto in README
......@@ -69,10 +69,12 @@ Make sure to use British English.
To create translations for your app:
1. `./manage.py makemessages <appname>`
2. This will create or update the files under `<appname>/locale/`.
3. Use poedit (or your favourite tool -- please do not use a plain text editor since those cannot handle all the subtleties) to fix the translations.
4. `./manage.py compilemessages`
1. `cd` into the application's directory
2. `../manage.py makemessages --locale nl`
3. This creates or updates `locale/nl/LC_MESSAGES/django.po`
4. Start poedit by calling `poedit locale/nl/LC_MESSAGES/django.po`
5. `../manage.py compilemessages` (should happen automatically when saving the file in poedit)
6. Commit both the `.po` and `.mo` file to the repository
Docker
------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment