How to programatically translate URL of a product
-
Hello,
We are the plugin author of WooCommerce Linked Variations.
We are trying to make our plugin compatible with WeGlot and need some answers to the technical questions.
To start with, please can you let me know how can we convert a product URL to the current language?
For example, if a product URL is https://blushinggerbil.build067.wpsandbox.app/product/iphone-128-gb/ and when Hindi language is selected then we want to programmatically get the Hindi URL for that product (i.e. https://blushinggerbil.build067.wpsandbox.app/hi/product/iphone-128-gb/)
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to programatically translate URL of a product’ is closed to new replies.