Bitrix Site Manager

Language files

For use by the module administrative scripts, language files must be stored in the following directory: /bitrix/modules/module ID/lang/language ID/

The language files must reside in the same directory as the files that include them, relative to /bitrix/modules/module ID/. In this case, the language files may only be included using the function IncludeModuleLangFile.

For example, for the script:

/bitrix/modules/module ID/admin/body/my_script.php

the language file must be:

/bitrix/modules/module ID/lang/language ID/admin/body/my_script.php

The language file must be included using the code:

IncludeModuleLangFile(__FILE__);