Wrong/Unnecessary Title Sorting of Polish Titles Begninning with Word "A"

Bug #1959220 reported by aaa aaa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

Hi,
I have noticed lately, that polish titles are beeing sorted in the same way like english titles, i.e. "A" is moved back.
Like "A Book of Books" is listed under "B", becasuse it is "Book of Books, A" now.
Sorting polish titles this way is wrong, because "A" is a word.
So "A gdyby tak..." should remain under "A" . No one will look for it under "G".
Regards
Dominik Molenda

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1959220

I dont know Polish, but if you give me a list of articles/words that
should be moved to the end for that language I can add it to calibre.
Then books with the Polish language will use that list to generate title
sort. And note that you can manually fix the title sort for any book in
the edit metadata dialog in calibre.

 status incomplete

Changed in calibre:
status: New → Incomplete
Revision history for this message
Charles Haley (cbhaley) wrote :

Also make sure that the language entered in calibre for the book is correct. If the entered language is "English" then calibre will use English rules to generate the title sort.

Revision history for this message
aaa aaa (brserek) wrote :

Hi,
I have always "polish" as language in Calibre.
I didn't enter solution at my bug report, because of course everybody speaks fluently polish :)
But since not: polish titles require no sorting of any kind. They should be listed just like they are written.
Regards

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: Incomplete → Fix Released
Revision history for this message
aaa aaa (brserek) wrote :

Hi again,
updated today to calibre 5.36 (Kubuntu 20.04) and the sorting problem is still there.
I created a screenshot to show the problem. Field Titelsortierung (I live in Germany) with an "A" in front is right and should be green framed. Instead it is automatically changed to "co ja mam...?, A", which is wrong.
The language of the book (Sprachen) is polish (polnisch).
Just to make it clear - polish titles can begin with "A", "I", "W", "O" and some other single letter words. They're polish single letter words, not articles like "the " or "der".
Titles beginning with single letter words other than "A" a being already sortet right, probably because they're not articles in other languages.
Regards

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1959220

That was my mistake I forgot to also add support for empty lists of sort
prefixes. Fixed by: https://github.com/kovidgoyal/calibre/commit/b4e6ae8c2b872d5e43235cc3e4f85c50e480a905
which will be in the next calibre release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.