aboutsummaryrefslogtreecommitdiff
path: root/cheat/.cheat/django
diff options
context:
space:
mode:
Diffstat (limited to 'cheat/.cheat/django')
-rw-r--r--cheat/.cheat/django12
1 files changed, 12 insertions, 0 deletions
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