We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Localize a property with different values for multiple builds?

Is it possible to localize a property that has different values set for different builds? The localization ID doesn't appear to be build specific.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Localize a property with different values for multiple builds?

Hi,

Indeed, the localization ID is not build specific, however, you can achieve this by following the steps below:
- create a new property related to each build (i.e. PROP_BUILD1, PROP_BUILD2) and localize it to the values you need (you can do this in the "Translations" page, "Project Strings" tab if you use the "Select..." button and check the "Properties" segment)
- set your default property (i.e. MY_PROP) to use the value of the above properties per build
- right-click in the "Value" field of the default property, select "Localization..." and check the "Never translate this string" option
- build and run the project

I attached a sample project which implements this scenario, so you can take a look of its configurations.

Best regards,
Eusebiu
Attachments
Localize property per build.zip
(3.23 KiB) Downloaded 410 times
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Re: Localize a property with different values for multiple builds?

Ok great -- that works for me! Thanks!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Localize a property with different values for multiple builds?

You're welcome. Glad to help.

Just let me know if there is anything else that I can help you with.

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

Return to “Building Installers”