Quote:
Originally Posted by Wiggo
It's not a problem for me I only noticed that switching calibre's language causes problems.
My native language is german and switching to english doesn't translate ja/yes, nein/no in the template.
|
No it doesn't, and it never will. Working out what requires auto-translation in a template is a nightmare.
In this case you can use the check_yes_no() function. It doesn't depend on language.
Code:
{:'if check_yes_no('#read', 1, 1, 0) then 'Nicht Gelesen' else 'Gelesen' fi'}
You could also use a column "Text but with a fixed set of permitted values" with "Show Checkmarks" checked. In this case calibre knows to look at translations to choose the checkmark icon but the values remain unchanged for the template.