I have have a website running on MODX 2.8.8 with Babel configured and working correctly. recently I created a new instance from this one, but the language switch functionality stopped working in the new instance.
We’ve updated the main URL in the system settings, and also adjusted the site_url and http_host values in the context settings accordingly. While this temporarily resolves the issue after a hard cache clear, the problem returns once we make any changes in the manager—the language selection stops functioning again.
Any guidance on what might be causing this would be greatly appreciated.
Sorry—I didn’t explain it clearly earlier. it seems like is not using the snippet [[BabelLinks]] directly but is working perfectly with this javascript on the live site, not on the copied instance.
It’s more likely that the problem is not Babel, but the routing.
What routing extra do you use (e.g. Langrouter, XRouting) or did you write a custom routing plugin?