Re: embeding sessions AND language??
Thanks to the very useful documentation, I used Resource Hacker to embed a WINSCP_SESSION resource to a multilanguage winscp 4.0.7.370 executable.
Please note that there is only one executable. No special "multilanguage" one.
And tried both ES and SPANISH as Resource language.
It should make no difference.
If I put this executable alone on a folder, and place the .es translation file that comes with the installer with the same basename as the executable, nothing happens, it opens in english. I cannot find the .ini value where the application language is set, nor in the registry.
On clean system, WinSCP picks language according to system language.
The option to force language is LocaleSafe in [Configuration\Interface].
I noticed while trying that if I modded a multilanguage 4.0.5 winscp with resource hacker, then put the 4.0.7 .es file, winscp will warn about the translated file not being for this version...
You cannot combine translation file and executable of different versions.