CH_F
Posts: 9
Joined: Fri Dec 07, 2012 11:56 am

Localization in Maintenance-Dialog

It seems that the 3 buttons for add/remove, repair/install and remove in the maintenance dialog don't have the right values for the text-property. If I select the german translation for example, the text of the buttons still remain the same. It works when I set the text-property of the remove button to [ButtonText_Remove] for example. Should be the default or I'm wrong?
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Localization in Maintenance-Dialog

Hi,

I'm afraid I don't fully understand what is your scenario. Can you please give us more details about your scenario?

It would help us to know the theme and the version of the Advanced Installer you use and also which of the "Remove" buttons do you mean (the one in the "MaintenanceTypeDlg" or the one in the "VerifyReadyDlg").

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
CH_F
Posts: 9
Joined: Fri Dec 07, 2012 11:56 am

Re: Localization in Maintenance-Dialog

Sorry, it's in the "MaintenanceTypeDlg" and I use Advanced Installer 9.7. The theme is called "Modern > LightCyan".

I think the value of the text-property should be [ButtonText_Remove] by default in order to support multiple translations. Otherwise the fix value of "Remove" is used, no matter which language is selected...
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Localization in Maintenance-Dialog

Hi,

The "Modern > LightCyan" theme is recently added and unfortunately we don't have translation for all the strings in it.

There are to solution you can use as a workaround:

1. You can use the default properties as you did for the "Remove" button, but keep in mind that those properties doesn't match perfectly with the strings in this theme (i.e. "Modify" instead of "Add or Remove Features" in English and "Weiter" instead of "Hinzufügen oder Entfernen von Funktionen" in German).

OR

2. You can create a translation for the strings in other languages by following the next steps:
- go to the Translation page in the "Project Strings" tab
- click the [Select] button
- in the newly dialog appeared check the "User Interface" checkbox and click [OK]
- click the [Create] button to create a new dictionary (English checked, German unchecked)
- go in the "Default Strings" tab
- click on the "German (Germany)" column (the untranslated strings will be displayed first)
- in the selected column double-click on each row you want to translate and enter your translation
- build and run the project

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
CH_F
Posts: 9
Joined: Fri Dec 07, 2012 11:56 am

Re: Localization in Maintenance-Dialog

Suggestion 1 is ok for me. Thanks a lot!
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Localization in Maintenance-Dialog

You're welcome. Glad to help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”