openzim / kolibri

Convert a Kolibri channel in ZIM file(s)
GNU General Public License v3.0
8 stars 13 forks source link

Is it possible to properly populate the language metadata automatically? #126

Open benoit74 opened 4 months ago

benoit74 commented 4 months ago

Currently the language metadata is eng by default. Isn't it possible to compute this metadata from Kolibri data?

benoit74 commented 1 month ago

See #41 also

ayudixit commented 1 month ago

@benoit74 sure we can do, a rough idea this but we have to check whether metadata exists or not, then extract and use it. If not, apply a language detection algorithm after that update the language metadata dynamically using the computed language and store it for future access.