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
- Inline translation is switched on in Stores › Configuration › Advanced › Developer › Translate Inline (the Developer tab only shows in developer mode).
- To return to the CSV text, your developer deletes that row from
translation(after a backup) and flushes the cache:bin/magento cache:flush. - For lasting changes, put translations in your theme's
i18n/<locale>.csvinstead, so they live in version control.