View Single Post
Old 11-07-2012, 12:32 PM   #8
chaley
"chaley", not "charley"
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: 5,653
Karma: 1137414
Join Date: Jan 2010
Location: France
Device: Many android devices
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