I’ve hit the same snag before, and it usually boils down to language rewrite rules not being rebuilt after adding custom routes. Clearing cache and forcing a full Regenerate SEO & URLs in the back office often fixes it, but in some cases I had to re‑register routes in the module’s install method too. By the way, https://crowdo.net/blog/ai-search-revolution-website-still-matters/ has some handy context on keeping URL structures clean for SEO.
Edit History
I realize this is from a while ago, but I’ve seen similar issues when the language switcher pulls routes that aren’t rebuilt for custom modules. Have you tried flushing the SEO/URL settings and forcing PrestaShop to regenerate routes after adding your custom dispatcher rules? Also worth checking if your module’s front controller is marked as multilingual in the database. If anyone has found a cleaner fix, I’d love to hear it too
.png.022b5452a8f28f552bc9430097a16da2.png)