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

Bug#563861: marked as done (localechooser: Maybe ask preferred locale in more cases?)



Your message dated Wed, 13 Jan 2010 06:47:08 +0000
with message-id <E1NUx0W-0006Wf-QX@ries.debian.org>
and subject line Bug#563861: fixed in localechooser 2.23
has caused the Debian Bug report #563861,
regarding localechooser: Maybe ask preferred locale in more cases?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
563861: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563861
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: localechooser
Version: 2.21
Severity: wishlist

There is one use case currently not covered by localechooser that arguably 
should be covered, though IMO only at medium priority.

This use case is as follows.
A user is from England, but working in Australia. So he selects English as 
language and Australia as country. Currently he will automatically get 
en_AU.UTF-8 as locale.

Question is: should he have the option to select en_GB.UTF-8 as preferred 
locale? After all, a Brit working in Germany gets that option, so why not 
a Brit working in Australia.

As I'm not sure whether this complication is really needed, I'm only 
attaching the simple (but untested) patch needed to implement it instead 
of committing it.

With this patch the preferred locale question will be asked
- at high priority for the English/Germany case (default: en_US.UTF-8)
- at medium priority for the English/Australia case (default: en_AU.UTF-8)

Showing the dialog at medium prio in the second case seems to me consistent 
with the rest of localechooser: we should not bother Australians living in 
Australia with this question during default installations. 

--- localechooser	(revision 61935)
+++ localechooser	(working copy)
@@ -759,12 +759,16 @@
 		db_settitle localechooser/title/locale
 
 		askedpreflocale=
-		if [ -z "$locale_preseeded" ] && [ "$use_lang" ] && \
-		   ! has_choice $tpl_shortlist $COUNTRYCODE; then
+		if [ -z "$locale_preseeded" ] && [ "$use_lang" ]; then
 			build_preferredlocale_choices $LANGUAGE $LOCALE
 
+			preflocale_prio=high
+			if has_choice $tpl_shortlist $COUNTRYCODE; then
+				preflocale_prio=medium
+			fi
+
 			db_capb backup align
-			db_input high $tpl_preferredlocale || [ $? -eq 30 ]
+			db_input $preflocale_prio $tpl_preferredlocale || [ $? -eq 30 ]
 			askedpreflocale=1
 		fi
 		;;



--- End Message ---
--- Begin Message ---
Source: localechooser
Source-Version: 2.23

We believe that the bug you reported is fixed in the latest version of
localechooser, which is due to be installed in the Debian FTP archive:

localechooser_2.23.dsc
  to main/l/localechooser/localechooser_2.23.dsc
localechooser_2.23.tar.gz
  to main/l/localechooser/localechooser_2.23.tar.gz
localechooser_2.23_amd64.udeb
  to main/l/localechooser/localechooser_2.23_amd64.udeb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 563861@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frans Pop <fjp@debian.org> (supplier of updated localechooser package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 13 Jan 2010 07:30:30 +0100
Source: localechooser
Binary: localechooser
Architecture: source amd64
Version: 2.23
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Frans Pop <fjp@debian.org>
Description: 
 localechooser - choose language/country/locale (udeb)
Closes: 563861
Changes: 
 localechooser (2.23) unstable; urgency=low
 .
   * Also allow selection of a "preferred locale", but only at medium priority,
     when the user selects a combination of language and country for which a
     locale is defined if multiple UTF-8 locales exist for the language.
     Closes: #563861.
   * Change priority of questions re. selection of additional locales to low.
     The selection of "raw" locales requires significant understanding of their
     meaning and has become less relevant than it used to be.
 .
   [ Updated translations ]
   * Bulgarian (bg.po) by Damyan Ivanov
   * Czech (cs.po) by Miroslav Kure
   * German (de.po) by Holger Wansing
   * Esperanto (eo.po) by Felipe Castro
   * Finnish (fi.po) by Esko Arajärvi
   * French (fr.po) by Christian Perrier
   * Japanese (ja.po) by Kenshi Muto
   * Dutch (nl.po) by Frans Pop
   * Polish (pl.po) by Bartosz Fenski
   * Portuguese (pt.po) by Miguel Figueiredo
   * Russian (ru.po) by Yuri Kozlov
   * Slovak (sk.po) by Ivan Masár
   * Slovenian (sl.po) by Vanja Cvelbar
   * Swedish (sv.po) by Daniel Nylander
   * Turkish (tr.po) by Mert Dirik
Checksums-Sha1: 
 84d0274d0dbcd83c877896c8acde2a57c7bc5048 993 localechooser_2.23.dsc
 3af455c725d0c13ca06dbabc2b333769a744b7a9 166541 localechooser_2.23.tar.gz
 122446d3f8e030301f50d8cc5ee3b7835bd97285 201834 localechooser_2.23_amd64.udeb
Checksums-Sha256: 
 e734a48ab9cdaa1766a2256914ecd9d590113464008c74a732db84ac94742130 993 localechooser_2.23.dsc
 c906bc5e4d93f21948abf9c79cd3dc5c9e450a23ab7175909f01f70ab8ff7265 166541 localechooser_2.23.tar.gz
 eace9b3a297a606af904ccc42d67dd3490a963f244d9df14fb6dabd26c4aa6af 201834 localechooser_2.23_amd64.udeb
Files: 
 eb7503a1437767afd4bb1334348f3f33 993 debian-installer optional localechooser_2.23.dsc
 b22690a781635abaf8ee3a751b87dcd2 166541 debian-installer optional localechooser_2.23.tar.gz
 2018aa601b884d4fd4e52d86bbde3671 201834 debian-installer optional localechooser_2.23_amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAktNaoYACgkQgm/Kwh6ICoRn/gCfYQtoMzANNqz5Cz3iEyUX1Vw+
sokAn1Wk5K186dvN7aavlkEibwfzOpOw
=8mcY
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: