I’m trying to use jekyll-multiple-languages-plugin
to add multiple languages to my site hosted by GitHub Pages. I know that the plugin does not natively support GitHub Pages (for ambiguous reasons) but I’ve found a modified script that fixes this issue, jekyll-multiple-languages-plugin.rb
. However, GitHub Pages still does not recognise the custom tags in my HTML files.
I don’t see what the problem is unfortunately. The site compiles with no error:
Configuration file: E:/Users/Pradana/Documents/Repos/umarsaid/_config.yml
Source: E:/Users/Pradana/Documents/Repos/umarsaid
Destination: E:/Users/Pradana/Documents/Repos/umarsaid/_site
Incremental build: disabled. Enable with --incremental
Generating...
Building site for language: "id" to: E:/Users/Pradana/Documents/Repos/umarsaid/_site/id
Loading translation from file E:/Users/Pradana/Documents/Repos/umarsaid/_i18n/id.yml
Moving '_site/id/assets' to '_site/assets'
Building site for language: "en" to: E:/Users/Pradana/Documents/Repos/umarsaid/_site/en
Loading translation from file E:/Users/Pradana/Documents/Repos/umarsaid/_i18n/en.yml
Building site for language: "fr" to: E:/Users/Pradana/Documents/Repos/umarsaid/_site/fr
Loading translation from file E:/Users/Pradana/Documents/Repos/umarsaid/_i18n/fr.yml
Build complete
done in 0.641 seconds.
Auto-regeneration: disabled. Use --watch to enable.
And when I run it on a local server, there’s no issue whatsoever.
There’s something inherently wrong with Jekyll and GitHub Pages in this.