Creating multilingual website


I am playing around with a site in Visual studio code. I am planning on uploading it to gitHub in time. But I want it to be multilingual.

How do I create two flags like that? You can see it in some websites that they have two flags like that. One for english and the other one for another language(in my case a scandinavian language). Thanks

you need to have code that depending on the flag selected will replace all the text in the page

Hmm ok. That is the easiest way to do it then?

you could also have two different parts of your website, like and