openzim / python-scraperlib

Collection of Python code to re-use across Python-based scrapers
GNU General Public License v3.0
18 stars 16 forks source link

ZIM Creator should not allow invalid `Language` tag #94

Closed rgaudin closed 1 year ago

rgaudin commented 1 year ago

Language tag can be set in different place in creator but it all passes through add_metadata()

Accepted values are ISO-639-3 ones plus the special mul value that we use for Multiple Languages. @kelson42 please confirm we still want to support this barely used scenario.

⚠️ it can be a comma-separated list. See spec

See https://github.com/kiwix/libkiwix/issues/875

rgaudin commented 1 year ago

Already implemented in 3.0.0