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

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



Javier Fernández-Sanguino Peña wrote:
> On Sat, Dec 23, 2006 at 12:37:07PM +0100, Christian Perrier wrote:
> > > Maybe it's time to set utf8 as mandatory for translations as a policy?
> > 
> > I think that it's up to each team to do this. FYI, the French team
> > will did this and, for lenny, we will send all our updates in
> > UTF-8. However, I don't think we will be proactive and switch all PO
> > files to UTF-8 (there's not benefit for doing this....except not
> > breaking Pootle..:-))
> 
> Does Debconf present the user strings which are encoded in ISO-8859-1 if his
> locale is UTF-8 (or viceversa)? At least podebconf-display-po cannot handle
> this itself and I think debconf doesn't either (for templates that are
> defined as Description-es.iso-8859-15, which are those with accents, others 
> are defined as Description-es in the templates file)

The regular gettext correctly handles character conversion.  I don't
know about Debconf though, but does it not use gettext?  That would be
strange (not to mention pointless).

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.

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

-- 
Alvaro Herrera                               http://www.PlanetPostgreSQL.org/
Voy a acabar con todos los humanos / con los humanos yo acabaré
voy a acabar con todos / con todos los humanos acabaré (Bender)



Reply to: