Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Suppose we want to replace "My Disk" with "Documents" for the Russian language. Using the documentation , we know that we need to do the following:
1) Create a language file
2) Extract all language phrases.
Create a file: /local/php_interface/user_lang/ru/lang.php
With the following content:
<?php
/**
* Из модуля disk
*/
$MESS['/bitrix/modules/disk/lang/ru/lib/uf/controller.php']['DISK_UF_CONTROLLER_MY_DOCUMENTS'] = 'Документы';
$MESS['/bitrix/modules/disk/lang/ru/lib/proxytype/user.php']['DISK_PROXY_TYPE_USER_TITLE_CURRENT_USER'] = 'Документы';
$MESS['/bitrix/components/bitrix/disk.uf.file/lang/ru/component.php']['WD_MY_LIBRARY'] = 'Документы';
$MESS['/bitrix/components/bitrix/disk.uf.comments.attached.objects/lang/ru/component.php']['WD_MY_LIBRARY'] = 'Документы';
$MESS['/bitrix/components/bitrix/disk.bitrix24disk/lang/ru/component.php']['WD_DISK_HISTORY_OPEN_DISK'] = 'Открыть документы';
/**
* Из модуля intranet
*/
$MESS['/bitrix/modules/intranet/lang/ru/public/docs/.left.menu_ext.php']['MENU_DISK_USER'] = 'Документы';
$MESS['/bitrix/modules/intranet/lang/ru/public/.left.menu_ext.php']['LEFT_MENU_DISC'] = 'Документы';
$MESS['/bitrix/modules/intranet/lang/ru/public_bitrix24/docs/.left.menu_ext.php']['MENU_DISK_USER'] = 'Документы';
$MESS['/bitrix/modules/intranet/lang/ru/public_bitrix24/extranet/.superleft.menu_ext.php']['MENU_FILES'] = 'Документы';
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question