View Single Post
Old 11-07-2012, 12:32 PM   #8
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,734
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by annoporci View Post
I also wanted to add language to the file name.

Based on what I read there: http://manual.calibre-ebook.com/temp...codes-localize, I tried:

{authors}/{authors} - {title} - {language_strings(lang_codes, localize)}

Based on intuition, I also tried:

{authors}/{authors} - {title} - {language}
In single function mode use
Code:
{authors}/{authors} - {title} - {language:language_strings(1)}
In template program mode use
Code:
{authors}/{authors} - {title} - {0:'language_strings(field('languages'), 1)'}
chaley is offline   Reply With Quote