Skip to content

In-line translations do not update on the front end!

Magento 2.4.2-p1
Magento Porto theme

I use the default Magento check-out. I have gone into:

– Stores – Configuration – Advanced – Developer – Translate Inline – Enabled for Storefront = YES.

Then, I have gone through the check-out steps on the front end as follows:

  • open Magento front end
  • Add a product to the cart
  • Click on the icon of the Shopping bag on top right and GO TO CHECKOUT
  • The 1st of the 2 check-out steps load = Delivery Review & Payments DELIVERY ADDRESS
  • I click on the icon to change the text, the pop-up opens, I retype the text and click on SUBMIT (the first time, I have added the word Recipient’s in front of all the fields here, for example ‘Recipient’s First Name’)
  • Fill everything in
  • Click on NEXT
  • The 2nd of the 2 steps of the check-out loads = Review & Payments
  • Click in Credit Card
  • Untick ‘My billing and shipping address are the same’
  • I once again click on the icon to change the text, the pop-up opens, I retype the text and click on SUBMIT (the first time, I have added the word ‘Your’ in front of all the fields here, for example ‘Your First Name’)

Afterwards, I ran the following:

php bin/magento setup:upgrade
php bin/magento setup:di:compile 
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
bin/magento cache:clean translate

Now, both the DELIVERY and Billing addresses show exactly the SAME = it has the word YOUR in front of all the fields which we cannot have as the DELIVERY information is for the recipient NOT the person making the order as they are gifts.

I turned all Caches off, switched back from Varnish to Built-in Cache, Disabled Cache in Magento and deleted all Cache on the Magento Admin panel also. I deleted the Cache folder via FTP (var/Cache) but I am unable to put this back. I go through all the steps and remove the word YOUR which is now showing on all the lines of both Checkout steps, then run he commands up above but the word YOUR stays there and does not disappear.