Automatic import of translations for OpenSatNav project

Asked by Guillaume Rosaire

It's been a while that I imported templates and .po files for project OpenSatNav but even if it seems to work (there are translations in https://translations.launchpad.net/opensatnav/trunk), the templates (strings-template.pot) don't seem to be updated when commited to bzr.

I wonder if it's related to the fact that an import of templates has been made at first by uploading a tarball, maybe with a different directory layout and now that we rely on bzr automatic import, that doesn't work.

I've tried to request a one time import this afternoon but all .po file stay in Needs review

Could you please help me fix this mess ?

My directory structure is as follow :
locale/strings/strings-template.pot
locale/strings/fr.po
locale/strings/en_GB.po
locale/strings/... (a few other .po files)
locale/arrays/arrays-template.pot <- but this template is disabled in lp, he must not be translated

Thanks,
Guillaume

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Guillaume Rosaire
Solved:
Last query:
Last reply:
Revision history for this message
Данило Шеган (danilo) said :
#1

All the files seem to have been imported: is this still a problem?

Do note that automatic approval process sometimes takes a few hours so that's probably what you experienced.

Revision history for this message
Guillaume Rosaire (zerog) said :
#2

Indeed, the .po files have been imported as expected. The problem lies in the fact that the template has not.

In the trunk, the following template contains 223 entries to be translated
http://bazaar.launchpad.net/~opensatnav-admins/opensatnav/release-1.0/annotate/head%3A/locale/strings/strings-template.pot

If you look at what lp shows, there are only 129 entries it knows of (that seems to match a file from may, not the last version available in the trunk)
https://translations.launchpad.net/opensatnav/trunk/+templates

Furthermore, for the .po files to be imported, I had to request a one-time import. That didn't work by default when files are commited to the trunk.

Thanks for your help

Revision history for this message
Jeroen T. Vermeulen (jtv) said :
#3

I don't see anything that should have stopped the template from importing.

It's possible that this was a one-off glitch. Could you try committing and pushing a change to the template? It could be as simple as adding or removing a blank line at the end, as long as Launchpad sees that the file has changed.

Doing that should trigger a fresh import, but if something fails, it should also produce some evidence in our logs.

Revision history for this message
Guillaume Rosaire (zerog) said :
#4

locale/strings/strings-template.pot updated and committed in revision 177 - 15 minutes ago

Revision history for this message
Guillaume Rosaire (zerog) said :
#5

Seems it has been imported this time... I don't understand why that didn't work before, but it seems to be fixed...