Documentation

getDefaultLang

string public static
\Bitrix\Main\Localization\Loc::getDefaultLang(
 string $lang
);

Static method returns default replacement language for other languages. Message on default language is used when message on a selected language is not found.

Parameters

ParameterDescriptionVersion
$langMessage on the selected language.

Example



© «Bitrix24», 2001-2024
Up