On Tue, Apr 25, 2006 at 09:40:41AM +0100, Alastair McKinstry wrote: > Hi, > > Thanks for the interesting patch. Sorry about the delay in replying. > I've been looking at the patch, but how do you see it being used ? > That is, the data is used at the moment by UI code doing drop-down > lists, presenting a list of countries, and normally returning a country-code > to the program for internal use; how would this data be different?
I'll try to clarify it better with an example. Please have a look at the attached screenshot. This screen is what you see in d-i after you select "Catalan" in the first question. Possible answers are Andorra (ca_AD), Spain (ca_ES), France (ca_FR) and Italy (ca_IT). While it is technicaly true that Catalan is spoken in Italy, it is only in a small town in Sardinia (L'Alguer) where this happens. However, in this case we're only targetting users in that town (if it wasn't because of l'Alguer, this option wouldn't be here at all!). For clarity, it is preferrable if users are asked if they live in "L'Alguer (Italia)" than just if they live in Italy. Of course, when referring to Italy in general context, we use "Italia". That's why we need a different identifier to avoid messing with the standard country name. A similar thing happens with the small Catalan-speaking region in France. We Catalans call this region "Catalunya Nord" (northern Catalonia). Since the installer is referring to this region of France, _not_ France as a whole, it's better to identify it as "Catalunya Nord (Franca)". > and why not just use ISO-3166-2 instead? Two reasons: - These codes describe government administrative divisions, which aren't the same as language frontiers (and in most cases they're grossly different). - ISO-3166-2 would add more information than we need. For ca_FR or ca_IT, it is enough to tell the installer that we live in France or Italy. My concern is only about improving the debconf template so that it asks the same thing, but in a way that is closer to our end user and easier to understand. -- Robert Millan
shot.png
Description: Binary data