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

Re: Country names for Bengali



Quoting Jamil Ahmed (itsjamil@gmail.com):
> After selecting the language: "Bengali - ?????" while using 
> graphical D-I [1], the next screen shows a list of country names [2].
> 
> May I know why "India" is listed above "Bangladesh" for Bengali language?


Political conspiracy or.....alphabetical order? :-)

Sorting the country names in the short lists is done while building
localechooser (actually, this is what makes building localechooser so
long).

It is done by the following code:

      LOCPATH=`pwd` LC_ALL=debian/locales/$lastlocale.UTF-8 sort -k 2.1 $outfile > $outfile.tmp && mv $outfile.tmp $outfile


In short, country names are sorted according to the given language's
locale.

So, what actually sorts India before Bengladesh is the bn_BD locale
collation rules:

>From /usr/share/i18n/locales/bn_BD
title      "Bengali/Bangla language locale for Bangladesh"
source     "Ankur Group, http://www.ankurbangla.org, http://www.bengalinux.org";
address    "Dhaka, Bangladesh"
contact    "Taneem Ahmed, Jamil Ahmed"
.../...
LC_COLLATE
% TODO: Bengali sorting should be added
copy "iso14651_t1"
END LC_COLLATE


Good luck for fixing this...if this needs fixing.







Reply to: