I tried to release nb 6.x-1.x-dev but it gave me an error message after the packaging scripts run.

Packaging error messages

* ERROR: nb translation does not contain a nb.po file for version 6.x-1.x-dev, not packaging

HEAD has the same type of error message because those are the same files. I believe that this is because of filenaming. In readme.txt of the translation templates, it is stated that:

Drupal 6 comes with automated translation file import, so the translation
source strings are organized by location. For the translations to be imported
automatically, translated templates should be renamed for the translations such
as (for example in Italian):

- general.pot to general.it.po
- themes-garland.pot to themes-garland.it.po
- ...

So I renamed all my files like "general.nb.po" and "themes-garland.nb.po".

By checking the dev files for the french translations. They have not added the extension .fr.po to their translation files and their files were packaged successfully.

So, is this a bug because the packaging scripts does not recognize the new renaming conventions of translation files for Drupal 6? or is it readme.txt of the translation templates which is wrong?

I don't know if this is a bug report or a support request, actually.

---------------
John

Comments

dww’s picture

Status: Active » Closed (duplicate)

http://drupal.org/node/207401

But, speaking of which, we should inform translators not to try tagging and releasing D6 translations until that's done.

dww’s picture

johnnoc’s picture

Just pasting here the message I sent to the translations mailing list:

This message should have been out when the translation templates for D6 were published. There are some of us who are very eager in releasing translation files for development, and since we weren't informed that the packaging scripts aren't ready yet, we have already tagged and published a release (tried anyway) of the D6 core traslation files.

Anyway, in addition to informing translators in the mailing list, I think that this important message should also be stated in the
readme.txt of the D6 translation templates.
Something like:
"The packaging scripts are being modified to accomodate the new naming
conventions as of time of writing. In the meantime, do not attempt to
tag an official release of your core translations for D6. Please check
http://drupal.org/node/207401 for the status of this issue."

Personally speaking, I would have not tagged and tried to release our files if we were informed earlier about this issue. Well...sorry for giving Derek and Gabor unnecessary and extra work.

(Ref: http://lists.drupal.org/pipermail/translations/2008-January/000528.html)