Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Magento 2 Label translation showing braces

Labels showing multiple translations between double curly-braces. I have this problem both on the front and backend of Magento 2.

This is what I've tried so far:

  • Cleared and flushed the cache
  • re-deployed static content
  • Updated Magento 2.2.5 to 2.2.6

Please look at the pictures for more info

Magento 2 Frontend

Magento 2 frontend

Magento 2 Backend

Magento 2 backend

Any ideas?

Solution It's not a pretty fix but I've restored both js-translation.json files at the static frontend and backup folder.

like image 418
Leon Avatar asked Oct 16 '22 11:10

Leon


1 Answers

I had the same issue, this issue comes when you did not properly disable the configuration or inline translation configuration.

please check the inline translation or any other configuration and make sure you disable the configuration properly which applies to specific mode(developer) and before updating.

After that please run the following commands

$rm -rf var/cache/* var/view_processed/* generated/code/*
$php bin/magento setup:upgrade
$php bin/magento setup:static-content:deploy
$php bin/magento setup:di:compile
$php bin/magento cache:clean
$chmod 777 -R app/ var/ generated/ pub/
like image 68
Arshad Syed Avatar answered Oct 20 '22 23:10

Arshad Syed