Are symlinks in branches imported?

Asked by Torsten Bronger

As you can see at <https://translations.launchpad.net/django-refdb/trunk/+imports>, the language translation files are not automatically imported for the project Django-RefDB. Moreover, Rosetta took files at the unusual places "en/LC_MESSAGES/django.po", which is probably the reason why manual review was triggered.

However, as you can see at <http://bazaar.launchpad.net/~bronger/django-refdb/main/files/head%3A/django_refdb/refdb/locale/>, I created symbolic links in the branch in order to obey to Rosetta's naming conventions. Does Rosetta ignore symbolic links, or is due to the fact that the POT files were uploaded manually?

How shall I proceed? Would an inversion of the symlink direction help?

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
Данило Шеган Edit question
Last query:
Last reply:
Whiteboard:
al-maisan; Wed, 25 Nov 2009 17:03:44 +0100 assigned to the translations team.
Revision history for this message
Henning Eggers (henninge) said :
#1

Yes, mixing manual upload with upload from bzr branches is not a good idea. The po files are associated with the template (pot) which is in the same directory but manual upload of single files does not preserve the path. So, yes, that is why the files cannot be approved automatically. I can fix that, though, and add the correct path to the already imported templates.

It is possible that symlinks are excluded when the branch is scanned to avoid uploading a file twice, as would happen in your case. I'd have to check that, though. Or you can, Launchpad is open source .. ;-)

The solution would be to link the other way round - put the file in the top-level directory and link to it from the LC_MESSAGES directory.

Henning

Revision history for this message
Henning Eggers (henninge) said :
#2

I changed the paths of the templates like this:

django_refdb/refdb/locale/refdb.pot
django_refdb/chantal_common/locale/chantal_common.pot

Can you help with this problem?

Provide an answer of your own, or ask Torsten Bronger for more information if necessary.

To post a message you must log in.