Skip to content

TTS: Preference to force override the language set in the HTML resources #279

@morismoris

Description

@morismoris

Bug Report

It looks like the system only gives the possibility to listen to the ebook in the language set in the file's LANG metatag: if I try to change the language, the ebook is still read in the language set by the LANG meta tag.

Unfortunately, we don't know which and how many ebooks in our catalog could have this problem, so we need to know how to work around the problem and provide an acceptable quality text-to-speech to our iOS readers.

What happened?

The text-to-speech allows me to listen to it only in English: if I set Italian, this change is not accepted.

Expected behavior

I'd like to set Italian.

How to reproduce?

I attach an epub, a classic of Italian literature in which the metatag is set on EN.
Canne_al_vento test lingua.zip

Environment

  • Readium version: 2.4.0

I can't test with the TestApp ('main' or 'develop' branch), because the TestApp fails with the error:
Missing file: "/META-INF/container.xml"

Development environment

macOS: 13.2.1
platform: x86_64
carthage: 0.38.0
Xcode 14.2
Build version 14C18

Testing device

  • iOS version:
  • Model (e.g. iPhone 11 Pro Max):
  • Is it an emulator? Yes or No

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions