Language files of component
Components include the language
files using the function IncludeTemplateLangFile.
This function searches for language files using the following algorithm:
- Firstly, language file is looked up in the folder
/bitrix/templates/current site template ID/lang/language
ID/path to component
- If the file cannot be found, it is looked up in the folder
/bitrix/templates/.default/lang/language ID/path to
component
- Then, if the file still cannot be found, the following folder is searched:
/bitrix/modules/module ID/install/templates/lang/language
ID/path to component
The "
path to component" description can be found in
this
topic.