Website translation as I did it

Hello!

I have read several people have problems with the translation of websites.
I found a slightly different solution than what I have seen on the forum so far.

For the sake of simplicity, I assembled the page from the blocks of @Eldar Minimalist Library.

In all cases, the website is displayed in the language set in the browser, but I added a little something extra.

In the navigation bar, I placed 3 buttons, English and German, as well as a third button, which, when clicked, displays the page in the default language set in the browser.

On the video in the Chorme browser, I set the French, Spanish and Italian languages, for the sake of the video. I didn’t want to set English and German among the browser languages ​​on purpose.

You can see in the video that when I delete a language from the browser, the next one will naturally be the default, but regardless of these, the English and German translations in the navigation bar also work.

I hope I wrote everything clearly.

How do you solve the translation??? Maybe I can get a good idea from someone.