How can I fix LangShop's checkout page translation issue?

How can I fix LangShop's checkout page translation issue?

bbs-AnGr
Shopify Partner
12 0 5

My team has been using that app to deal with the translations on a shop we're developping. And it's supposed to translate the checkout page too (the default one, unmodified).

 

But when we test a checkout in French, for instance, while the default language is English, the client who has seen only French up until the checkout is then redirected to an English checkout page.

 

I was wondering if anyone who uses this app knows a workaround. The documentation seems to imply that all products needs to be translated* but I think it's only a recommendation so all the data on the page is translated including the products, which we don't necessarily need right now.

 

* https://langshop.app/blog/multi-language-checkout-shopify/

 

The checkout page consists of content from products description, content localization, payment gateways, delivery methods, breadcrumbs, buttons text, etc. Therefore, there are several conditions that must be met in order to get a translation of Shopify checkout page.

 

Products localization. All products  of your store must be translated into selected target languages.

Theme locales are also must be translated by LangShop. In this article, you will find the instruction on how to translate the theme settings – Translate theme localization .

Translate payment gateway  and delivery methods .

Replies 2 (2)

bbs-AnGr
Shopify Partner
12 0 5
Ok so LangShop works with parameters and you need to pass the locale parameter from the cart. We didn't use the liquid form tag so that ends up looking something like that:
 
<form action="{{ routes.cart_url }}?locale={{ request.locale.iso_code }}" method="post" id="Cart">

Aheadworks_team
Shopify Partner
67 1 5

Hello there,

This is Olga from LangShop Support Team.

 

Thank you for addressing your question to us! First of all, in order to check if your checkout has been translated or not, you can visit LangShop-> Translations-> Themes section and open ‘Store Components’ section, as most of the checkout content is usually stored there: https://app.intercom.com/a/apps/yo88ohti/articles/articles/5616030/show

In case you find out that some sections are not translated there, you can run the translations from LangShop and check your storefront afterwards.

Another situation is when the checkout has been translated but when you browse the site in the additional language, add products to the cart and then click on the “Checkout” button, the customer has been re-directed to the default language. Most often it happens because of the hardcoded links present in the theme code. In this case you’re suggested contacting your theme developer to check if there’re some hardcoded links in your cart.liquid file of theme.liquid file in the theme code (for buttons, for example, they usually look like this: /cart, /cart/add) and change them for the route objects instead. Please, check the documentation below: https://shopify.dev/api/liquid/objects/routes

 

In case any additional questions appear- feel free to contact us via e-mail:support@langshop.app or in the Intercom chat.

 

Best wishes,

LangShop Team

banned