Subject: debconf: Choices field may sometimes be sorted according to translated values
Date: Wed, 20 Nov 2002 10:21:46 +0100
Package: debconf
Version: 1.0.32
Severity: wishlist
Hi,
when displaying list of country names, languages, cities, etc. it is
very inconvenient to see translated entries sorted according to their
English names; frontends should be told to change display order.
Denis
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux imacs 2.4.18-386 #2 Sun Apr 14 10:38:08 EST 2002 i586
Locale: LANG=fr, LC_CTYPE=fr_FR
Versions of packages debconf depends on:
ii fileutils 4.1-10 GNU file management utilities
ii perl-base 5.6.1-7 The Pathologically Eclectic Rubbis
Subject: Sorting options is really important in long lists.
Date: Mon, 31 May 2004 18:09:00 -0300
severity 169868 normal
thanks
As it's been noted before, not being able to sort options with the
translated criteria is a real drawback of debconf.
In case of non-latin languages, where the translation differs
significantly from the English version, it's a complete mess of options
with no order at all.
I'm raising the severity of the bug due to Konstantinos request. I hope
it can be fixed.
--
Love,
Marga.
Margarita Manterola wrote:
> As it's been noted before, not being able to sort options with the
> translated criteria is a real drawback of debconf.
>
> In case of non-latin languages, where the translation differs
> significantly from the English version, it's a complete mess of options
> with no order at all.
>
> I'm raising the severity of the bug due to Konstantinos request. I hope
> it can be fixed.
I sppose one way to do this would be to add a new field to the template,
which turns on sorting. Of course this needs to happen in cdebconf too.
--
see shy jo
Subject: Re: Bug#169868: Sorting options is really important in long lists.
Date: Tue, 1 Jun 2004 08:12:02 +0200
On Mon, May 31, 2004 at 09:30:13PM -0300, Joey Hess wrote:
> Margarita Manterola wrote:
> > As it's been noted before, not being able to sort options with the
> > translated criteria is a real drawback of debconf.
> >
> > In case of non-latin languages, where the translation differs
> > significantly from the English version, it's a complete mess of options
> > with no order at all.
> >
> > I'm raising the severity of the bug due to Konstantinos request. I hope
> > it can be fixed.
>
> I sppose one way to do this would be to add a new field to the template,
> which turns on sorting. Of course this needs to happen in cdebconf too.
There are 2 distinct cases: sorting can be done at run-time or hardcoded
into templates files. The former was implemented in cdebconf 0.48
and the latter in cdebconf 0.54 (at the same time, run-time sorting
support had been removed), see changelog for details.
The situation with debconf is a little bit different since locales are
installed when debconf is run, so run-time sorting can be done. But
the Listorder field added in cdebconf 0.48 has a minor glitch, an
exclamation mark was prepended to entries which are not sorted, and a
comment in PO files was supposed to tell translators how to deal with
such entries. It seems that translators do not always understand such
comments, so a better idea would be to add another field to list
items which do not have to be sorted, e.g.
Listorder: lexicographic
_Choices: ${FOO}, !Other[ You only have to translate Other, remove the exclamation mark and this comment between brackets]
may be replaced with
Listorder: lexicographic
_Choices: ${FOO}, Other
Listunsorted: Other
Denis