Published
September 9, 2023
Updated
September 9, 2023
Integration Approaches
Three apparent modes of integration;
- Reverse proxy as a subdomain e.g. es.mydomain.com.
- Reverse proxy as a subdir ( BETA ), e.g. mydomain.com/es
- Script integration with caching
1 & 2 require that you have a custom domain, therefore a hosted Webflow site. 3 can be used on a webflow.io site.
How it Works
The system appears to auto-translate content when it's requested, so if you request URL /x, it will check its cache and translate if needed.
Once this happens, you can access and improve on those translations in the WeGlot console.
Caveats;
- This might mean an initial delay on the first request
- Cache duration is unknown
- Need to check how good it is at dynamic pages
Technical Notes
It may be able to also handle RSS feeds, but this has not yet been tested.
When using the JS integration, you can switch languages also via querystring param, e.g. ?lang=de