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
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.
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.
.desktop
files..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.