lute-v3 icon indicating copy to clipboard operation
lute-v3 copied to clipboard

Custom alphabetical order

Open M-Biggles opened this issue 1 year ago • 2 comments

Sometimes languages will be written in some script but have different alphabetical order to other languages with the same script (perhaps with added diacritics).

It would be useful to be able to change the alphabet order in the language settings and then have books and terms sorted by that custom order.

M-Biggles avatar Feb 04 '24 15:02 M-Biggles

Technical note: the terms are stored in the sqlite db and sorted using the utf-8 collation. I don't know how this would be done.

jzohrab avatar Feb 04 '24 16:02 jzohrab

Here the language and writing system identifiers mentioned at https://github.com/jzohrab/lute-v3/issues/231 can help. Also ISO 3166-1 alpha-2 can be applied because different regions have different orders, like Korean.

GrimPixel avatar Feb 12 '24 04:02 GrimPixel