Comment 1 for bug 688601

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Hi,

I pushed a branch that should fix these problems. https://code.launchpad.net/~knitzsche/gui-ufw/i18n-l10n-fixes

The branch implements python-distutils-extra for i18n support.

With this branch, there is a po/ directory that contains LANG_CODE.po files and a POTFILES.in file.

The po files were downloaded from LP on 17 Dec. Here's the link: http://launchpadlibrarian.net/60806909/launchpad-export.tar.gz
(Not sure how long that link will be good.)

Note that the branch also provides completed translations for zh_CN (Chinese/Simplified).

When you build the pkg, it creates gufw.mo files for each locale. These are automatically installed in the correct location: /usr/share/locale/LANG_CODE/

You can update translations by replacing the target po file (or po files) and running (from src pkg root dir):
'./setup.py build_i18n -m'

The source pkg still contains a locale-langpack/ directory, but I believe this is no longer referenced or needed and it should be deleted. (This is the directory that contains the .mo files, which should not be included in a source package.)

See merger proposal 44278.

Cheers,
Kyle