View Single Post
Old 03-30-2015, 05:38 PM   #1
postground
Junior Member
postground began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2015
Device: Samsung Galaxy Note II
typographic apostrophe and sort

Hi,

I would like to use typographic apostrophe (the curly one) on Calibre instead of typewriter apostrophe, but Calibre can not handle to sort titles correctly for french ebooks.
So I have changed on Preferences the parameter per_language_title_sort_articles like this for the french part:
Code:
'fra': ('Le\\s+', 'La\\s+', "L'", 'L’', 'Les\\s+', 'Un\\s+', 'Une\\s+', 'Des\\s+', 'De\\s+La\\s+', 'De\\s+', "D'", 'D’')
After restart, Calibre has translated parameter's value like this:
Code:
'fra': ('Le\\s+', 'La\\s+', "L'", 'L\xe2\x80\x99', 'Les\\s+', 'Un\\s+', 'Une\\s+', 'Des\\s+', 'De\\s+La\\s+', 'De\\s+', "D'", 'D\xe2\x80\x99')
But if my title is L’ordre des dieux, title sort will be the same instead of ordre des dieux, L’.

I can, of course, edit manualy title sort on metadatas form of the e-book, but the backgroud of the title sort field stays red.

I also have the same problem for authors name and series too.

I use Calibre 2.22 with french language on windows seven.
Language of my e-books are tagged as french on their metadatas.

Please, can anyone help me on sort feature and typographic apostrophe?
postground is offline   Reply With Quote