aboutsummaryrefslogtreecommitdiff
path: root/cheat/.cheat/django
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-02-14 12:46:55 +0100
committerneodarz <neodarz@neodarz.net>2019-02-14 12:47:21 +0100
commitbc3f5659576aa0d2803a4cd933079b1393537be5 (patch)
treefc9eb5aaf02c87f79823dc4f967cd22e2d5d44ca /cheat/.cheat/django
parent59367698d3127d1a8c43cfa42d4bee04b24965d8 (diff)
downloaddotfiles_ascii-bc3f5659576aa0d2803a4cd933079b1393537be5.tar.xz
dotfiles_ascii-bc3f5659576aa0d2803a4cd933079b1393537be5.zip
Update some tips
Diffstat (limited to '')
-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