on i4PACE(i for Personal Archiving and Creating Environment)
actions » SearchLogin 89 articles • 30 Jul 2010

Article with comments

Wednesday, 12 Nov 2008

permalink Japanese translation of Pinax

Pinax on Django looks good, but Japanese translation isn't available. Will try to work on the po file in the source as a good experience for me to go thru a procedure to localize a software using gettext and its related programs.

Here's a memo on procedures to translate the user interface using .po files. (cf. http://bluequartz.org/docs/translate/index-j.html)

$ sudo apt-get install gettext
$ mkdir -p /home/yarrow/translation/pinax/ja
$ cp -R /home/yarrow/pinax/projects/complete_project/locale/en/* /home/yarrow/translation/pinax/ja/
$cd /home/yarrow/translation/pinax/ja

Becauuse django.mo and django.po are both available, no need to do

$ msgunfmt django.mo -o django.po

After editing django.po for Japanese translation, create django.mo by

$ msgfmt django.po -o django.mo

Then,

$mkdir -p /home/yarrow/pinax/projects/complete_project/locale/ja
$ cp /home/yarrow/translation/pinax/ja/*.mo  /home/yarrow/pinax/projects/complete_project/locale/ja
• Wrote Teru at 21:10 (edited 2×, last on 12 Nov 2008) | read 41× | Add comment

Comments (0)

No comments for this article yet.

Write a comment

Your name  
E-mail   (only visible for blog owner)
Homepage
How much is 6−4?   (protection against spam-bots)
Text:

[b] [i] [u] [tt] [center] [code] [quote] [url] [url=] [img] [@] [@@] [@:]
detailed help about markup
Process times: page=0.011 request=0.027 cpu=0.030