R
R
Rus2018-09-03 16:40:12
1C-Bitrix
Rus, 2018-09-03 16:40:12

How to change the title of the Bitrix 24 KP page?

B24 there is a My Drive section, how can I change the title of this section?
5b8d399c8e628165237071.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2018-09-24
@Ruslan_Yu

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'] = 'Документы';

Reset the site cache and that's it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question