[maemo-developers] Translating "Description" field in debian/control

From: Cornelius Hald hald at icandy.de
Date: Mon Jan 4 22:17:59 EET 2010
On Mon, 2010-01-04 at 17:18 +0100, Cornelius Hald wrote:
> On Mon, 2010-01-04 at 12:08 -0400, Anderson Lizardo wrote:
> > 2010/1/4 Cornelius Hald <hald at icandy.de>:
> > > Hi,
> > >
> > > I'm trying to provide a localized package description in debian/control.
> > > I was finding this[1] document. Is it still valid? Because somehow it's
> > > not working. (Only tested with Fremantle)
> > >
> > > It looks like something strips out the additional fields. E.g. in my
> > > original control file I have lines like:
> > > Description-de_DE: German description here
> > > Description-fi_FI: Finish description ....
> > 
> > On the document you sent the URL, it says:
> > 
> > "The way to get these fields into your .deb files is to include them
> > with a XB- prefix in your debian/control file, see the Debian Policy
> > Manual, section 5.7."
> > 
> > So I *think* (I never tried), that you should use:
> > 
> > XB-Description-de_DE
> > XB-Description-fi_FI
> > 
> > and so on. The "XB-" prefix will be removed automatically by dpkg-gencontrol.
> 
> Hmm, interesting :) Now that you mentioned it I can see that the
> document is also revering to "Maemo-Icon-26:" without "XB-". It looks
> like I was not reading carefully enough...
> 
> I'll give it a try! Thanks for your answer!

That did the trick. Thanks again! Now I'll have to see how I can create
those fields out of the .po file.

@Andre: I've also updated the bug.

Cheers!
Conny


More information about the maemo-developers mailing list