Simple multi-language website with lang attribute selector

Hi, I am running a simple blog using Grav inspired by some of the [beep] websites. The basic layout is in English but I also want to write blog-posts in my native language and then have a correctly set language attributes, but I do not want to set up a fully fledged multi-language website.

My idea is to when I write a website there is a button or selector where I choose the language of the page content, and that this then sets the correct language in the <html lang="en"> part of the template. Alternatively that it is set from the occurrence of a tag.

I would really appreciate help on what config file to make these changes in.


Have you checked out the multi-language features documented here?

Grav comes with multi language of the box and it will set the lang tag for you