But then you cannot make a multilingual assembly.ghisler(Author) wrote: 2024-12-01, 08:18 UTC It's therefore a better idea to put the tooltip text directly in the button bar configuration.
The tooltip for the button is not displayed from wcmd_lng.ini
Moderators: Hacker, petermad, Stefan2, white
Re: The tooltip for the button is not displayed from wcmd_lng.ini
Re: The tooltip for the button is not displayed from wcmd_lng.ini
2AkulaBig
As Ghisler writes:
I am sure that your button with "User panel" is the first button with an em_command in your .BAR file and that your button with "Settings" is the 4th button with an em_command in your .BAR file.No, the order in which the user command is placed does not matter. I have it 8 in the toolbar.
As Ghisler writes:
ghisler(Author) wrote:The reason why it works is that em_commands are assigned the numbers 10000, 10001 etc. in the order they are used.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: The tooltip for the button is not displayed from wcmd_lng.ini
Yes, sure. Line numbers starting from 10000 correspond to em_command order.petermad wrote: 2024-12-01, 15:56 UTC I am sure that your button with "User panel" is the first button with an em_command in your .BAR file and that your button with "Settings" is the 4th button with an em_command in your .BAR file.
Code: Select all
=WCMD_ENG.INC
;=========== Tooltip for tc em_commands
10000="User panel"
10001="View file under cursor"
10002="Open in Explorer"
10003="Settings"
Code: Select all
=WCMD_RUS.INC
;=========== Подсказка для tc em_commands
10000="Панель пользователя"
10001="Просмотр файла под курсором"
10002="Открыть в Проводнике"
10003="Настройки"
Re: The tooltip for the button is not displayed from wcmd_lng.ini
Support!petermad wrote: 2024-11-28, 22:08 UTC So it could be desirable, that if the"Tooltip" field for a button is blank, then the text at the menu= line in the [em_command] definition in WCMD_LNG.INI (secondary in usercmd.ini) would be used - but currently it is not the case.
Re: The tooltip for the button is not displayed from wcmd_lng.ini
This should be asked in a suggestion, to have a dedicated overwriting of em_cmd tooltip inside the WCMD_LNG file.
Today, you can out of the box define all the same as a usemcmd.ini inside a wcmd_ENG.ini this will give you language dependent user command. When you add a button with the em_cmd_LNG defined in WCMD_LNG.ini tootips come from it !
Today, you can out of the box define all the same as a usemcmd.ini inside a wcmd_ENG.ini this will give you language dependent user command. When you add a button with the em_cmd_LNG defined in WCMD_LNG.ini tootips come from it !
Re: The tooltip for the button is not displayed from wcmd_lng.ini
2nsp
This thread has been about finding a way to have the tooltip for already made buttons change when you change language - currently that does not happen.
I have now made a request for this feature: viewtopic.php?p=464860#p464860
This thread has been about finding a way to have the tooltip for already made buttons change when you change language - currently that does not happen.
I have now made a request for this feature: viewtopic.php?p=464860#p464860
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: The tooltip for the button is not displayed from wcmd_lng.ini
I will add reading of the tooltip from the em_command definition when the field is empty in the button definition. This way you can place the command in wcmd_language.lng to get different translations.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: The tooltip for the button is not displayed from wcmd_lng.ini
Great!ghisler(Author) wrote: 2024-12-03, 08:58 UTC I will add reading of the tooltip from the em_command definition when the field is empty in the button definition. This way you can place the command in wcmd_language.lng to get different translations.
Is it possible to do something to make STARTMENU multilingual and quick access directories? I'm already using the new icon assignment feature in STARTMENU. But I would like to have the option of a multilingual STARTMENU. And if you make quick access directories multilingual, then TC will become completely multilingual.
Moreover, first of all, I want to localize quick access directories. STARTMENU can be replaced with a simple menu item.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: The tooltip for the button is not displayed from wcmd_lng.ini
Currently I don't see a way to make STARTMENU multilingual internally. You could work with redirectsection and some environment variable.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: The tooltip for the button is not displayed from wcmd_lng.ini
Thank you! Works in TC 11.50RC1: for em_commands from wcmd_lng.ini and usercmd.ini.History wrote:03.12.24 Added: Button bar, em_command: Read tooltip from em_command definition if none is set for the button itself (32/64)
Re: The tooltip for the button is not displayed from wcmd_lng.ini
Yes, thank you for implementing this 

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: The tooltip for the button is not displayed from wcmd_lng.ini
The option works great. Thank you.
Re: The tooltip for the button is not displayed from wcmd_lng.ini
A question has arisen. How to write line breaks in a tooltip menu=...? In the button tooltip field it works like this:
"LMB - Restart as administrator|Ctrl+LMB - Restart menu"
"LMB - Restart as administrator|Ctrl+LMB - Restart menu"
Re: The tooltip for the button is not displayed from wcmd_lng.ini
2AkulaBig
Well you can write| as linebreaks in the menu= line and if you selcts a new em_command, then it will be transferred to the Button's "Tooltip" field.
But it is correct that the | characters are not supported as line breaks when the menu= is read directly from the em_command definition as applied in TC 11.50rc1
Well you can write| as linebreaks in the menu= line and if you selcts a new em_command, then it will be transferred to the Button's "Tooltip" field.
But it is correct that the | characters are not supported as line breaks when the menu= is read directly from the em_command definition as applied in TC 11.50rc1
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: The tooltip for the button is not displayed from wcmd_lng.ini
It's the em_command that interests me.