IncludeModuleLangFile( string abs_path, string lang = false )
The function IncludeModuleLangFile includes a language file into the calling script file. This function is usually used to connect language files to modules.
The included language file must have the same name as the script file from which the function is called. The included language file must reside in the following directory: /bitrix/modules/module ID/lang/language ID/file path relative to the module root
Parameter | Description |
---|---|
abs_path | Absolute path to file for which the language message file is to be included. |
lang | The language ID. Optional. By default, the current language is used (false). |
<? // Include language file into the current script IncludeModuleLangFile(__FILE__); ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |