Localization of Messagebox strings and error messages - Advanced Installer Community
Balaji
Posts: 54
Joined: Wed May 06, 2020 9:15 am

Localization of Messagebox strings and error messages

Hi,
I am trying to create a multilingual package.
I have converted all the properties. But, I am not able to support message box strings for other locale.
Is there any way to support message box and error message for other locale?
Please let me know your comment on this asap.

Thanks,
Balaji
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Localization of Messagebox strings and error messages

Hello Balaji,

In order to translate the MessageBox's strings, you might need to pass those strings as installer properties and then localize the property's string.

For instance, let's talk about the MessageBox's title. In order to set its' title, you could create a property in "Install Parameters" page, e.g.:

Property: TITLE
Value: My Title


After doing so, please go to "Custom Actions" page and set the messagebox title using the earlier created property.

title.png
title.png (111.01 KiB) Viewed 1984 times

After doing so, please go back to "Install Parameters" page --> double click on your property --> right click in the "Value" field --> "Localization..." --> select the "Always translate this string - Using default localization identifier" option.

Now please go to "Translations" page --> "Project Strings" tab --> find the string for your property and translate it.

titleTranslate.png
titleTranslate.png (49.7 KiB) Viewed 1984 times

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”