cancel
Showing results for 
Search instead for 
Did you mean: 

Mini Cart, Cart and Checkout process translation issue

Mini Cart, Cart and Checkout process translation issue

I set up a multi language store and installed the german language pack by mageplaza. Most of the website works now in both languages (english and german). But unfortunately the mini cart, the cart and the whole checkout process is only in german available, even if the website is set to english.

 

I tried to switch on the inline translation, but it only lets me translate for the german language and not for english. Beside that I can see in the inline translation that the relevant expressions actually are already translated, but apparently not displayed.

What is the problem?

What can I do to make my cart and checkout appear in english again?

Thanks!

1 REPLY 1

Re: Mini Cart, Cart and Checkout process translation issue

Hi @christian_meyer 

 

You can try this.

 

In vendor/magento/module-translation/Model/Json/PreProcessor.php

$area = $this->areaList->getArea($areaCode);
$area->load(\Magento\Framework\App\Area::PART_TRANSLATE);

needs to be:

$area = $this->areaList->getArea($areaCode);
$area->load(\Magento\Framework\App\Area::PART_DESIGN);
$area->load(\Magento\Framework\App\Area::PART_TRANSLATE);

 

After making the changes run the below the commands from your magento root directory.

 

php bin/magento static-content:deploy -f

php/bin magento cache:flush

Hope it helps you!

 

Thanks

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution".