How to translate the index page?

Is there a way to control which index page is rendered according to the language prefix in the url?

I think this should be in the docs, but there are several layers of this:

  • You can translate your content, e.g. _index.jp.md
  • You can translate your templates, e.g. index.jp.html
  • Or you can translate single strings and use the i18n function in the templates

Note that you curently need 1 content file per language (see the first bullet above).

wow index.de.html worked, assumed I have tried it before but only now it worked, thanks!

1 Like