Translation2::getLang
Translation2::getLang() – get lang info
Synopsis
require_once 'Translation2.php';
mixed Translation2::getLang (
string $langID
= null
, string $format = 'name'
)
Описание
Get some extra information about the language (its full name, the localized error text, ...)
Parameter
-
string
$langID
-
-
string
$format
-
['name', 'meta', 'error_text', 'array']
Return value
returns [string | array], depending on $format
Замечание
This function can not be called statically.