10

How can I translate the contents of debian/control in debian packages so that the Information will be localised when the package is shown in the Software-Centre?

  •   for packages in Ubuntu

  • for single .deb packages

  • for packages in PPAs

2
  • 1
    If I may add something related... it'd be nice to know how to do the same for .desktop files. Dec 5, 2010 at 22:19
  • .desktop files contain the translations directly in the file. See Exaile's as an example: paste.ubuntu.com/540133 There are some build system tricks that can be used to merge the info in from .po files. python-distutils-extras provides helpers for python. Take a look at some of the GNOME packages for autotools examples. Dec 6, 2010 at 1:00

2 Answers 2

4

The meta-information for the applications shown in Software-Center is provided by the app-install-data package. The title and short description can be translated through app-install-data's Rosetta page on Launchpad. I'm not sure if it is possible to submit a translation for the packages's long description.

2
  • 1
    Does that mean that package information in my PPA, or in a single package that I offer for download somewhere, can't be translated for Ubuntu? Dec 5, 2010 at 23:26
  • Hmm... That's a good question. I suppose you could provide an app-install-data-myppa package with the needed info. Canonical provides an app-install-data-partner package in their "partner" repository. Obviously that doesn't seem ideal. Hopefully someone else might have a better answer. Dec 6, 2010 at 1:07
3

Here is another possible solution:

With Nightmonkey you can easily find every piece of the package description. Yes, this page links to the Launchpad translations page.

There aren't frequent updates on the official repositories, so be patient.

1
  • we just updated the descriptions and synced everything a week ago
    – PierreS
    Apr 26, 2013 at 23:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .