I18n::template()
Translate by key and then replace placeholders in the text
Parameters
Name | Type | Default |
---|---|---|
$key * | string |
– |
$fallback | string |array |null |
null |
$replace | array |
null |
$locale | string |
null |
Return type
string