TC installation in native language
Moderators: white, Hacker, petermad, Stefan2
TC installation in native language
I still can't understand why TC during installation does not suggests current system language. It always suggests English. Many new programs detects the language and choose it as default.
If there is already installed older version of TC it could check the language and choose the one form .ini file.
If there is already installed older version of TC it could check the language and choose the one form .ini file.
- ghisler(Author)
- Site Admin
- Posts: 48232
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is actually already done! English is only suggested for new installations.If there is already installed older version of TC it could check the language and choose the one form .ini file.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48232
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, custom lng files cannot currently be detected by the installer...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Well, it doesn't seem to work correctly.
I've got a line LanguageIni=wcmd_pol.lng and it still suggests English version during installation.
I use config file located in %USERPROFILE%\wincmd.ini.
It's defined both in HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER proper keys.
I think it could check not only standard language files but all files with names built like this:
anythinghere_pol.lng
or
wcmd_anythinghere_pol.lng
I think more and more TC users use non-standard lang files.
I've got a line LanguageIni=wcmd_pol.lng and it still suggests English version during installation.
I use config file located in %USERPROFILE%\wincmd.ini.
It's defined both in HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER proper keys.
I think it could check not only standard language files but all files with names built like this:
anythinghere_pol.lng
or
wcmd_anythinghere_pol.lng
I think more and more TC users use non-standard lang files.
- ghisler(Author)
- Site Admin
- Posts: 48232
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Neither at mine.djk wrote:Thanks
Any idea why it doesn't work with standard file at my computer?
Another thing, each time I install a new version I have to select, that I DON'T want to install other language files. It would be nice if the installer could remember that setting.
Cezariusz Marek
https://midicat.net/
https://midicat.net/
- ghisler(Author)
- Site Admin
- Posts: 48232
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
How is your wincmd.ini location defined? The installer can only detect it when it's set in the registry, otherwise it will look in the windows dir. It cannot find the ini if it's set via a command line parameter, or via UseIniInProgramDir line in wincmd.ini.Any idea why it doesn't work with standard file at my computer?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48232
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
That's very strange, perhaps it's not found because of the environment variable? I will check that.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
It uses entries from HKEY_CURRENT_USER - I've changed manually InstalDir and it suggested the new path for installation but still wants to install English version.
I've also changed the path in IniFileName replacing variable with full path - still wrong behaviour.
I've tried it at two different computers - twice failed
Maybe it simply doesn't like Polish
I've also changed the path in IniFileName replacing variable with full path - still wrong behaviour.
I've tried it at two different computers - twice failed
Maybe it simply doesn't like Polish
- ghisler(Author)
- Site Admin
- Posts: 48232
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
OK, I think that I found the problem. Could you please try the following installer?
https://plugins.ghisler.com/beta/install.exe.zip
Download it, unzip it, then open the public beta 2 installer with ctrl+pagedown and copy the new install.exe inside.
Thanks!
https://plugins.ghisler.com/beta/install.exe.zip
Download it, unzip it, then open the public beta 2 installer with ctrl+pagedown and copy the new install.exe inside.
Thanks!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
Thanks. It works correctly now It detects Polish.
Unfortunately, there is one problem. I've noticed that there are at least two languages (Czech and Slovak) with two-letters language tags (Wcmd_cz and Wcmd_sk) and it doesn't work for these languages.
Maybe the easiest way would be changing it into eg. _cze and _slk?
Thanks. It works correctly now It detects Polish.
Unfortunately, there is one problem. I've noticed that there are at least two languages (Czech and Slovak) with two-letters language tags (Wcmd_cz and Wcmd_sk) and it doesn't work for these languages.
Maybe the easiest way would be changing it into eg. _cze and _slk?