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.
  • You can translate your templates, e.g.
  • 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 worked, assumed I have tried it before but only now it worked, thanks!

1 Like