Home

Awesome

It can work with Jekyll 3 now. Happy coding!

Document site

Visit Project Page for more information

中文版文档


What is it?

Jekyll is very powerful. It is very conveniect to write bolg with Jekyll.

If we write mainly in English, and sometimes in other languages, now we can do this in a easy way.

Name rule

THe default language:

The other language, short as $lang, put $lang and a dot . after $page_name or $post_name

Build result

Installation & Configure

Installation

gem install jekyll-multiple-languages

If you want you use pagination, you should install jekyll-paginate as well.

gem install jekyll-paginate

Configure

Sample

Variables

Variables for pages and posts

Variables only for posts

Variables for site

The sample of variables

http://jekyll-langs-sample.liaohuqiu.net/

Data

Paginate

This plugin enables that we can write blog in multiple languages easily, it also enables that we can use any files that end with differents extensions.

The template

The variables

The sample of pagination

http://jekyll-langs-sample.liaohuqiu.net/

Github Pages Issue

Try to use Jekyll plugins on Github Pages is a little complicated.

And here is a solution.


Contributors

cbergmann kuka

Thanks

t tag: https://github.com/screeninteraction/jekyll-multiple-languages-plugin