From bc3f5659576aa0d2803a4cd933079b1393537be5 Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 14 Feb 2019 12:46:55 +0100 Subject: Update some tips --- cheat/.cheat/django | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cheat/.cheat/django') diff --git a/cheat/.cheat/django b/cheat/.cheat/django index 5d25f15..ebb5817 100644 --- a/cheat/.cheat/django +++ b/cheat/.cheat/django @@ -17,3 +17,15 @@ python manage.py runserver 127.0.0.1:8000 # tinymce for django https://github.com/romanvm/django-tinymce4-lite + +# For create a .po file for translation +# first create a locale folder in module folder or edit LOCALE_PATH in conf file + +# run command for generate the file +django-admin makemessages -l fr + +# update the file if there are new translation +django-admin makemessages -l fr + +# compil translations files +django-admin compilemessages -- cgit v1.2.1