[email protected]
[Top] [All Lists]

[Xaraya_bugs] [Bug 5498] Sorting country names (the CountryList property

Subject: [Xaraya_bugs] [Bug 5498] Sorting country names (the CountryList property) in localisations
Date: Fri, 21 Dec 2007 13:10:40 +0000 GMT

------- Comment #5 from [email protected]  2007-12-21 13:10 GMT -------
Yes, Hans your solution using usort and some call back function could be the
way to go. I guess this is why the bug has not been addressed so far. It
illustrates some problems with multilanguage and PHP to date.

In most cases I guess, with some consideration for case insensitive sorting, we
could get away with array_multisort for those using utf8 (i think mysql handles
things ok, just php is a prob). One would think that sorting is actually locale
dependent and i'm not sure how we could handle that easily in PHP. I hope
someone with more experience than I in this area might offer some suggestions.
It could be adapted for some more xaraya wide classes perhaps ?

Configure bugmail: http://bugs.xaraya.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

---- ** IMPORTANT ** READ BELOW ** ----
[Clip Me Start]
If you wish, you can reply to this message directly **however**, make sure
to use the "Reply To All" feature of your client **and** ensure that the 
bug specifier is in the subject (ie: [Bug ####]). Also, you _MUST_ have 
you're From or Reply-To address set to the same address you use to log
into your bugzilla account or your reply will not be attached to the bug.
[Clip Me End]
Xaraya_bugs mailing list
[email protected]

<Prev in Thread] Current Thread [Next in Thread>