After July 2021, the 2.3.x release line no longer received quality updates or user guide updates. PHP 7.3 reached end of support in December 2021, and Adobe Commerce 2.3.x reached end of support in September 2022. We strongly recommend upgrading to Adobe Commerce 2.4.x to help maintain PCI compliance.

Translate Inline

This site contains archived merchant documentation for a version of Adobe Commerce and Magento Open Source that has reached end-of-support. The documentation available here is intended for historical reference only and is not maintained. The Adobe Commerce Merchant Documentation for current releases is published on the Adobe Experience League.

You can use the Translate Inline tool in developer mode to touch up text in the interface to reflect your voice and brand. When the Translate Inline mode is activated, any text on the page that can be edited is outlined in red. It is easy to edit field labels, messages, and other text that appears throughout the storefront and Admin. For example, many themes use terminology such as My Account, My Wishlist, and My Dashboard, to help customers find their way around. However, you might prefer to simply use the words Account, Wishlist, and Dashboard.

The Translate Inline tool is available only when working in developer mode.

See Translations overview in the developer documentation.

Example storefront - translatable text Translatable Text

If your store is available in multiple languages, you can make fine adjustments to the translated text for the locale. On the server, interface text is maintained in a separate CSV file for each output block, and is organized by locale. As an alternate approach, rather than use the Translate Inline tool, you can also edit the CSV files directly on the server.

To use the Translate Inline tool, your browser must allow pop-ups.

Step 1: Disable output caches

  1. On the Admin sidebar, go to System > Tools > Cache Management.

  2. Select the following checkboxes:

    • Blocks HTML output
    • Page Cache
    • Translations
  3. Set the Actions control to Disable and click Submit.

    Disable output caches Disable Output Caches

Step 2: Enable the Translate Inline tool

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. To work with a specific store view, set the Store View to be updated.

  3. In the left panel, expand Advanced and choose Developer.

  4. Expand Expansion selector the Translate Inline section.

    Clear the Use Website checkbox as needed to modify these settings.

    The Enabled for Admin option is not available when editing a specific store view.

    Advanced configuration - translate inline Translate Inline

  5. Set Enabled for Storefront to Yes.

  6. When complete, click Save Config.

  7. When prompted, refresh the invalid caches, but leave the disabled caches as they are for now.

Step 3: Update the Text

  1. Open your storefront in a browser and go to the page that you want to edit.

    If necessary, use the language chooser to change the store view. Each string of text that can be translated is outlined in red. When you hover over any text box, a book icon (Book icon) appears.

  2. Click the book icon to open the Translate window and do the following:

    • If the change is for the specific store view, select the Store View Specific checkbox.

    • Enter the new Custom text.

  3. When complete, click Submit.

    Enter Custom Text

  4. To see your changes in the store, press the F5 key to refresh the browser.

  5. Repeat this process for any elements in the store to be changed.

Step 4: Restore Original Settings

  1. Return to the Admin of your store.

  2. On the Admin sidebar, go to Store > Settings > Configuration.

  3. Set Store View to the specific view that was edited.

  4. In the left panel, expand Advanced and choose Developer.

  5. Expand Expansion selector the Translate Inline section.

  6. Set Enabled for Frontend to No.

  7. When complete, click Save Config.

  8. On the Admin sidebar, go to System > Tools > Cache Management.

  9. Select the checkbox of the following output caches that were previously disabled:

    • Blocks HTML output
    • Page Cache
    • Translations
  10. Set the Actions control to Enable and click Submit.

  11. When prompted, refresh any invalid caches.

Step 5: Verify the Changes in Your Store

Go to your storefront and examine each page that was updated to make sure the changes are correct. In this example, Customer Login was changed to Customer Sign In. If changes were made to a specific view, use the Language Chooser to switch to the correct view.

Example storefront - translated customer sign in Customer Sign In