How to export translated messages from Launchpad? (Re: i18n test environment on Lauchpad staging.
Martin Pool
mbp at canonical.com
Tue May 17 14:51:02 UTC 2011
On 16 May 2011 13:29, INADA Naoki <songofacandy at gmail.com> wrote:
>> Launchpad can export into a bzr branch, which seems like a good fit. I
>> think we should let it commit the .po files into a branch that gets
>> merged into bzr trunk, and then compile them into .mo files at
>> distribution / package build time.
>>
>> https://help.launchpad.net/Translations/YourProject/Exports
>
> On that URL,
>
>> Directory layout
>> In the branch, each translation file will have a normalised name (de.po for a German translation, zh_CN.po > for Simplified Chinese, eo.po for Esperanto, and so on). Each translation sits in the same directory where > its template was located on import.
>
> That's what I wanted to know. It's very nice.
>
>>> If build_mo command is needed, I'll copy it from bzr-explorer.
>
> I've sent merge request adding build_mo command.
> https://code.launchpad.net/~songofacandy/bzr/i18n-msgfmt/+merge/61082
Thanks for that.
Can you explain for me a bit about why the build_mo command is needed,
rather than using externally available i18n tools? Is it just that
they are hard to install or get running on Windows?
Martin
More information about the bazaar
mailing list