diff --git a/Internationalization.md b/Internationalization.md index c7b8f9d..2edd6c7 100644 --- a/Internationalization.md +++ b/Internationalization.md @@ -46,9 +46,17 @@ For all `messages`, we have a list of `path to files` containing this `message` 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` -Run this command : +To compile messages run this command : ```bash manage.py compilemessages