From a63572aaaa9df611a5ceb9226524a16862fae970 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 1 Apr 2012 00:10:45 +0200 Subject: [PATCH] Update README regarding translation instructions Signed-off-by: Thomas Petazzoni --- README | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/README b/README index a1c214fc..5421a23f 100644 --- a/README +++ b/README @@ -20,8 +20,19 @@ Translation =========== The .po files are stored in www/locale//LC_MESSAGES/. To -generate or update a .po file, run: django-admin.py makemessages -l -. Then, edit the .po file manually, or using a graphical tool -such as poedit (available in the Debian/Ubuntu package of the same -name). Once done, don't forget to compile the .po file into an .mo -file using django-admin.py compilemessages. +generate or update a .po file: + + cd www/ + ./manage.py makemessages -a # for all locales + +or + + cd www/ + ./manage.py makemessages -l xx_XX # for one locale + +Then, edit the .po file manually, or using a graphical tool such as +poedit (available in the Debian/Ubuntu package of the same name). Once +done, don't forget to compile the .po file into an .mo file using: + + ./manage.py compilemessages +