Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 01-03-2013, 04:55 PM   #1
Mdemaillard
Junior Member
Mdemaillard began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2013
Device: Sony PRS-T1
Workaround : Series, ignore multi-language "articles" for sort string

There is a wonderful functionality on the "title" sort string, to ignore pre-leading articles -> "title sort"
On top of it Calibres takes into account the book "language" tag to do it with language-specific accuracy.

There is a similar functionality on the "serie" sort string. -> hidden "serie sort" ?
Unfortunately this "serie sort" doesn't seem to use the "language" tag of each book but only the "default_language_for_title_sort" variable, which by default (None) use the main interface language.

--> Workaround to get "articles-free" sorted series in multiple languages :
go to : preferences - tweaks - Set the list of words considered to be "articles" for sort strings

copy the articles from your languages of interest into the list for your "default_language_for_title_sort" language.

example :
i have mainly english, french and german books, so i care only about the articles for these 3 languages.
my "default_language_for_title_sort" is None
my "main Interface Language" is English
--> the used article list for serie sort will be 'eng'

i copied all french and german articles into the english article list :

'eng': ('A\\s+', 'The\\s+', 'An\\s+', 'Le\\s+', 'La\\s+', "L'", 'Les\\s+', 'Un\\s+', 'Une\\s+', 'Des\\s+', 'De\\s+La\\s+', 'De\\s+', "D'", 'Der\\s+', 'Die\\s+', 'Das\\s+', 'Den\\s+', 'Ein\\s+', 'Eine\\s+', 'Einen\\s+', 'Dem\\s+', 'Des\\s+', 'Einem\\s+', 'Eines\\s+')

This workaround solved my issue, so maybe it can help some other people as well, and why not even motivates somebody with enough technical capacity and time to implement the functionality directly into the code... ;-)

Best Regards, and good reading !

(old thread on same topic) http://www.mobileread.com/forums/sho...d.php?t=165005
Mdemaillard is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
multi-language title sort troubleshooting ElMiko Calibre 4 06-15-2012 02:40 PM
Set the list of words considered to be "articles" for sort strings lousignolo Library Management 8 05-13-2012 06:54 PM
Always same problem Calibre - MacBook Air 11 "Not enough arguments for format string" Beachu Calibre 7 02-19-2011 01:15 PM
Using "Series/VolumeNo" in EPUB to ensure sort order on reader craigmckay Calibre 7 01-18-2010 04:48 PM
"Under the Dome" and the "Apollo 13" workaround challenge! Croker News 16 11-22-2009 03:16 PM


All times are GMT -4. The time now is 09:34 PM.


MobileRead.com is a privately owned, operated and funded community.