Translation with dictionary files - Advanced Installer Community
launila
Posts: 5
Joined: Fri Nov 30, 2012 2:02 pm

Translation with dictionary files

Hello

I've already read how to -documents and help but could not found answer for my questions.

I have noticed some problems when using multiple translation files (ail file). If I have same ID in two files and any of those files has its tanslation as empty string ("") then ID is shown instead of found translation. It is very big job to every time remove empty strings from all ail files to make AI work correctly for my project.

Sometimes it is not possible to get all tanslations ready before release so it would be good to have possibility that installer handles empty strings as default values instead of showing id (which is almost always too long to fit to buttons).

How should I manage files to make only one ail file for project and that would have all strings and empty strings won't give problems for production releases?

After I add some new translated strings and create new ail file is there any way to combine new and old file to same file? I mean that after few iterations there would be many small ail files and that's not good.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Translation with dictionary files

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can take a look on our "Localize a property's value" article which may be helpful for you.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
launila
Posts: 5
Joined: Fri Nov 30, 2012 2:02 pm

Re: Translation with dictionary files

Daniel.Radu wrote:Hello and welcome to Advanced Installer forums,
In order to achieve what you want you can take a look on our "Localize a property's value" article which may be helpful for you.
Thanks for answer. I've done ail files but if I add new components to dialogs or remove old ones how can I update those changes to existing ail file?

Second thing I'm wondering is that should I create ail file for AI default strings?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Translation with dictionary files

Hello,
Thanks for answer. I've done ail files but if I add new components to dialogs or remove old ones how can I update those changes to existing ail file?
If you add new properties, then you can use our "Project Strings -> Dictionary Strings" editor to edit and then save the related properties values in the existing .ail file. If you remove existing localized properties and you want to remove them from the .ail file then you can manually edit the .ail file or recreate it from "Project Strings" tab.
Second thing I'm wondering is that should I create ail file for AI default strings?
Please keep in mind that you can translate the default string that are not already translated using our "Dictionary Strings" editor from "Default Strings" tab and then use the link button "Save changes in a dictionary from repository".

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

Return to “Common Problems”