X-Git-Url: http://git.cyclocoop.org/?p=cavote.git;a=blobdiff_plain;f=README.md;h=178afa2ce84c241daeae51a37cd21a765a1bf303;hp=64724686b3be99407a83402dc82c3e70ac3d9a49;hb=5192460c5110169a28e46dcfcff4614126191d97;hpb=233934ccce17a1ef78a4da3af19311da5255afda diff --git a/README.md b/README.md index 6472468..178afa2 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,27 @@ L'utilisateur par défaut peut être activé à l'adresse identifiants de connection lors du premier accès. +Traduction +---------- + +Génération du template de chaînes à traduire : + + pybabel extract -F babel.cfg -o messages.pot . + +Génération du catalogue d'une langue en particulier : + + pybabel init -i messages.pot -d translations -l fr + +Une fois la traduction effectuée : + + pybabel compile -d translations + +Si les chaînes changent : + + pybabel extract -F babel.cfg -o messages.pot . + pybabel update -i messages.pot -d translations + + Installation (production) -------------------------