From ca4165e1830e274f9c00104662ace7074434df97 Mon Sep 17 00:00:00 2001 From: Ix <39010759+ix-56h@users.noreply.github.com> Date: Mon, 6 Sep 2021 20:31:49 +0200 Subject: [PATCH] Updated Internationalization (markdown) --- Internationalization.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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