Markus, I don't think we can put this directly into the core--because different languages would require different sorting routines. And I don't want to support them. Just like language files. They must be extensions.
However it is possible we could put another/different hook somewhere in the sort function--based on the language setting, to try and find any installed language appropriate sort function. Maybe a BOLTsortlangDe for example... I'm also wondering if it shouldn't come somewhere else in the sort routine. For example, Hans plugin won't work if you are sorting by some data variable or p3, when those fields contain utf. Only when it is a generic sort of page names. (It should work with order=reverse, however). For example, line 2070 could look first for a language specific sort routine and/or natcasesort if not found. And then again in line 1977. This would abdicate the need to put sort=de into the search function. And allow you to use any specialized sorting with language based capabilities easily enough. And we could still keep the BOLTsortCustom hook for unusual types of sorting. I'll try and implement this in the next release... Shouldn't be too hard... Cheers, Dan On Wed, Oct 21, 2009 at 2:40 AM, Hans <[email protected]> wrote: >> >> The ordering you used is not "official" (except for phone books). See: >> http://de.wikipedia.org/wiki/Alphabetische_Sortierung#Einsortierungsregeln > > Well, just change the $map array: > change 'ae' to 'a' , 'oe' to 'o', and 'ue' to 'u'. > Then 'ä' and 'Ä' are treated equivalent to 'a' in the sorting rule etc. > > The $map array can be modified and extended to cater for other diacritics > and other language's sorting preferences. > > ~Hans > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
