AI Reports

Magento 2 troubleshooting › Store configuration

Where does Magento 2 store inline translations?

Short answer: Text changed with Translate Inline is saved in the translation table, per store view and locale. Those rows override your theme's and modules' CSV translations, which is why a CSV change sometimes seems to do nothing.

Check it step by step

These queries only read data. Run them on a copy of your database if you can, or ask your developer to. If your tables have a prefix (set in app/etc/env.php), add it to each table name.

1. Every inline translation

Works on Magento Open Source and Adobe Commerce:

SELECT key_id, store_id, locale, string AS original, translate AS translated
FROM translation
ORDER BY locale, store_id, string;

2. Find one phrase

Works on Magento Open Source and Adobe Commerce:

SET @text = '%Add to Cart%';  -- the phrase you see
SELECT key_id, store_id, locale, string, translate
FROM translation
WHERE string LIKE @text OR translate LIKE @text;

If your phrase is here, this row wins over every CSV file for that store view and locale.

How to fix it

Related

Gaurav Harsh

Gaurav Harsh is a Magento developer who works on large Adobe Commerce stores and builds AI Reports, a Magento extension for asking your store's data questions in plain English. LinkedIn