Phlow / feeling-responsive

»Feeling Responsive« is a free flexible theme for Jekyll built on Foundation framework. You can use it for your company site, as a portfolio or as a blog.
http://phlow.github.io/feeling-responsive/
MIT License
901 stars 1.34k forks source link

Is it possible to make the site show pages in two languages easily? #260

Closed johann-petrak closed 1 year ago

johann-petrak commented 1 year ago

I am really not experienced with web site creation and was choosing jekyll and that theme because it looked very close to what I had in mind, so please excuse if those questions sound a bit dumb:

Phlow commented 1 year ago

No, multi-language is not possible. As far as I know is Jekyll not made for multi-language-websites. The Hugo website generator is better suited.

johann-petrak commented 1 year ago

Hmm I think at least for allowing the user to manually choose the language e.g. from the menu it should be possible, if the templates can make use of a "language: code" setting in the page title to get the something like _data/language_code.yml for the strings used in templates during generation. And having the alternate language version linked explicitly in the menu for each page as well. Jekyll should be able to support that, right?

Phlow commented 1 year ago

Maybe it's possible. But my theme doesn't support it.

johann-petrak commented 1 year ago

Sorry, I was mainly asking all these questions to see if you are interested in improving the theme or accept prs for adding this. Obviously, making it a theme that can be installed as a theme and not copied and modified would make that much easier. I have now found a simple way to support two languages in static pages with alternate navigation and will look into how to do the same for postings. But I got the feeling you are not very interested in this, so I will not post any more issues here.

Phlow commented 1 year ago

No, no problem. I am not interested in all the work ;) I am very happy with the status quo. It took at least 100 hours to build the theme as it is. But everyone is invited to use my theme to make it their own and improve it.