I18n::translate()
Translates a given message according to the currently set locale
Parameters
Name | Type | Default |
---|---|---|
$key * | string |array |
– |
$fallback | string |array |null |
null |
$locale | string |
null |
Return type
string
|array
|null