kurtsson/jekyll-multiple-languages-plugin

Translating 404 Pages

rtaibah opened this issue · 1 comments

I am not able to use the plugin to translate 404 pages. My 404.md page in root:

---
layout: page
title: Feeling Lost
permalink: /404.html
---

{% tf 404/404.md %}

And there are corresponding files in /i18n/en/404/404.md and /i18n/ar/404/404.md. The English (default language) 404 page gets served regardless of language.

Jekyll is a static site generator. You can't localize a 404 page without web server's help. There's nothing that jekyll-multiple-languages-plugin can do for this, and this ticket should be closed.