update the Japanese translation and template
add pygettext.py from python-tools for convenience