MGS
Posts: 128
Joined: Tue Oct 04, 2022 9:52 am

Add dictionary using relative path to repository

Hi,

I want the following:
  • Add the additional installer data (= Repository) to version control
  • Add all translated strings to this location as well, thus as I understand it the un_de.ail, un_en.ail (for changes in the default English and German translations inside the Project Strings) and a dictionary.ail (containing all newly added resources)
For the first step, I had a look at the following link to move the repository location inside my version-controlled folder (that was easy):
https://www.advancedinstaller.com/user- ... nager.html

Next, to achieve the second step, I added my dictionary.ail to the "dictionaries" folder in the new Repository location. The "un_de.ail" and "un_en.ail" were already there. Next, I verified the paths to those dictionaries are correct in the Translations view.

It looked like this in the beginning:
[a long absolute path]\dictionary.ail
<AI_REPOSITORY>dictionaries\ui_de.ail
<AI_REPOSITORY>dictionaries\ui_en.ail
<AI_DICTS>ui_de.ail
<AI_DICTS>ui_en.ail
<AI_DICTS>ui.ail

Now, I wanted "dictionary.ail" to also be added like that: "<AI_REPOSITORY>dictionaries\dictionary.ail". How to achieve that? Always when I press "Add" it uses the absolute path. I also tried to use the import-button, but I couldn't figure out what it did, there were no obvious changes.

Best regards,
Johannes
Liviu
Posts: 1325
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Add dictionary using relative path to repository

Hello Johannes,

Sorry for the delayed reply on this.

I've tried to reproduce this, but it worked for me.

The Convert Paths option is not working as expected for you?
convert paths.png
convert paths.png (144 KiB) Viewed 6761 times

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MGS
Posts: 128
Joined: Tue Oct 04, 2022 9:52 am

Re: Add dictionary using relative path to repository

Hello Liviu,

No worries.

If I only use the "Add" button without the "Convert paths" option, the absolute path is added always. I overlooked the function (the buttons) to convert the absolute paths to relative paths. Thanks for pointing out these buttons, that worked great :)

Best regards,
Johannes
Liviu
Posts: 1325
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Add dictionary using relative path to repository

You're always welcome, Johannes!

Glad to hear that this has helped you.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”