Log in
Model

StringUtils

Magento\Translation\Model\ResourceModel\StringUtils

What it does

This class manages database operations for custom translation strings in Magento 2.

Developers use it to programmatically save, load, and delete translations for different store views and locales, allowing custom text overrides beyond default translation files.

It handles the translation table CRUD operations including store-specific translations and locale management.

Public Methods

  • load()
  • _afterLoad()
  • deleteTranslate()
  • saveTranslate()