Hi Guys. I have successfully done this. But i have done lot of stuff to do this. Please check this site https://justformen.com with wpml plugin. You can see same url “https://www.justformen.com/products/” same for all English countries but with different content. I have made some changes and made a trick to do this.
Let’s see:
For US product page i added slug as https://justformen.com/products_en
For English CA product page i added slug as https://justformen.com/products_en-ca
For French CA product page i added slug as https://justformen.com/products_fr-ca
After that i used a filter to remove language parameter in all links in pages.
So it make products_en to products and products_en-ca to products.
After that i used wp rewrite rules to add language parameter in query var. Like if language is en-ca and query variable is product then concat both so make it products_en-ca. Now this page is we have so worpress will show this content.
If you guys need help especially “mishle” then i can help you thorough out.
Thanks ??