[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH 1/5] Update README regarding translation instruc
From: |
Thomas Petazzoni |
Subject: |
[Maposmatic-dev] [PATCH 1/5] Update README regarding translation instructions |
Date: |
Sun, 1 Apr 2012 01:13:38 +0200 |
Signed-off-by: Thomas Petazzoni <address@hidden>
---
README | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/README b/README
index a1c214f..5421a23 100644
--- a/README
+++ b/README
@@ -20,8 +20,19 @@ Translation
===========
The .po files are stored in www/locale/<locale>/LC_MESSAGES/. To
-generate or update a .po file, run: django-admin.py makemessages -l
-<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 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
+
--
1.7.4.1
- [Maposmatic-dev] [PATCH 1/5] Update README regarding translation instructions,
Thomas Petazzoni <=
- [Maposmatic-dev] [PATCH 2/5] Unwrap text blocks to ease translation, Thomas Petazzoni, 2012/03/31
- [Maposmatic-dev] [PATCH 4/5] Update French translat ion, Thomas Petazzoni, 2012/03/31
- [Maposmatic-dev] [PATCH 5/5] Workaround Django make messages bug when generating PO files, Thomas Petazzoni, 2012/03/31
- [Maposmatic-dev] [PATCH 3/5] Update all PO files, Thomas Petazzoni, 2012/03/31
- Re: [Maposmatic-dev] [PATCH 1/5] Update README regarding translation instructions, Thomas Petazzoni, 2012/03/31