christian-fei / Simple-Jekyll-Search

A JavaScript library to add search functionality to any Jekyll blog.
https://christian-fei.github.io/Simple-Jekyll-Search/
MIT License
1.34k stars 203 forks source link

jekyll-multiple-languages-plugin compatibility #169

Closed JavierSegoviaCordoba closed 3 years ago

JavierSegoviaCordoba commented 3 years ago

Plugin: jekyll-multiple-languages-plugin

I am using both and I am having problems related to simple-jekyll-search can't get the current language correctly.

For example, in the json I added:

...
      "language" : "{{ site.lang }}",
...

And it is always getting the en value when the rest of the site is in es. Is there a workaround?

christian-fei commented 3 years ago

Hello, sorry I have no idea. Most likely it's a setting in the language plugin you're using