← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 1048556] Re: Language pack translations export needs to add universe packages to domain map

 

Hi David.

I looked at the script and the model code. The script uses the components argument to filter non-matching components. You don't want to do that. Our 3 cronscripts for language-pack-exporter.py do not pass components  because they want everything.
If a component were passed to the script, the tarball in the librarian would include it in the name. eg. ubuntu-quantal-main-translations.tar.gz

Maybe this issue is just about how we generate mapping.txt. I see it is
created from a simple helper function
iter_sourcepackage_translationdomain_mapping. If it misses the universal
packages, then the mapping will be incomplete, though the actual tarball
will contain them.

I looked at bug bug 788685 and I think I see an incomplete fix. I see
that we can use universal packages in recent series, but
lp.soyuz.model.queue.PackageUploadCustom.publishRosettaTranslations only
accepts main and restricted. I think we want to update it to accept
universe too. The method is responsible for attaching the translation
files in the librarian  to the release.

-- 
You received this bug notification because you are a member of Ubuntu
Translations Coordinators, which is subscribed to Ubuntu Translations.
Matching subscriptions: Ubuntu Translations bug mail
https://bugs.launchpad.net/bugs/1048556

Title:
  Language pack translations export needs to add universe packages to
  domain map

Status in Launchpad itself:
  Triaged
Status in Ubuntu Translations:
  New

Bug description:
  As a follow-up to bug 788685, translations from selected universe
  packages can be now imported to Launchpad and exported to language
  packs.

  However, they are not added to the domain map file (mapping.txt),
  which maps translation domains to source packages. As such, they are
  ignored by langpack-o-matic (the tool that processes that file and
  creates the language packs on the distro side), translations are not
  included in language packs, and the affected applications are left
  untranslated.

  This bug is simply about adding the universe package entries to the
  domain map.

To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad/+bug/1048556/+subscriptions