Script Weglot
I find the possibilities of Weglot ingenious. Unfortunately, there are always areas that you want to adjust manually. For example, there are buttons or inserted scripts that you want to replace manually.
I have created the following code, which can be inserted into the head area and thus extends the functions of Weglot.
All areas that you want to adjust manually in the respective language, you can insert in a wrapper block with the appropriate class.
Only the respective block of the current language is displayed.
So the code offers the possibility to display different div blocks for the different languages.