IncludeTemplateLangFile( string abs_path, string lang = false )
The function IncludeTemplateLangFile includes a language file into scripts which are located in the current site template folder. This function is usually used with components, or the site prologue or epilogue.
The function searches for the language file in the following locations.
Commonly, a "relative path to script" is the path to file relative to folder /bitrix/templates/current site template ID/.
|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 component // The language file is assumed to be stored in standard location IncludeTemplateLangFile(__FILE__); ?>
|© 2001-2005 Bitrix||Bitrix Site Manager - Content Management & Portal Solutions|