make wcmd_xxx.chm files work from any folder

Here you can propose new features, make suggestions etc.

Moderators: white, sheep, Hacker, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 10676
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

make wcmd_xxx.chm files work from any folder

Post by *petermad »

AS it is now TC treats wcmd_xxx.lng, wcmd_xxx.mnu, wcmd_xxx.inc and wcmd_xxx.ini as a unit, even if the files are not located in TC's Language directory.

That is if I have the four files in for example c:\test and I load c:\test\wcmd_xxx.lng (using the OPENLANGUAGEFILE command), then the 3 corresponding files from c:\test is used by TC.

But if I also have a wcmd_xxx.chm file in c:\test that help file is not used when I load c:\test\wcmd_xxx.lng - it will only be used if it is located in %COMMANDER_PATH%\Language\

It would be nice if a wcmd_xxx.chm file could be loaded from the same directory as the wcmd_xxx.lng file
License #524 (1994)
Danish Total Commander Translator
TC 10.00 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H1) 64bit, 'Everything' 1.4.1.1009 (x64)
TC 3.23 on Android 6 & 11
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 41391
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: make wcmd_xxx.chm files work from any folder

Post by *ghisler(Author) »

This should be doable, thanks for the suggestion.
Author of Total Commander
http://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 10676
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: make wcmd_xxx.chm files work from any folder

Post by *petermad »

ghisler(Author) wrote: 2021-06-20, 06:49 UTC This should be doable, thanks for the suggestion.
Thanks :) - of course if no .chm file is found in the c:\test directory in the example above, then TC should look in %COMMANDER_PATH%\Language for a .chm file that matches the language, as it is currently done.

And support for wcmd_xxxDark.chm files in the c:\test directory would also be appreciated.
License #524 (1994)
Danish Total Commander Translator
TC 10.00 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H1) 64bit, 'Everything' 1.4.1.1009 (x64)
TC 3.23 on Android 6 & 11
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply