Skip to content

Inferred list of languages #90

Open

Description

@HadrienGardeur

With the ability to generate Guided Navigation Documents from the HTML resources of a publication, we're also in a position where we can infer a list of languages.

This can be based on:

  • the languages that we encounter while parsing HTML
  • ordered by the number of strings (no need to work with characters IMO)

Since this is potentially riskier than the rest, we should never merge this metadata with the rest and only use it when inferred metadata are split.

For this purpose, we can use language with a list of ordered BCP-47 codes under https://readium.org/webpub-manifest#inferredAccessibility.

Activity

  1. added this to the v0.7 milestone on Dec 22, 2025
  2. HadrienGardeur commented on Jul 27, 2026

    @HadrienGardeur
    MemberAuthor

    This will only be inferred when combining:

    • --inspect-html
    • with --infer-a11y set to split
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

manifestRelated to the manifest command

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions