Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

I don't get Jekyll Multiple Languages Plugin to work at Github Pages Server #163

Open
sslHello opened this issue Apr 19, 2020 · 4 comments

Comments

@sslHello
Copy link

Thank you for your nice plugin.

I am sorry, but I do have the same issue as 'The blog posts are not built in GitHub Pages Server (#120)'.
Locally it works all OK (I've installed it according '3.1 Using the gem'; Even using the safe option in 'bundle exec jekyll serve --safe' works locally.

I am sorry, on the Github Pages Server does not work here neither installing it according

Any help is kindly appreciated
Cheers Torsten

@GilmarCorreia
Copy link

I'm facing the same problem. Have you solved this issue?

@sslHello
Copy link
Author

sslHello commented Jul 30, 2020

Hi Gilmar,
yes. I've found a work-around writing an include replacing the plugin:
https://github.com/OWASP/www-project-top-ten/blob/master/_includes/i18n.html

I've used it e.g. in some includes of this page (defining 'lang: en' in the header):
https://raw.githubusercontent.com/OWASP/www-project-top-ten/master/OWASP_Top_Ten_2017/Top_10-2017_A1-Injection.md
e.g. in include 'https://github.com/OWASP/www-project-top-ten/blob/master/_includes/t10_subsection.html':
{%- if {{include.token}} -%} {%- include i18n.html token=include.token -%}

I hope, this helps you, too.
Cheers Torsten

@GilmarCorreia
Copy link

Thank you, I will try. I've found another solution for the minimal-mistakes theme using the lang: en

@intlr
Copy link

intlr commented Feb 7, 2021

fyi there is an ongoing discussion to add multi-language support to Github Pages and I'm trying to get an overview of what it would need to whitelist the jekyll-multiple-languages-plugin there

github/pages-gem#401

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants