On Oct 22, 11:16 pm, The Editor <[email protected]> wrote:
> On Thu, Oct 22, 2009 at 1:08 PM, Markus <[email protected]> wrote:
>
> > On Oct 22, 6:47 pm, The Editor <[email protected]> wrote:
> >> * Added easy plugin support for language specific sorting routines.
>
> > Is this documented already?
>
> Just in the plugin page...
>
> http://www.boltwire.com/index.php?p=solutions.search.sort_de

Great, it's working. Although it would be more BoltWire-like to only
install one file for each language. Is it a bad idea to convert the
sort_de function to something like sort_custom, put it in the core (as
it's then generic for all languages, and could even be used for custom
sorting of fancy utf-8 symbols) and let it read the actual ordering
from site.language.xx?

In site.language.xx a simple syntax could be used to define for
example how umlauts are treated:
ä -> a (read: ä becomes a for comparison)
ü -> u
ö -> o

And/or define after which character they should be listed:
ä <- a (read: ä comes after a)
ü <- u
ö <- o

This way you only had site.language.xx to describe the whole custom
language properties. And for a multi-lingual installation you would
not need to install various plugins that basically work exactly like
each other. Am I the only one who thinks this is lots of redundancy
and less the "BoltWire way"?

Regards, Markus
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to