Log in
Model

StringUtils

Magento\Translation\Model\StringUtils

What it does

This model represents a single translation string in Magento 2's database-driven translation system.

Developers use this class when programmatically managing custom translations, allowing them to store, retrieve, and modify translated text strings for specific locales and store views.

It serves as the data model for the translation_string database table.

Public Methods

  • setString()
  • getString()