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

Re: Bug#404166: portmap: Inconsistent encoding of the Spanish debconf translation



On Sat, Dec 23, 2006 at 02:49:24PM -0300, Alvaro Herrera wrote:
> Huh, I'm trying to test this, and I'm getting rather strange behavior.
> Is dpkg-reconfigure supposed to invoke debconf?  I'm starting it under
> luit in ISO-8859-1 (with LANG set to es_CL, a locale which I explicitely
> built), and while it does display some of the things in spanish (strings
> such as "Cancel", "Ok", and the like), most of the text is still
> displayed in english.

Yes, it's supposed to use the package script's config which, in turn, uses
debconf. The 'Cancel' / 'Ok' are not part of the package's templates. They
are part of i18n in Debconf.

> If I run the same thing under a normal xterm (which I have configured to
> use UTF-8), the text is displayed in spanish.

I guess that the package you are dpkg-reconfiguring has Description_es-UTF-8
in its template. Check out the contents of /var/cache/debconf/templates.dat

> I guess this means that Debconf is not really able to do charset
> conversion of the translations, an issue which AFAICS forces all
> language teams to switch to a "preferred" encoding.

Or to file a bug against Debconf asking it to do exactly that (encode from
UTF-8 to ISO-8859-1 (or -15) for some languages (i.e. those that can be
converted directly, which includes most european languages).

Otherwise, you will be always penalising some users (my default locale is
currently *not* UTF-8 and neither it will be for those that have not
installed sarge but a previous release and upgraded from there).

Who files the (wishlist) bug? :-)

Regards

Javier

Attachment: signature.asc
Description: Digital signature


Reply to: