Ingmar
Posts: 2
Joined: Sun Jan 20, 2008 8:44 pm

Localize name of shortcut

Hello,

I would like to localize the name of a shortcut for my application, but I am currently not able to make this work.

The help for the "Edit Shortcut Properties" dialog says that it is possible to localize the "Name" value, but it does not describe exactly how to do this.

Does anybody have some hints on that topic? Or maybe a short step-by-step guide?

Thanks in advance.
Ingmar
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Here are the steps:
- you go to the "Translations" page and in the "Languages" tab you select the languages you need
- click the "Select" button and set the "Enable per-element localization options" option
- go to the "Files and Folders" page, create the shortcut and click the localization button next to the "Name" field (the button with a flag and an arrow)
- in the "Localization" dialog set the "Always translate this string" and "Using specified localization identifier" options (for this example the identifier is set to "test.identifier")
- go to the "Translations" page an click the "Create" button (under the "Select" button)
- follow the wizard and create a dictionary
- open the generated dictionary with a text editor and find the "test.identifier" identifier
- the value of this identifier (shortcut name) is set for the base language (usually English)
- you now set the values for the other languages (for example, for Italian you will have the lang="it" attribute)

You can read more about this here:
http://www.advancedinstaller.com/user-g ... guage.html
http://www.advancedinstaller.com/user-g ... ialog.html
http://www.advancedinstaller.com/user-g ... ialog.html
http://www.advancedinstaller.com/user-g ... tring.html

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Ingmar
Posts: 2
Joined: Sun Jan 20, 2008 8:44 pm

Thank you very much, Cosmin. Works perfectly!

Cheers
Ingmar

Return to “Common Problems”