array Translation2::getLangs (
string $format = 'name'
)
Get some extra information about the languages (their full names, the localized error text, their codes...)
$format
['ids', 'names', 'array']
This function can not be called statically.