How to keep some Jekyll posts not translated?

时间:2019-04-08 13:56:34

标签: internationalization jekyll jekyll-extensions i18n-gem

I use jekyll-multiple-languages-plugin to translate posts located in _i18n/[lang]/[categorie] for different langages.

Anyone have an idea ?

I failed to use categories (like site.[mycategory]…, instead of site.posts

Some of my post needs to not be translated (it must stay in English). Also, these posts are indexed by Lunr as search engine…

The case is that if I only keep posts in /en folder, nothing is working. Even worse, I have to duplicate posts for each langages to make it work, that is horrific to maintain.

0 个答案:

没有答案