How can I localize feature description?

Having trouble running Advanced Installer? Got a bug to report? Post it all here.

How can I localize feature description?

Postby AlexN » Tue Aug 21, 2012 11:35 am

How can I localize feature description text?
AlexN
 
Posts: 67
Joined: Mon Aug 20, 2012 2:05 pm

Re: How can I localize feature description?

Postby Daniel » Tue Aug 21, 2012 1:49 pm

Hello,

In order to achieve this go to "Organization" page and select the related feature. From "Feature Properties" right pane select "Description" field and from its context menu choose "Localization..." option. Now enable the "Always translate this string" and "Using specified localization identifier" options.

Also, you can take a look on our "Localize a property's value" article in order to achieve what you want.

All the best,
Daniel
Daniel Radu
Advanced Installer Team
http://www.advancedinstaller.com/
Daniel
 
Posts: 2006
Joined: Mon Apr 02, 2012 1:11 pm

Re: How can I localize feature description?

Postby AlexN » Tue Aug 21, 2012 1:53 pm

Go to the Languages tab of the "Translations" page and click the [ Select... ] button.
In the "Localization Options" dialog check the Properties option.

I want to translate only my new properties not the all one.
AlexN
 
Posts: 67
Joined: Mon Aug 20, 2012 2:05 pm

Re: How can I localize feature description?

Postby AlexN » Wed Aug 22, 2012 8:08 am

I have found in "ail" file this entry:
<ENTRY id="Property.Manufacturer">
If I will change Company Name in the Product Detail what text must be used?

The same is for product name
<ENTRY id="Property.ProductName">
AlexN
 
Posts: 67
Joined: Mon Aug 20, 2012 2:05 pm

Re: How can I localize feature description?

Postby Daniel » Wed Aug 22, 2012 11:16 am

Hello,

Please keep in mind that the values, for the project language, of the "Property.Manufacturer" id and "Property.ProductName" id from .ail dictionary file are those specified in the "Company Name" and "Product Name" fields when the related dictionary is created.

All the best,
Daniel
Daniel Radu
Advanced Installer Team
http://www.advancedinstaller.com/
Daniel
 
Posts: 2006
Joined: Mon Apr 02, 2012 1:11 pm

Re: How can I localize feature description?

Postby AlexN » Wed Aug 22, 2012 11:46 am

That was the question.
What will be used in installer: localized "Manufacturer" value or value from the Product Details page?
AlexN
 
Posts: 67
Joined: Mon Aug 20, 2012 2:05 pm

Re: How can I localize feature description?

Postby Daniel » Fri Aug 24, 2012 7:18 am

Hello,

If you run the installation package in project language, then it will be used the values from "Product Details" page. Otherwise, it will be used the translated values, from dictionary file (.ail file), of the others used languages.

All the best,
Daniel
Daniel Radu
Advanced Installer Team
http://www.advancedinstaller.com/
Daniel
 
Posts: 2006
Joined: Mon Apr 02, 2012 1:11 pm

Re: How can I localize feature description?

Postby AlexN » Fri Aug 24, 2012 8:10 am

Thanks, I expected it :(
Some values like Manufacture name must be generic for our script and must come from CI server. As defualt translation is empty we could receive an empty field
AlexN
 
Posts: 67
Joined: Mon Aug 20, 2012 2:05 pm


Return to Common Problems

Who is online

Users browsing this forum: Daniel, Google [Bot] and 6 guests