Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-23-2026, 10:33 PM   #16
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,956
Karma: 34252880
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by BetterRed View Post
. . .
I don't know how to set language in calibre's implementation of the LT rule-sets… perhaps because I haven't looked
Doh - probably because it uses the language in the opf file e.g. <dc:language>en-GB</dc:language>


BR
BetterRed is offline   Reply With Quote
Old 11-23-2026, 10:34 PM   #17
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,633
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by BetterRed View Post
Doh - probably because it uses the language in the opf file e.g. <dc:language>en-GB</dc:language>


BR
it uses language in the html first, then fallsback to opf language and then IIRC to calibre UI language.
kovidgoyal is offline   Reply With Quote
Old 11-24-2026, 05:24 AM   #18
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 1,079
Karma: 2019904
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
The current calibre version 9.19 explicitly produces the warning below on using Check Book (F7) when an HTML file does not contain some language setting:
Code:
WARNING: An HTML file does not specify its language
So, when honoring this warning, it will always using the HTML defined language now.
DrChiper is offline   Reply With Quote
Old 11-24-2026, 05:34 AM   #19
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 1,079
Karma: 2019904
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
Book Check (F7) also warns since calibre 9.19 for missing alternative image text:
Code:
WARNING: An image has no alternative text
This is easy to add via alt="xxx" in normal images <img alt="" src="" />, but it also warns for <svg> images.
I had never ever seen some alternative text implementation for SVG, but some goog'ling produced aria-label="xxx", which seems to work. No idea whether this is the intended entry, or whether others are possible, though.
DrChiper is offline   Reply With Quote
Old 11-24-2026, 05:53 AM   #20
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 1,079
Karma: 2019904
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
Quote:
Originally Posted by BetterRed View Post
In Spell checker, add acceptable foreign language words such as 'café', 'schadenfreude' etc to a user dictionary and make sure that dictionary is marked as active in Preferences→Editor settings→Manage spelling dictionaries→Manage user dictionaries.

I have a couple of knowledge domain specific user dictionaries that I activate when needed.
Great! Nice trick, and it works fine. I wish I had known this before ...
DrChiper is offline   Reply With Quote
Old 11-24-2026, 12:41 PM   #21
Lukusaukko
Zealot
Lukusaukko ought to be getting tired of karma fortunes by now.Lukusaukko ought to be getting tired of karma fortunes by now.Lukusaukko ought to be getting tired of karma fortunes by now.Lukusaukko ought to be getting tired of karma fortunes by now.Lukusaukko ought to be getting tired of karma fortunes by now.Lukusaukko ought to be getting tired of karma fortunes by now.Lukusaukko ought to be getting tired of karma fortunes by now.Lukusaukko ought to be getting tired of karma fortunes by now.Lukusaukko ought to be getting tired of karma fortunes by now.Lukusaukko ought to be getting tired of karma fortunes by now.Lukusaukko ought to be getting tired of karma fortunes by now.
 
Posts: 106
Karma: 392326
Join Date: Feb 2023
Device: Kobo Libra 2
Quote:
Originally Posted by DrChiper View Post
I had never ever seen some alternative text implementation for SVG, but some goog'ling produced aria-label="xxx", which seems to work. No idea whether this is the intended entry, or whether others are possible, though.
SVG images can be alt texted in several ways: one is setting aria-label directly, like in this SVG-wrapped bitmap:

Code:
    <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1" role="img" aria-label="This is a cover">
<image role="doc-cover"xlink:href="cover.jpeg"/></svg>
or using aria-labelledby, with title and longer description (inline SVG):

Code:
  <svg xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="svg1-title svg1-desc">
    <title id="svg1-title">This is an image title</title>
    <desc id="svg1-desc">This is an image description</desc>
   [svg code]
  </svg>
or with just title:

Code:
  <svg xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="svg2-title">
    <title id="svg2-title">This is the title/description</title>
   [svg code]
  </svg>
All three should work equally with wrapped bitmaps or inline SVG images.

Last edited by Lukusaukko; 11-24-2026 at 12:45 PM.
Lukusaukko is offline   Reply With Quote
Old 11-24-2026, 07:45 PM   #22
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 32,066
Karma: 65709392
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kovidgoyal View Post
it uses language in the html first, then fallsback to opf language and then IIRC to calibre UI language.
Kovid, is there anyway the 'Use... language ' link could be put before the list of the 32 file with this problem? (I always have to scroll this one error as it is usually insanely long)
theducks is offline   Reply With Quote
Old 11-24-2026, 10:57 PM   #23
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,633
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...3a9365633bcbb9
kovidgoyal is offline   Reply With Quote
Old 11-24-2026, 11:16 PM   #24
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 32,066
Karma: 65709392
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kovidgoyal View Post
That was quick. (you usually are)
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grammar Checking BetterRed Calibre 2 11-08-2026 02:38 AM
A little bit of grammar Pulpmeister Writers' Corner 36 04-28-2019 02:55 AM
Is Grammar Really That Important Any More? Justin Nemo Writers' Corner 234 05-01-2012 03:15 PM
Seriously thoughtful English (or US) grammar Sweetpea Lounge 26 10-21-2011 11:17 PM


All times are GMT -4. The time now is 10:03 AM.


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