Installation > Shortcuts > ShortcutName
How to localize those Shortcut names, i.e. make it so that those names are translated in the correct language of the user's system language?
How to localize Shortcut names?
-
- Posts: 14
- Joined: Sun Nov 17, 2019 5:15 pm
How to localize Shortcut names?
- Attachments
-
- ShortcutName.jpg
- (39.87 KiB) Not downloaded yet
Re: How to localize Shortcut names?
This feature is not supported.
We will try to add it in new versions.
But there is a little trick how to make shortcuts' name localized.
If the shortcut location is <ProgramGroup>\My App
We just rename it regarding the selected language.
Use System \ Commands:
Note the shortcut extension .lnk
Add this command for each language.
Also add a command to completely remove ProgramGroup folder: either select the option "Uninstallation \ Complete Uninstallation" or add on System \ Commands:
We will try to add it in new versions.
But there is a little trick how to make shortcuts' name localized.
If the shortcut location is <ProgramGroup>\My App
We just rename it regarding the selected language.
Use System \ Commands:
Code: Select all
File: <SystemDir>\cmd.exe
Parameters: /C IF /I <Language>==French (RENAME "<ProgramGroup>\My App.lnk" "My App in French.lnk")
Timing: Aftre Installation
Add this command for each language.
Also add a command to completely remove ProgramGroup folder: either select the option "Uninstallation \ Complete Uninstallation" or add on System \ Commands:
Code: Select all
File: <SystemDir>\cmd.exe
Parameters: /C rmdir /S /Q "<ProgramGroup>"
Timing: After Uninstallation
-
- Posts: 14
- Joined: Sun Nov 17, 2019 5:15 pm
Re: How to localize Shortcut names?
Thank you Leo.
It works, but at the end of installation really unaesthetic DOS cmd windows are appearing and flashing over the screen. So the workaround works but isn’t nice to look at
How to run cmd silently?
It works, but at the end of installation really unaesthetic DOS cmd windows are appearing and flashing over the screen. So the workaround works but isn’t nice to look at
How to run cmd silently?
Re: How to localize Shortcut names?
To hide the DOS window change the command's option Show to Hide.
-
- Posts: 14
- Joined: Sun Nov 17, 2019 5:15 pm
Re: How to localize Shortcut names?
Thank you again Leo.
Well, I should have known that. Shame on me
Well, I should have known that. Shame on me
-
- Posts: 14
- Joined: Sun Nov 17, 2019 5:15 pm
Re: How to localize Shortcut names?
OK, this works, but there is another inconvenience.Leo wrote: Also add a command to completely remove ProgramGroup folder: either select the option "Uninstallation \ Complete Uninstallation" or add on System \ Commands:Code: Select all
File: <SystemDir>\cmd.exe Parameters: /C rmdir /S /Q "<ProgramGroup>" Timing: After Uninstallation
After uninstalling the program with the Uninstall shortcut of MyProgram in the <ProgramGroup> folder of the Start menu, the empty <InstallDir> folder in <ProgramFiles> is not removed, not even with the command <SystemDir>\cmd.exe /C rmdir /S /Q "<InstallDir>" after Uninstallation. The empty folder IS removed when applying uninstall from Control Panel > Add/Remove Programs.
How to fix that?