jekyll-multilingual
jekyll-multilingual copied to clipboard
I can't make non-translated POSTS to work.
Hi, My intention is to be able to:
- Show the posts in the the list in the proper translation.
- If the translation doesn't exist, show the post + (language version)
- Don't show the posts from other languages on an "archives" files (right now, I was able to).
- Show a particular post in the default language if the translation doesn't exist.
I'm following the instructions on your post: http://brendamour.net/en/2014/08/03/multilingual-jekyll-how-to-post-in-more-than-one-language/
But, trying several configurations, I can't make that happen:
- Having files w/o .en or .es (simply xxxx-xx-xx-blog.markdown): ends copying the file on both language folders, so, the same file is working for both languages. Actually, this approach is good, but in the list of posts, I can't get the real post language. So I can't marked is at (language Version). I can't do that either in the particular post.
- Having files w only one language: Doesn't show the post in the other language (at all). Not in the list(with what I would be OK) and for a particular post in the non-existing lang, I have a 404.
I know that there should be some game between the name file (.lang) and the Front Matter (language: lang) that probably do the trick. But I'm not finding the way of making it work. If I could have it exactly like you have it in http://brendamour.net/ I would be more than fine.
You can check my code here: https://github.com/ourbit/ourbit.github.io/tree/source
Thanks for your help.