kopia lustrzana https://github.com/hholzgra/maposmatic/
Update README regarding translation instructions
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>stable
rodzic
37b72143ac
commit
a63572aaaa
21
README
21
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
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue