You create specific subdomains for each new language you want to translate your website into (fr.mydomain.com, es.mydomain.com), point them to the Weglot servers, and that’s it.
Weglot reverse proxy servers will automatically retrieve your website pages, detect the original content and swap it for translations. All that is done server-side so it’s perfectly optimised for SEO.