public static
\Bitrix\Main\Localization\Loc::loadCustomMessages(
$file,
null $language = null
);
Static method loads customized phrases from file to re-write messages by their IDs.
Parameters
Parameter | Description | Version |
$file | File with phrases | |
$language | Language ID | |
Example