changing default strings - Advanced Installer Community
Ralf Jansen
Posts: 4
Joined: Wed May 14, 2014 12:05 pm

changing default strings

Hi,

i was trying to change an existing text in the default language for my installer. So i went to the User Interface/Translations/Default Strings section changed the string and saved it to a dictionary. I can see the dictionary on the Dictionaries tab and can lookup the content of that dictionary and can see that it contains my changed string. But it won't get used? For completeness the default language is en. The setup is only for en and the Text i was trying to change was 'I accept the terms in the License Agreement'.

Whats the correct way in changing the existing strings for a language? At best in a way that i don't have to change the original dictionary (i tried that and that works) and can put the changed strings into a place that can be easily used from a build process. Means that it can be checked out to any place (relatively to the aip file) and used while building the product and the setup.

Thanks
Ralf
Irina
Posts: 113
Joined: Mon Apr 27, 2015 11:42 am

Re: changing default strings

Hi Ralf,

In order for the changes to be taken into account, you have to reload (close and reopen) your project, so that the dictionaries will be reloaded too.

As you can see in the Dictionaries tab, when you change a string from the Default Strings tab, your changes are saved in a separate dictionary (located in C:\ProgramData\Caphyon\Advanced Installer\Repository\dictionaries) , not in the default one (from the Advanced Installer resources).

You can take that dictionary and move it in another place, and then importit from the new path, if you like.

If you have other questions, please let me know.

Kind regards,
Irina
Ecaterina Irina Grosu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Ralf Jansen
Posts: 4
Joined: Wed May 14, 2014 12:05 pm

Re: changing default strings

Hi Irina,

reloading the project helps. Thanks for the help.

After adding the dictionary it is shown as an absolute path but seems to be, looking into the aip, stored as relative path. Is that always the case and i can rely on that or is there some sort of rule when the path is stored relative to the aip file and when its stored as absolute path?

Regards
Ralf
Irina
Posts: 113
Joined: Mon Apr 27, 2015 11:42 am

Re: changing default strings

Hi Ralf,

Paths are stored (in AIP) by default as *relative* to the project file (AIP), if they reside on the same logical drive as the AIP.
Otherwise, they are stored in absolute form.

Check available options of the project path.

Also, be aware, that if you use project app paths (symbolic variable paths), they may be subject to environment changes (dependent on the machine where you open the project) - this being the intended behavior.

You can check also the project resource files policy.

Let me know if I can help you more.

Kind regards,
Irina
Ecaterina Irina Grosu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”