I18n::translation()
Returns the current or any other translation by locale. If the translation does not exist yet, the loader will try to load it, if defined.
I18n::translation(string $locale = null): array
Parameters
Name | Type | Default |
---|---|---|
$locale | string |
null |
Return type
array