CopyMessage
CTranslateUtils::CopyMessage( $code, $fileFrom, $fileTo, $newCode = '' );
The method copies a phrase for 4 languages: de, en, ru, ua. Non-static method.
Function parameters
Parameter | Description | Available from version |
---|---|---|
code | Code of the phrase that must be copied. | |
fileFrom | Path to the original file, where the phrase is located. | |
fileTo | Path to the file to which the phrase is copied. | |
newCode | New phrase code. |
Examples of use
CTranslateUtils::CopyMessage("AD_INSTALL_MODULE_NAME", "C:/Projects/local/bitrix/modules/advertising/install/install.php", "C:/Projects/local/bitrix/modules/advertising/install/index.php");
© «Bitrix24», 2001-2024