View Single Post
Old 12-03-2010, 10:27 AM   #15
Coleccionista
Connoisseur
Coleccionista is a marvel to beholdColeccionista is a marvel to beholdColeccionista is a marvel to beholdColeccionista is a marvel to beholdColeccionista is a marvel to beholdColeccionista is a marvel to beholdColeccionista is a marvel to beholdColeccionista is a marvel to beholdColeccionista is a marvel to beholdColeccionista is a marvel to beholdColeccionista is a marvel to behold
 
Posts: 73
Karma: 11638
Join Date: Aug 2010
Location: Spain
Device: iPad, Kindle Paperwhite, Kobo Libra 2
The idea I tried to convey was that you have all locale queries created:

Example:
Code:
SELECT * FROM authors ORDER BY name COLLATE POLISH;
SELECT * FROM authors ORDER BY name COLLATE SPANISH;
SELECT * FROM authors ORDER BY name COLLATE FRENCH;
.............
When you install calibre you select a language so from them on the queries launched against the database would use the language collation that you are using in the interface. It seems quite logic.

To summarize, is this SQLite/database-based approach possible?

Code:
calibre_lang = German // Or English, or korean, or whatever
db_query = SELEC foo, bar, baz ... whatever COLLATE $calibre_lang
Coleccionista is offline   Reply With Quote