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
...@@ -69,10 +69,12 @@ Make sure to use British English. ...@@ -69,10 +69,12 @@ Make sure to use British English.
To create translations for your app: To create translations for your app:
1. `./manage.py makemessages <appname>` 1. `cd` into the application's directory
2. This will create or update the files under `<appname>/locale/`. 2. `../manage.py makemessages --locale nl`
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. 3. This creates or updates `locale/nl/LC_MESSAGES/django.po`
4. `./manage.py compilemessages` 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 Docker
------ ------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment