Page 2 of 2
Posted: 2014-03-13, 00:06 UTC
by MarcinW
Great news, thanks!
Posted: 2014-03-13, 00:34 UTC
by white
ghisler(Author) about the new OPENLANGUAGEFILE command wrote:I have added this now, but I will not put it in the totalcmd.inc file because it's not interesting for the normal user.
I disagree, I think it is interesting for the normal user.
Posted: 2014-03-13, 15:00 UTC
by ghisler(Author)
The function isn't currently checking the presence of the files. It just sets the name in the ini, and tells TC to re-load the language and menu. What I could do is make it take just a mnu file as parameter.
For your tests, just make copies of the lng files matching the names of the mnu files. They don't take much space. You can even make file system links with mklink if you prefer.
Posted: 2014-03-13, 15:51 UTC
by MarcinW
ghisler(Author) about the new OPENLANGUAGEFILE command wrote:will not put it in the totalcmd.inc file because it's not interesting for the normal user.
Well, this could be useful, when two persons share same user account, but use different languages (there may be no real need to create a new user account for a guest staying for just two days). Both persons may understand for example English, but keyboard shortcuts are language-specific, so it's easier to use own languages.
Posted: 2014-03-13, 16:06 UTC
by petermad
What I could do is make it take just a mnu file as parameter.
That would be fine for loading just menu files.
But it doesn't meet the problem when using lng file as parameter and there is no corresponding mnu file - then TC uses the build in English menu - it would be nicer if the current menu was still used in that situation.
Posted: 2014-03-13, 22:38 UTC
by HolgerK
ghisler(Author) wrote:I have added this now, ...
Many Thanks!
<Win+Alt+E><Win+Alt+D><Win+Alt+E>
Holger

Posted: 2014-03-14, 16:54 UTC
by ghisler(Author)
2petermad
It's an undocumented command just for translators - it shouldn't be a problem to create matching lng/mnu pairs for that purpose.
Posted: 2014-03-14, 20:24 UTC
by petermad
I think we'll find out that much more than translators will find it usefull - especially being able to switch custom menus could be usefull for anybody - one could then make custom menus for different tasks.
Posted: 2014-03-22, 01:31 UTC
by petermad
2
ghisler(Author)
What I could do is make it take just a mnu file as parameter.
That would be a nice addition if that implies that stating a mnu file only changes the Mainmenu= setting and leave the LanguageIni= setting untouched.