On 20.01.2017 13:08, Florian Berger wrote:
Hi,

On 19.01.2017 23:30, RjOllos wrote:
The component list is sorted alphabetically. You can see this in the code,
and on trac.edgewall.org/demo-1.0
Well, look at the screenshot.

http://0x6c2.de/images/2017-trac-components.png

Let me guess:

- Capital ASCII letters in alphabetical order first

- followed by lowercase letters in alphabetical order

- followed by non-ASCII characters.

That would explain it.

As a naive user, my eyes would expect to find "n" between "M" and "P",
i.e. non-case sensitive ordering.

And as a German, I would expect to find "Ö" right after "O" and before
"P", and "Ü" right after "U" and before "V", which is the common
alphabetical ordering for German umlauts.


As this seems to be a matter of taste and I18N - and not necessarily a
bug - is there a way to fix the search order for my requirements,
without hacking into the trac internals?

Or would I need to write a plugin?
In this case the sorting seems to be performed by the SQL database.
Maybe you can configure the SQL database collation?
How to do this depends on the database used.
However I think Trac doesn't support localized collations on MySQL. https://trac.edgewall.org/ticket/10993 And SQLite might not really support configuring a collation easily either, I'm not sure.

Best regards,
Peter

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to