[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I18n of Packages files



On Wed, 20 Sep 2000, Jason Gunthorpe wrote:
> > I don't understand why dpkg isn't fully i18n? Some time ago I've sent a
> > patch which made i18n for field names. I.e. 
> > $ LANG=pl_PL dpkg -s dpkg
> 
> GAH! That's fully evil.
> 
> Every wonder why things like HTTP and FTP don't have internationalized
> versions? :P

I though about dpkg's output. This output is used i.e. by dselect.
Of course some programs need the field name in native version, but
we can add another switch to dpkg.

My proposition:

dpkg --lang=pl_PL -s dpkg (could be equivalent of LANG=pl_PL dpkg...)
Pakiet: dpkg
Istotny: tak
Opis: System pakietów Debiana
 Ten pakiet zawiera programy ..............
...

dpkg --lang-description=pl_PL dpkg (this could be for piped processing)
Package: dpkg
Essential: yes
Description: System pakietów Debiana
 Ten pakiet zawiera programy .............. 
...

-- 
Piotr Roszatycki | SD Specialist
Internetia Telekom Sp. z o.o.
Netia Holdings S.A. | PL 00-822 Warszawa, ul. Poleczki 13
tel. +48 (22) 648 45 00 wew. 2068



Reply to: