Comment 10 for bug 1072828

Revision history for this message
Gabor Kelemen (kelemeng) wrote :

This happens because of the fix of the above mentioned bug was not perfect:
http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-release-upgrader/trunk/revision/2574#DistUpgrade/DistUpgradeMain.py

Here we can see that the gettext.bindtextdomain and gettext.textdomain calls are inside of the 'if' branch.
This is wrong, these should be called anyways, and only the localedir should depend on the datadir option (I have a gut feeling that the current working directory + mo isn't good either - ./setup.py build_i18n puts the mo files into build/mo. But this is offtopic here, and didn't tested it much.).

I'll propose a branch, which results in this nicely localized screen. Also bug 1059641 is solved by it too, as those strings are coming from the same file as these - but they disappeared too quickly and I couldn't make a screenshot. So I'll just mark that bug as a duplicate.