Search code examples
javascriptruby-on-railsinternationalizationjekylloctopress

How to use jekyll multiple languages plugin with octopress


I have trouble getting multiple languages plugin to work for my octopress blog. I've opened an issue about it, but nobody seems to respond. Does anybody know how to integrate this plugin with octopress?

Edit

It generates the posts in the public/tr subfolder fine. But the problem is source/index.html. Note that I use {% site.posts %} variable to iterate over the posts, that is wrong for the tr language. What method renders index.html, and gives it payload?

Note that it generates the tr language fine in the public folder, Only problem is the index.html.


Solution

  • The plugin you are using is not active anymore. I suggest turn to this plugin:

    https://github.com/liaohuqiu/jekyll-multiple-languages

    The documents:

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

    By the way the document website is built by this plugin.

    These are some example websites:

    http://cube-sdk.liaohuqiu.net/

    http://www.liaohuqiu.net/ , this's my blog, whose source code is also at github: https://github.com/liaohuqiu/liaohuqiu.github.io

    I also opened a pull request: https://github.com/eguneys/eguneys.github.io/pull/1, you can check it.