- Todo:
- change this interface when i18n-related logic is moved to library
Definition at line 11 of file TranslateInterface.php.
◆ getData()
Retrieve translation data
- Returns
- array
Implemented in Translate.
◆ getLocale()
Retrieve locale
- Returns
- string
Implemented in Translate.
◆ getTheme()
Retrieve theme code
- Returns
- string
Implemented in Translate.
◆ loadData()
loadData |
( |
|
$area = null , |
|
|
|
$forceReload = false |
|
) |
| |
Initialize translation data
- Parameters
-
string | null | $area | |
bool | $forceReload | |
- Returns
- \Magento\Framework\TranslateInterface
Implemented in Translate.
◆ setLocale()
Set locale
- Parameters
-
- Returns
- \Magento\Framework\TranslateInterface
Implemented in Translate.
◆ DEFAULT_STRING
The documentation for this interface was generated from the following file: