karlf
Posts: 30
Joined: Tue Nov 01, 2016 7:30 pm

Build Translation Language Property

Mon Apr 23, 2018 5:53 pm

Hello,

I am wondering if there is a property that I can reference that will expose the language the build is currently being built/run in. Currently, I am translating an installer from English into Chinese. In the future it is expected to expand to other languages as well. In our installer, we have a custom action using a vbs script that does some work and displays a pop up message. Currently the message is hardcoded in English. I'm wondering if there is a way to pass in a variable or build property that resolves to the current language that is being built. That way I could map that variable to the appropriate language string to display in our message and display it in English when the installer runs in English, Chinese when running Chinese, etc..

Thanks

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Build Translation Language Property

Tue Apr 24, 2018 3:26 pm

Hi,

In order to get the code of the language used by an installer you can use the "ProductLanguage" property.

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

Return to “Building Installers”