bzr-l10n team mailing list archive
-
bzr-l10n team
-
Mailing list archive
-
Message #00027
Re: [Launchpad-users] Any French, Russian, Lithuanian or Chinese speakers around?
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
Follow ups
References
-
Any French, Russian, Lithuanian or Chinese speakers around?
From: Ian Clatworthy, 2010-02-21
-
Re: [Launchpad-users] Any French, Russian, Lithuanian or Chinese speakers around?
From: Кабаков Александр Сергеевич, 2010-02-21
-
Re: [Launchpad-users] Any French, Russian, Lithuanian or Chinese speakers around?
From: Alexander Belchenko, 2010-02-26
-
Re: [Launchpad-users] Any French, Russian, Lithuanian or Chinese speakers around?
From: Algis Kabaila, 2010-03-19