Updated Internationalization (markdown)
parent
2ffddee5f5
commit
ca4165e183
|
@ -46,9 +46,17 @@ For all `messages`, we have a list of `path to files` containing this `message`
|
||||||
Edit `msgstr` with the translated string.
|
Edit `msgstr` with the translated string.
|
||||||
|
|
||||||
|
|
||||||
|
## Make messages
|
||||||
|
To create all .po files, run this command :
|
||||||
|
```bash
|
||||||
|
django-admin makemessages -l [LANG_CODE]
|
||||||
|
```
|
||||||
|
|
||||||
|
`LANG_CODE` for exemple can be set to 'ru', 'fr', 'en'...
|
||||||
|
|
||||||
## Compile `messages`
|
## Compile `messages`
|
||||||
|
|
||||||
Run this command :
|
To compile messages run this command :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
manage.py compilemessages
|
manage.py compilemessages
|
||||||
|
|
Loading…
Reference in New Issue