09-20-2014, 02:52 PM | #1 |
Addict
Posts: 262
Karma: 110864
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD, kindle paperwhite
|
Kobo: same title / different language
Hi,
(Not quite sure where to post this question... is it only linked to my device - Kobo - and to my plugin - Kobo touch extended 2.2.20 and Kobo Utilities 1.7.3) When I select files which differ only by the language, only one of them is sent to the device. Examples:
How to send to device books with the same title and same author but in different language? Maybe someone can share his technique... I tend to insert the language code in the title, which is a bit strange (maybe adding the name of the translator in the author list could also be a "solution"). Feature request Is there a way to have Calibre (through the plugin I guess) to deal with the languages the same way it deals with the series... adding at least the language code to the library browser list (maybe on the right hand side)? Regards François Last edited by fxp33; 09-20-2014 at 03:05 PM. Reason: typo Henri to Henry |
09-21-2014, 01:09 AM | #2 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
You can get the first part of what you want using the save template in the driver configuration. By adding the language into the template and hence the file name, the books will be differentiated on the device. Something like:
Code:
{author_sort}/{title} - {authors}{languages:language_codes()| - |} Code:
HERBERT, Franck\Dune - Franck HERBERT - eng.epub Code:
{title}{languages:language_strings()| (|)} Code:
Dune (English) |
Advert | |
|
09-21-2014, 11:33 AM | #3 |
Addict
Posts: 262
Karma: 110864
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD, kindle paperwhite
|
Hi DavidFor,
Thank you very much for taking the time to answer and giving me the precious codes to achieve that. Shame that Kobo didn't give us the opportunity to fill the right hand side of the library list. Regards François |
05-06-2015, 04:34 AM | #4 | |
Librarian
Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
|
Quote:
|
|
05-06-2015, 08:25 AM | #5 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Code:
{title} {languages:'in_list($, ",", "fra", "", $)'| - |} |
|
Advert | |
|
05-06-2015, 08:58 AM | #6 | |
Librarian
Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
|
Quote:
In KoboTouch, I tried : {author_sort}/{title} {languages:'in_list($, ",", "fra", "", $)'| - |} - {authors} |
|
05-06-2015, 09:50 AM | #7 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
05-06-2015, 10:18 AM | #8 | |
Librarian
Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
|
Quote:
{series}{series_index:0>2s| - | - }{title} for the title {series}{series_index:0>2s| - | - }{title} for the title_sort can I add a third line "{title} {languages:'in_list($, ",", "fra", "", $)'| - |}" for the title or mixing the line for something like {series}{series_index:0>2s| - | - }{title}{languages:'in_list($, ",", "fra", "", $)'| - |} ? |
|
05-07-2015, 12:10 AM | #9 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
You want the last one. You need to extend your current plugboard for the title to add the language. That code should give you something like:
Quote:
|
|
05-07-2015, 01:06 AM | #10 |
Librarian
Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
|
It's working. Thanks a lot for pointing me out to the template tester !
|
05-07-2015, 07:35 PM | #11 |
Addict
Posts: 262
Karma: 110864
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD, kindle paperwhite
|
Hi guys,
Thank you for resuscitating this thread @Cramoisi : with all your experiments with functions, if and ifs, and the advice from DavidFor, I hope you will produce a nice summary as tutorial Regards (I will try to follow ) François |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
<language> and <title> element | daveconifer | Sigil | 2 | 07-30-2014 01:26 PM |
Template language uses title_sort instead of title | eMole | Calibre | 2 | 03-11-2014 07:22 AM |
Catalog, sort sequence for Title in german language | Divingduck | Library Management | 1 | 07-06-2012 08:33 AM |
multi-language title sort troubleshooting | ElMiko | Calibre | 4 | 06-15-2012 02:40 PM |
Title language of added books | panovvladislav | Calibre | 2 | 03-25-2012 06:50 AM |