Regarding exports to a bzr repo

Asked by poy

hi,

i want to activate the excellent new feature that exports translations to a Bazaar repository, but before i do that, i have the following questions:

1) how are new languages handled? does the script add the file to the corresponding dir in the repo, and run "bzr add"? or will i have to download the .po file of the newly created translations by myself and commit it?

2) does the script also make an empty commit when there have been no changes to any translation file? in a project i'm in, most translators chip in right before we are about to release, after we upload a new template; but in-between 2 releases, most translations can stay frozen for weeks. moreover, our commit activiy is not always high, so i can imagine that daily commits would be quite a spam. however if these commits could only happen when there actually is an update to a translation, that would be great.
alternatively, could there be a one-time export button, like the one-time import button? so we would just hit it once before producing a release.

3) i read in the blog post that the file in the repo is over-written by the one Rosetta imports into it. this is aggressive; could the script run a msgmerge command instead?

thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Jeroen T. Vermeulen
Solved:
Last query:
Last reply:
Revision history for this message
Best Jeroen T. Vermeulen (jtv) said :
#1

Hi, not much time now but I'll try to cover all of these very quickly:

The script adds the files itself. It's fine to start with an empty branch (as long as the branch actually exists, of course).

At the moment the script commits every file every time. We'll fix that later.

There are no plans for an export-once button; just enable it, then disable when you have your files.

If you want a msgmerge, export to a separate branch and do the merging yourself. That way your users also don't get a large number of commit messages.

Jeroen

Revision history for this message
poy (poy) said :
#2

Thanks Jeroen T. Vermeulen, that solved my question.