Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
2c6fad25
Commit
2c6fad25
authored
Feb 25, 2017
by
Joost Rijneveld
Browse files
Update translation howto in README
parent
08148789
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
2c6fad25
...
...
@@ -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
------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment