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!

ElyCyan
Posts: 18
Joined: Tue Jun 26, 2012 12:49 am

Export Used Dialog Strings to a Dictionary

I've downloaded the trial version of AI so that I can evaluate it for use at my company. My localization team wants to review all of the strings used by the installer for the various languages we need to support (8+ at this point). The competitor product we are currently using had some bad default translations and we had to modify them in the past. If we move forward with using Advanced Installer, we want to make sure the installer is properly translated in the regions we're shipping to. What we don't want to do, however, is translate the entire string DB for Advanced Installer, just the strings for the dialogs and features we're using.

ui_en.ail has a LOT of strings we don't use, so translating all of it would be a lot of wasted effort. At the same time, I don't want to guess which ones I'll need and miss strings that make their way into the installer.

I found the option to generate a dictionary for untranslated project strings in the Translation section, but that only has the custom strings I added. I'm basically looking for a version of this generated dictionary that has those custom strings but also includes every project string I am actually using that Advanced Installer already supplies, so the localization team can review them and approve. Any ideas?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Export Used Dialog Strings to a Dictionary

Hello,

Unfortunately, we don't have a predefined support for this functionality. I'm afraid you should manually identify the desired translated string in the related .ail files.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ElyCyan
Posts: 18
Joined: Tue Jun 26, 2012 12:49 am

Re: Export Used Dialog Strings to a Dictionary

I've worked on this and I have custom dictionaries for each language I desire to use, which have pared down the number of key/value pairs to what I'm actually using. I'd like to force Advanced Installer to use these files instead of the default dictionaries, but I can't remove the default dictionaries from the project if their corresponding languages are selected.

What is the best option to proceed? Do I edit/overwrite the <AI_DICTS>*.ail files where they sit in my installation or is there another option?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Export Used Dialog Strings to a Dictionary

Hello,

In order to obtain what you want you should manually edit our translation dictionaries files. We are aware about this limitation and our development team already start working on it. We have added this improvement on our TODO list and it will be available in a future version of Advanced Installer.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ElyCyan
Posts: 18
Joined: Tue Jun 26, 2012 12:49 am

Re: Export Used Dialog Strings to a Dictionary

Hello!

I know this is a huge thread resurrection, but we finally got our license for Advanced Installer, so I am once again working to create installers. :D Half a year ago, you said you were working on this functionality. Has there been any progress on this?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Export Used Dialog Strings to a Dictionary

Hello,

Yes, our "Dialog editor" (which was included since version 9.6 of Advanced Installer) feature allows you to find and translate the default project strings within Advanced Installer UI. Just, go to "Translations -> Default Strings" tab, edit the desired default project string and save the changes in a dictionary from repository.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ElyCyan
Posts: 18
Joined: Tue Jun 26, 2012 12:49 am

Re: Export Used Dialog Strings to a Dictionary

I guess what I am looking for is a set of text files which I can give to a localization team which only has the dialog lines we are currently actually using (we don't want to have development time on dialogs we're not using, such as Sharepoint and SQL dialog strings).

I have a homebrew solution for this, where I took all the standard .ail dictionaries and I stripped xml blocks which we don't use. This is fine but I just want to make sure I'm not making this harder on myself.

I'm also trying to work with translating text we made in custom sequential dialogs. I've gotten them to show up in project strings, but I can only export "multilanguage" dictionary types. Is there a way to export these in a group of "singlelanguage" dictionaries, or do I need to make a script to transpose these entries into my custom dictionaries I made during the previous step?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Export Used Dialog Strings to a Dictionary

Hello,
I guess what I am looking for is a set of text files which I can give to a localization team which only has the dialog lines we are currently actually using (we don't want to have development time on dialogs we're not using, such as Sharepoint and SQL dialog strings).
Unfortunately, we don't have support for this.
I'm also trying to work with translating text we made in custom sequential dialogs. I've gotten them to show up in project strings, but I can only export "multilanguage" dictionary types. Is there a way to export these in a group of "singlelanguage" dictionaries, or do I need to make a script to transpose these entries into my custom dictionaries I made during the previous step?
I'm afraid you cannot export the related strings as a "singlelanguage" dictionary. You can export them as a "multilanguage" dictionary and, then (as you mentioned) you can try to parse the generated dictionary file using a custom script.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ElyCyan
Posts: 18
Joined: Tue Jun 26, 2012 12:49 am

Re: Export Used Dialog Strings to a Dictionary

Good news! I have done the script work and I now have dictionaries that are trimmed down and are being proofread/translated by our localization team as I type this.

I am not able to remove the <AI_DICTS> entries from the translation entries. I'd rather not have to replace the stock dictionaries in place, is there another way to only use my custom dictionaries?

If not, I assume that string translations have priority based on the dictionary listing in the Translation tab. Is that true?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Export Used Dialog Strings to a Dictionary

Hello,
I am not able to remove the <AI_DICTS> entries from the translation entries. I'd rather not have to replace the stock dictionaries in place, is there another way to only use my custom dictionaries?
I'm afraid you cannot remove our default dictionaries from "Dictionaries" tab.
If not, I assume that string translations have priority based on the dictionary listing in the Translation tab. Is that true?
Yes, this is true. Strings are searched by their localization identifiers in the dictionaries in a descending order.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”