Change of language from German to English: Options - General

Found a bug in "Everything"? report it here
Post Reply
tuska
Posts: 908
Joined: Thu Jul 13, 2017 9:14 am

Change of language from German to English: Options - General

Post by tuska »

If I change the language from German/Deutsch (Systemstandard) to English (UK) or English (US), then I get this view:
Everything_German-English_Options-General.png
Everything_German-English_Options-General.png (56.19 KiB) Viewed 25960 times
All other views seem to be alright.

If I reset the language from English to German, then I get back the usual view.

Please check.
Thank you in advance!

Regards
Karl

Everything Version 1.4.1.901 (x64) - portable use
Windows 10 Pro (x64) Version 1803 (OS build 17134.48)
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Change of language from German to English: Options - General

Post by NotNull »

Confirmed.

When changing languages, I get the UAC prompt. After accepting, Everything is running as administrator!
That is what causes these entries to differ.

Wotkarounds:
- Select No (oder "Nein") on the "Do you want application to make changes" UAC prompt

-or-

- Select Yes (oder "Ja") on the UAC prompt, close Everything completely and start Everything again.
tuska
Posts: 908
Joined: Thu Jul 13, 2017 9:14 am

Re: Change of language from German to English: Options - General

Post by tuska »

Thanks for the information.

It would be fine if the language change could be done without UAC prompt -
even more so where I use Everything portable and have full write permission to the folder.
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Change of language from German to English: Options - General

Post by NotNull »

I think you found a bug. My suggestions are just workarounds for that (for now).
I run Everything portable too, btw.
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Change of language from German to English: Options - General

Post by void »

It would be fine if the language change could be done without UAC prompt -
even more so where I use Everything portable and have full write permission to the folder.
This is a bug, thanks for bringing it to my attention.
Fixed for the next version Everything.

I've added to my TODO list: When the user changes language, Everything should update the Start menu shortcuts, Desktop shortcuts, Quick launch shortcuts and EFU associations.

Currently, changing the language will not remove the shortcuts in the old language and reinstall them with the new language.
You will need to do this manually.
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Re: Change of language from German to English: Options - General

Post by Stamimail »

I've added to my TODO list: When the user changes language, Everything should update the Start menu shortcuts, Desktop shortcuts, Quick launch shortcuts and EFU associations.

Currently, changing the language will not remove the shortcuts in the old language and reinstall them with the new language.
You will need to do this manually.
Why is that?
Programs usually uses the English name in their shortcuts.
Unless the EXE itself is given to download in local language.
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Change of language from German to English: Options - General

Post by void »

That is an option I could take, and just use "Everything" for the shortcut titles.

Currently, Everything shortcuts have the localized text "Search Everything" for the shortcut title.
The "Uninstall Everything" shortcut is also localized.
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Change of language from German to English: Options - General

Post by NotNull »

void wrote:That is an option I could take, and just use "Everything" for the shortcut titles.

Currently, Everything shortcuts have the localized text "Search Everything" for the shortcut title.
The "Uninstall Everything" shortcut is also localized.
Not sure, but isn't the shortcut on a system level (shell:"common programs") and Everything language a user setting?
Might give unexpected results on a multi-user system.
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Re: Change of language from German to English: Options - General

Post by Stamimail »

If the user select the Language in the installation process, I can more understand that.
Maybe that's only me that don't know. Do you know other program that does it?
I tested my MPC-HC program. The Hebrew localized shortcuts stays in Hebrew even when set the program to other Language.
Another question is, what will you do if the user customize the shortcuts folder.
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Change of language from German to English: Options - General

Post by void »

Currently Everything saves the start menu shortcuts in the user's start menu folder shell:start menu
I have on my TODO list to use the common start menu folder.

The localization/language setting needs to be a computer wide setting. Any user could change this setting and it will affect all users.
I'll keep a user setting too, that the user could manually change. -language command line option could also be used to override this setting.

This gets tricky with the default "User default" language, as Everything will need to keep track of what language Everything was installed with.
Changing the Windows Language should not change the "Everything" start menu shortcuts.
This settings should be the installation language of "Everything" and not a per user setting.

A side note, The installer doesn't actually install Everything, it simply passes relevant information to Everything.exe which does all the installation, such as installing start menu shortcuts, which makes the installer simple, and allows the General options page to do all the installation work, which can then be managed from within Everything..
Another question is, what will you do if the user customize the shortcuts folder.
Everything will only delete known shortcut filenames (eg: Search Everything.lnk), if the user has renamed the shortcut, Everything will not delete or rename it.
A new shortcut would likely be created when changing the language, so the user may end up with a new additional start menu shortcut link if they have renamed it already and have changed the language.
tuska
Posts: 908
Joined: Thu Jul 13, 2017 9:14 am

Re: Change of language from German to English: Options - General

Post by tuska »

2void
Thank you for your efforts! :)

In 'Everything' version 1.5.0.1253a (x64) only this point is now open for me:

When I change the language from German to English, the status of option box 'EFU file association' changes.
A language <> system standard or German (system standard) changes the status of option box from "tick-checked" to "square-checked".
2021-04-12_Change of language_option box_EFU file association.png
2021-04-12_Change of language_option box_EFU file association.png (41.58 KiB) Viewed 22946 times
 
Can this please be set so that the status of this option box remains "tick-checked"?
Thank you!
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Change of language from German to English: Options - General

Post by void »

Changing the language changes the Description text for the EFU file association.
Specifically it's the (Default) value for:
HKEY_CLASSES_ROOT\Everything.FileList
This is the text shown for the file "Type".

Everything will see the EFU file association as partially installed after changing the language.

You will need to change the EFU file association to tick-checked and click Apply to update the EFU file association with the new localized description text.

I would like to avoid changing the system when changing the language in Everything.
You will need to manually reinstall each component after changing the language.

Are you changing the language often?

-This issue will also effect the folder context menu option.
However, localization for this option has not been implemented yet.
tuska
Posts: 908
Joined: Thu Jul 13, 2017 9:14 am

Re: Change of language from German to English: Options - General

Post by tuska »

Thank you for the explanations!
void wrote: Mon Apr 12, 2021 10:31 am I would like to avoid changing the system when changing the language in Everything.
OK, no problem for me.
void wrote: Mon Apr 12, 2021 10:31 am Are you changing the language often?
Yes, because I need the exact names of options and menu items for forum posts, mainly in the Total Commander Forum.

Since this option also works when displayed as "square-checked" when using the English language,
I consider this issue closed for me.

Thanks again!
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Change of language from German to English: Options - General

Post by NotNull »

Another approach: install .EFU file association and context menu entries system wide. Make the langage specific "presentation" a user setting.
That way you don't even have to elevate when the language changes.

Here is how (warning: largely untested, but based on experience this mechanism should work):
As HKCR is HKCU\Software\Classes superimposed on HKLM\Software\Classes, you can do the following (view end result under HKCR)
(Will need a shell refresh afterwards to propagate the changes)

System registry:

Code: Select all

Windows Registry Editor Version 5.00

;=================================================================== EFU association



[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.efu]
@="Everything.FileList"
"Content Type"="text/plain"
"PerceivedType"="text"





[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Everything.FileList]
@="Everything File List"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Everything.FileList\DefaultIcon]
@="C:\\Tools\\Everything\\Everything.exe, 1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Everything.FileList\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Everything.FileList\shell\edit]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Everything.FileList\shell\edit\command]
@="\"C:\\Tools\\Everything\\Everything.exe\" -edit \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Everything.FileList\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Everything.FileList\shell\open\command]
@="\"C:\\Tools\\Everything\\Everything.exe\" -filelist \"%1\""




;=================================================================== Context menu



[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\SearchEverything]
"Icon"="C:\\Tools\\Everything\\Everything.exe,0"
"MUIVerb"="Search Everything ..."

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\SearchEverything\command]
@="\"C:\\Tools\\Everything\\Everything.exe\" -path \"%V\""



[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\SearchEverything]
"Icon"="C:\\Tools\\Everything\\Everything.exe,0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\SearchEverything\command]
@="\"C:\\Tools\\Everything\\Everything.exe\" -path \"%1\""



User registry

Code: Select all

Windows Registry Editor Version 5.00


;=================================================================== EFU association

[HKEY_CURRENT_USER\SOFTWARE\Classes\Everything.FileList]
"FriendlyTypeName"="Localized Everything File List"



;=================================================================== Context menu

[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\SearchEverything]
"MUIVerb"="Localized Search Everything ..."

[HKEY_CURRENT_USER\SOFTWARE\Classes\Folder\shell\SearchEverything]
"MUIVerb"="Localized Search Everything ..."

EDIT:
As said: largely untested; HKEY_CURRENT_USER\SOFTWARE\Classes\Folder\Background\shell\SearchEverything should be HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\SearchEverything
Already fixed in the regfiles above.



Sidenote: there is something serious off/wrong with the elevation of the Options dialog settings. Will post details tomorrow
Post Reply