New LanguageCodeToHumanReadableString function in templates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Charles Haley |
Bug Description
As discussed an explained here: http://
Even before 0.8.15, I had two language fields in my database (one for its language an another one for its original language) and even a third one with a comparison through strcmp function which evaluates if the book is a translation or an original version.
Because the new official Languages field doesn't store a string with the selected language name, but its ISO 639 code, I have troubles with the "translation evaluation".
My preferred solution would be this one: https:/
Nevertheless maybe another easier solution could be implementing a "LanguageCodeTo
I mean, this should work:
{#original:
Related branches
- Kovid Goyal: Pending requested
-
Diff: 17 lines (+5/-2)1 file modifiedsrc/calibre/library/caches.py (+5/-2)
Changing the component for this bug.
assignee cbhaley
status triaged