Documentation

loadCustomMessages

 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

ParameterDescriptionVersion
$fileFile with phrases
$languageLanguage ID

Example



© «Bitrix24», 2001-2024
Up