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!

sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Localization of "Default Strings" that have been changed

I am starting the process of localizing my installer. What I had hoped was that I could export all custom strings to a dictionary, send that off to our translators, and import the translated strings. However, I am realizing that this does not seem possible.

I started with several standard dialogs, and I've modified several of the strings on those dialogs. Now I see that those strings appear in the "Default Strings" tab and not the "Project Strings" tab as I would have expected. Since the strings have been modified, and since the default translations for those strings are still associated with them (despite the fact that the original strings have been changed and the default translations are no longer valid), they do not get exported as untranslated strings, and my only option would be to edit them directly in the "Default Strings" table.

So it seems to me that my options are:
1) Painstakingly comb through all of the strings in the "Default Strings" table to find the ones which I've modified. I'm not sure how I can even tell which ones are changed at this point. Then manually grab all of those strings to send out for translation, and manually edit the results into that table.
2) Delete and re-add all of the UI controls on the standard dialogs which contain text that I've changed, so that their localization IDs show up in the "Project Strings" tab.
3) Manually change the localization IDs of all UI controls on the standard dialogs -- this causes them to still show up in "Default Strings" but without default translations, and so they get exported.

Am I missing anything here? Is there some easier way to do this? I'm not looking forward to the amount of work this will require.

If this is the case, am I correct in thinking that one should never change the default strings on standard dialogs if one intends to localize? Would the recommended approach be to delete and re-add new controls? Is that documented somewhere?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Localization of "Default Strings" that have been changed

Hello,

As you already saw this is our current implementation of the "Translations" page. I'm afraid we don't have support to merge all the strings (of custom controls and of the default ones) into one single dictionary file.

All strings of our default controls are added and handled from our "Default Strings" tab. The recommended way to generate a dictionary files containing only the edited strings of the default controls is to directly edit the strings from "Default Strings" tab (and not From "Dialogs" page) and then save the changes to repository. When the strings are edited from "Dialogs" page they will be used only for the current project, the edits won't persist for all of your projects.

Also, unfortunately we don't have support to generate a dictionary files with the default controls strings which were edited directly from "Dialogs" page. Maybe we will consider such an improvement in a future version of Advanced Installer.

Thank you for your understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Re: Localization of "Default Strings" that have been changed

Thanks for your response. I think my best course of action is to delete and re-add all of the default strings so that they are treated as custom strings. Are there any other gotchas with doing that? Should I also just use all custom dialogs rather then using some of the standard ones?

It would be great if you could document in the help somewhere your recommendation to not edit strings directly on the dialogs -- it would have been helpful to know that. Did I miss that in the help?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Localization of "Default Strings" that have been changed

Hello,
Thanks for your response. I think my best course of action is to delete and re-add all of the default strings so that they are treated as custom strings. Are there any other gotchas with doing that? Should I also just use all custom dialogs rather then using some of the standard ones?
No, you can use the standard dialogs without any problem. Just make sure you change the localization IDs for the controls you want to appear in the "Project Strings" tab and generate a dictionary file for them.
It would be great if you could document in the help somewhere your recommendation to not edit strings directly on the dialogs -- it would have been helpful to know that. Did I miss that in the help?
We apologize for this inconvenience. Certainly we will improve our help files regarding the Advanced Installer localization support so they be more clear and meaningful. Thank you for your suggestion.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Re: Localization of "Default Strings" that have been changed

Thank you. I appreciate your support responsiveness. Keep up the great work! :D
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Localization of "Default Strings" that have been changed

You're always welcome. Thank you for your positive words.

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

Return to “Building Installers”