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