← Back to team overview

bzr-l10n team mailing list archive

Re: [Launchpad-users] Any French, Russian, Lithuanian or Chinese speakers around?

 

Algis Kabaila пишет:
On Sat, 20 Mar 2010 02:28:39 am Alexander Belchenko wrote:
Algis Kabaila пишет:
Alexander,

I've been away from all Launchpad activities for a while because of ill
health.  I would now like to return to it, though at even a slower
pace... My problem is that I have forgotten some really elementary stuff
that most people know in their sleep.  Can you help me to recover:

How do I run a translated explorer from the command line.  I think there
are simple command line instructions to specify any language that has
been translated and stored in a po file to become the language of the
program. For instance, if I want to have Russian text shown in the
Explorer, what commands would I need to specify? Similarly, I will want
to have Lithuanian commands shown by the Explorer, what commands do I
issue to achieve that?
If you already have translations compiled to binary MO format you need
only change the LANGUAGE environment variable and simply start explorer.
So e.g. on Linux it would be (for Russian):

LANGUAGE=ru bzr explorer

or for Lithuanian:

LANGUAGE=lt bzr explorer

If you want to setup some language for some time you can set the
environment variable to required value as:

export LANGUAGE=lt

and then invoke explorer:

bzr explorer

If you're working on the translations and want to test new translated
strings on the fly you have to convert text PO files with translations
to binary MO files first. This could be done with the following command
(run it from explorer working tree root):

python setup.py build_mo

And then you can run bzr explorer with new translations.

HTH
Alexander

Thank you, Alexander! Just the sort of information that I needed to get me moving (at snail pace) again.

Feel free to put such info in the text document and file a merge proposal to include that document into trunk.



Follow ups

References