welpo / tabi

A modern Zola theme with search, multilingual support, optional JavaScript, a perfect Lighthouse score, and a focus on accessibility.
https://welpo.github.io/tabi/
MIT License
97 stars 32 forks source link

Add language support for search engine #329

Closed stalkerGH closed 2 weeks ago

stalkerGH commented 2 weeks ago

I'm trying to add search engine to my website. Unfortunately, it seems that my language is not supported by Zola & tabi:

Error: Failed to serve the site
Error: Tried to build search index for language pl which is not supported

Or maybe I should ask Elasticlunr developers...?

welpo commented 2 weeks ago

I believe Zola uses elasticlunr-rs. Related discussion: https://github.com/mattico/elasticlunr-rs/issues/13

If elasticlunr supports it and Zola is updated to use the last elasticlunr, tabi will work with its search index (with no changes).

stalkerGH commented 2 weeks ago

OK, I don't see support for my language. I have to investigate it.