[ProductName] does not resolve correct - Advanced Installer Community

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!

ztaff
Posts: 8
Joined: Wed Dec 13, 2006 5:25 pm

[ProductName] does not resolve correct

The string "The [Wizard] will install [ProductName]" is shown as
"The Setup Wizard will install Property.ProductName" in the first dialog.

Default language is Swedish and that works fine, but trying the other languages, English and Danish shows the same "Property.ProductName" instead of the name.
This is the same in the individual packages as well as in the compound package with all languages.

AV version 4.5

Any hints in what I'm doing wrong?
TIA
/Staffan
ztaff
Posts: 8
Joined: Wed Dec 13, 2006 5:25 pm

It's a bug!

Now I've upgraded to 5.0 and created a brand new project.
I have found out the following: When having non 7 bit ASCII in product name [ProductName] it resolves into "Property.ProductName" instead of the correct string ("LäraNära" in my case).

This ONLY happens in packages for non default languages.

Hoping for a fix in the near future
Greetings
/staffan
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,
I have found out the following: When having non 7 bit ASCII in product name [ProductName] it resolves into "Property.ProductName" instead of the correct string ("LäraNära" in my case).
Indeed, by design, when a localizable string contains non-ASCII characters, its Localization Identifier is used in case the respective string is not translated in the any one of the additional languages.

One method would be to create a dictionary containing the untranslated strings (at least the Manufacturer, the ProductName and the ARPCOMMENTS will not have a translation) and provide a translation for them. This can be done by clicking "Create" in the Translations page, "Languages" tab. Make sure that only "Swedish" is selected in the "Languages To Start From" list. The dictionary file that is created by the wizard will be automatically included in the project. Open it with a text editor and provide a translation for the untranslated strings, then save the AIL file as UTF-8. Build the project and run the appropriate MSI package.

Another method would be to specify that some strings should never be translated (in your case, the ProductName). In order to do so, click "Select" in the Translations page, "Languages" tab and select the "Enable per-element localization options" checkbox. Switch to the Product Details page and click the Flag button at the right of the "Product Name" field. Select "Never translate this string" in the "Localization" dialog. This should also be done for any other untranslated strings.

Hope this helps.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
ztaff
Posts: 8
Joined: Wed Dec 13, 2006 5:25 pm

Tnx

Thanks - I was not aware of this
/Staffan

Return to “Common Problems”