[QBzr][MERGE] i18n: support for translations of QBzr interface

Lukáš Lalinský lalinsky at gmail.com
Sat Oct 6 09:51:55 BST 2007


On 10/5/07, Alexander Belchenko <bialix at ukr.net> wrote:
> Hi Lukas,
>
> This is final version of my patch for translation support of QBzr interface.
> POT file and PO-translations placed by default to "po" subdirectory.
> Compiled mo-files placed to "locale" subdirectory.
> To generate POT file and update existing PO run command:
> python setup.py build_pot
> To translate PO-files to MO-files run command:
> python setup.py build_mo
> (The latter is the part of full build process, and will be invoked automatically
> for each full build/install operation).
>
> In run-time module bzrlib.plugins.qbzr.i18n try to determine absolute
> path to "locale" subdirectory using his own absolute path. For translations
> used unicode gettext function.

Thanks. I have a few more ideas, but I'll merge this now and add them later.

> I tested this code with incomplete russian translation and it works for me.

Can you please add the translation to po/ru.po?

> I hope you could send to launchpad import request for POT file soon.

I already did yesterday, but I guess it will take a month at best to
get it imported.

Lukas



More information about the bazaar mailing list