Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
1  
If I may add something related... it'd be nice to know how to do the same for .desktop files. –  Nathan Osman Dec 5 '10 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. –  andrewsomething Dec 6 '10 at 1:00

2 Answers 2

up vote 4 down vote accepted

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.

share|improve this answer
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? –  Stefano Palazzo Dec 5 '10 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. –  andrewsomething Dec 6 '10 at 1:07

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.

share|improve this answer
    
we just updated the descriptions and synced everything a week ago –  PierreS Apr 26 '13 at 23:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.