From 26578ac307e4cb2505d7e85e0c81a52beb352c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 1 Mar 2012 16:14:23 +0100 Subject: [PATCH] Describe extra management commands --- README.rst | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index fd73d6acf..d1957c4b7 100644 --- a/README.rst +++ b/README.rst @@ -36,12 +36,27 @@ Installation Install all required components (see above), adjust settings.py and then run ./manage.py syncdb to create database structure. Now you should be able to -create translation projects using admin interface. +create translation projects using admin interface. You probably also want to +run ./manage.py setuplang to get default list of languages. As setup of translation project includes fetching Git repositories, you might want to preseed these, repos are stored in path defined by GIT_ROOT in settings.py in / directories. +Management commands +------------------- + +The ./manage.py is extended with following commands: + +loadpo + Reloads translations from disk (eg. in case you did some updates in Git + repository). +setuplang + Setups list of languages (it has own list and all defined in + translate-toolkit). +updategit + Fetches remote Git repositories and updates internal cache. + Project name ------------