Exactly the same problem here… As well as the problem reported in this topic:
https://ww.wp.xz.cn/support/topic/slugs-does-not-include-language-folder
Regards!
Yes,
it’s a bug it seems with the custom flag. Renaming the wpcontent/polylang where the custom flags are to wpcontent/polylang-something and rewriting the language URL will do
but seems custom flags are not working anymore
I imagine since the last plugin update some bug has appeared.
I’m struggling that problem of the hidden flags as well as the fact of the slugs are not including the language folder…
Finally found the problem, and in my case it was not related to “Polylang”, otherwise to “Polylang Connect for Elementor”.
I have used the “WP Rollback” plugin to get back the 1.0.6 version of the “Polylang Connect for Elementor” and everything worked fine.
Of course in the perfect scenario the plugin creators should provide a better solution. But by now, there is a solution.