Wishlist page product link cannot use other language

Hi All,

My shop setup language English, Deutsch. Default is English.

When I use Default language open a product, the link show: .myshopify.com/de/product/, added to wishlist.

Open wishlist page, the address is *.myshopify.com/de/wishlist, I click the product, that auto open .myshopify/com/product/, so the page change to default language(english). How can I fix.

Wishlist use theme.js: e.url: code as follow:

{var i=n[t];Shopify.getProduct(i,function(e){var t=“”,a=e.price_varies?“from “+theme.Currency.formatMoney(e.price_min,theme.moneyFormat):theme.Currency.formatMoney(e.price,theme.moneyFormat),
n=0!==e.compare_at_price_min?theme.Currency.formatMoney(e.compare_at_price_min,theme.moneyFormat):””;t+=‘

’,
t+=‘
’,t+=‘
’,t+=’
‘,t+=’ ‘,t+=" ",t+=’

‘+e.title+“”,t+=’ '+n+“”,t+=" “+a+”
",

Thanks!

Hi @JonathanG it sounds like something is not using the routes object. There’s a good guide here.