Skip to content

Bookworm ignores language tags in HTML files and doesn't switch languages #330

Description

@amirsol81

Describe the Problem

Bookworm fails to detect language tags in HTML files and doesn't switch languages, so it's practically unusable for bilingual educational material even when language tags exist.

To Reproduce

  1. Open the zipped HTML file via Bookworm. Make sure your screen reader is set to switch languages while reading. Alternatively, use an engine for Bookworm that supports this capability.
  2. Navigate around the file, or use Bookwarm's selected engine or voice. See how Bookwarm doesn't switch between French and English.

Expected behavior

With the attached file, Bookwarm should expose language tags, French and English, to screen readers. Its own engine/ voice, if it supports this capability, should also perform language switching while reading.

If the problem is related to a file, indicate the file you have opened

Zipped HTML file with proper language tags attached.

Desktop (please complete the following information):

  • OS: Windows 11 24H2.
  • Bookworm version: 2025.1, built from the DAISY 3 text support pull.

Additional context

HTML files or pages can have proper language tags, making it easier for screen readers to switch to the proper language. However, Bookworm totally disregards these tags and doesn't alter the reading language, both when it's handling the reading or when a screen reader is reading the displayed text. As such, Bookworm cannot be used for educational bilingual material.

01-Guide.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions