Commit 2c6fad25 authored by Joost Rijneveld's avatar Joost Rijneveld
Browse files

Update translation howto in README

parent 08148789
......@@ -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
------
......
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