Use of jekyll-i18n_tags plugin


#1

Hello, I built my jekyll project with jekyll-i18n_tags plugin. (https://github.com/KrzysiekJ/jekyll-i18n_tags)

As the documentation says it is enough to add the language in the front matter like

lang: fr for french

or

lang: en for english

and use the liquid tags

{% t Hello, world! %}

but the language is so hardcoded. I don’t see the usability to have multiple language this way. To be convenient, we should be able to change the language dynamically by clicking in on a flag for example. How can we change dynamically the language ?


#2

Hello, I finally set up the translation of my jekyll pages thanks to this tutorial : https://www.sylvaindurand.org/making-jekyll-multilingual/. It is very well explained. Thanks for reading my post. The question is solved