Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-19-2012, 05:58 AM   #1
Joanna
Groupie
Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.
 
Posts: 199
Karma: 76476
Join Date: Feb 2012
Location: Poland
Device: none
Column coloring based on the languae

I've started playing around with column coloring but I can't make the color change dependng on the language.

The rule I use is:
If the languages column has values English

What am I doing wrong? The same basic set-up seems to be working with other categories such as tags or publishers.

// Sorry, this should probably be in Library Management. //

Last edited by Joanna; 02-19-2012 at 06:22 AM.
Joanna is offline   Reply With Quote
Old 02-19-2012, 06:51 AM   #2
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,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Moderator Notice
Moved to library forum as requested
The language column does not contain the English word for the language, but instead contains the ISO 639.2 code for the language. This code is translated to the localized equivalent of the language name when it is displayed.

The easiest (and fastest) way to solve your problem is to use the ISO code in the color expression, in this case "eng". You could also do it using a more complicated template that uses the language_codes function, but I don't see any advantage to this method.
chaley is offline   Reply With Quote
Advert
Old 02-19-2012, 07:26 AM   #3
Joanna
Groupie
Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.Joanna understands the mechanisms of the catecholamine pathways.
 
Posts: 199
Karma: 76476
Join Date: Feb 2012
Location: Poland
Device: none
Thanks, now it works just fine. I felt like it had something to do with the name of language (tried both the English names and the ones in my language version of Calibre, lowcase and uppercase etc.) but didn't think of ISO. Great!
Joanna is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do YOU use column coloring? gweminence Calibre 28 05-04-2012 01:16 AM
Trying to colourize column based on size ... and failing Gary_M_Mugford Library Management 4 03-18-2012 05:46 PM
column colors based on what reading list a book is on? BeccaPrice Calibre 3 01-22-2012 04:29 PM
Column coloring not updated DrChiper Library Management 2 01-19-2012 06:11 AM
Trouble with column coloring redawgts Calibre 2 10-09-2011 03:13 AM


All times are GMT -4. The time now is 06:21 PM.


MobileRead.com is a privately owned, operated and funded community.