Language switcher in shop-woocommerce page when no front page
-
– Settings?: langage determine by fr/en in url (ex https://fmysite.net/en/….)
– Front page?: no static front page – theme Hustle
– Context?: used with Woocommerce?; + Hyyan WooCommerce Polylang Integration?; 2 langages used?: fr (defaut) and en.Issue :
a) in shop/boutique of woocommerce, the url of langage switch is?:
– in the french langage boutique : mysite/en/shop (OK)
– in the english language shop?: mysite/fr/ (NOK, must be mysite/fr/boutique)b) This issue does not exist if WordPress is not in static front page mode. All is correct.
c) When Hyyan WooCommerce Polylang Integration? desactivated, the url is mysite/fr/boutique (OK) and mysite/en/boutique (NOK, must be mysite/en/shop)
I cannot determine if the issue comme from Polylang, from Hyyan WooCommerce Polylang Integration, or from Woocommerce (when I am in boutique/shop, is_home is false when french but true when english??!).
Thanks if you have an idea.
- The topic ‘Language switcher in shop-woocommerce page when no front page’ is closed to new replies.