View Single Post
Old 08-03-2011, 04:24 AM   #3
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,412
Karma: 821648
Join Date: Jan 2010
Location: France
Device: Many android devices
You can do this using two calibre configurations, where each configuration specifies a different language and library. You can specify a configuration by setting an environment variable before starting calibre. See "calibre-portable.bat" in the resources folder for full documentation.

I have 5 different configurations (my production library and 4 for debug & development). Each one has an associated .bat file. For example, my production version prod.bat file contains
Code:
set CALIBRE_CONFIG_DIRECTORY=C:\CBH_Data\My Dropbox\Charles\config_production
calibre-debug -g
The .bat files use calibre-debug -g because I always want to see debug output. You might choose to use "calibre".
chaley is offline   Reply With Quote