Log in
Model

Translate

Magento\Translation\Model\ResourceModel\Translate

What it does

This resource model manages database operations for translation strings in Magento 2.

Developers use it to retrieve translated text from the translation table, get translation arrays filtered by store and locale, and fetch translations for specific strings.

It's the data layer that powers Magento's translation system, combining database translations with configuration-based translations.

Public Methods

  • getTranslationArray()
  • getTranslationArrayByStrings()
  • getMainChecksum()
  • getConnection()