Skip to content

Refuse to publish books with unknown ISO639-3 codes in Language metadata #101

@benoit74

Description

@benoit74

The CMS must refuse to publish books with unknown ISO639-3 codes in Language metadata.

mul special value must also be forbidden (even if part of the ISO639-3), since the specification says that we must list all languages used in this metadata.

This will obviously change over time as ISO639-3 norm gets updated. We should hence rely on a widely popular and regularly updated library / database for this check.

We might need to patch this library/database from time to time when it gets outdated as the norm evolves but the library/database is not yet updated.

This issue comes from openzim/overview#51 (comment) discussion

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions