Effective immediately: separate language versions for each post
My blog now supports multiple languages. Previously, I included both German and English translations in each post, which quickly made the pages very bloated. Now, each post has its own language version.
You can switch languages at the top of the bar (via the language icon and flag) or at the very bottom of the footer.
I used the Polyglot plugin and made a few adjustments to the Minimal Mistakes Starter. Polyglot is not natively supported by Github Pages. The reason for this is that GitHub Pages builds pages in safe mode and only allows a limited whitelist of plugins โ Polyglot is not one of them. Therefore, the page is now built with GitHub Actions. For those who want to use the Minimal Mistakes Theme with language support, I have set up a starter repo here: matmu/mm-github-pages-multilingual-starter.
Leave a comment