Translations: Change value for all languages in single *.ail - Advanced Installer Community

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!

canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Translations: Change value for all languages in single *.ail

Hello everyone.

Is it possible to change a value for all languages in a custom dictionary (*.ail)?

By default it seems that for the AI (default) project's language the texts are taken from the project file itself, without being able to override those texts in a custom dictionary.

It seems more practical to just provide raw texts in the project file and to provide all texts and especially corrections to those texts outside of AI, because the people creating the installer aren't necessarily the language specialists (and typically suck at spelling), and the the language specialists on the other hand are typically overwhelmed by a tool like AI (plus we wouldn't want all "text workers" to require a license, just for providing text translations and corrections).



With best regards

Clemens Anhuth
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Translations: Change value for all languages in single *.ail

Hi Clemens,

I'm not sure I understand what you mean. Can you please give me more details about this?

Advanced Installer uses the following dictionaries:
- the default ones from its installation folder (they can be modified according to your needs)
- the custom ones

All dictionaries can be customized, therefore almost all strings or values can be localized. However, please note that there are some strings which cannot be localized because they are controlled completely by Windows Installer.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Re: Translations: Change value for all languages in single *.ail

Hello Cosmin.

I do the following:

- Create new project, default language English
- Create new dialog
- Add text control to new dialog
- Enter text for new text control directly in AI: "text1"
- Create custom dictionary with the UI elements included
- Change the text of the text control for English in the newly created custom dictionary to "text2"
- Create and execute installer

-> Text of text control in the running installer is: "text1"

That seems to mean that part of the texts reside in the project file, and other parts in custom dictionaries.

Having parts of the texts in the project file and not being able to override them in a custom dictionary makes it hard to let non developers take care of translations and corrections, because their changes need to be merged back into the project file all the time, and they might need to use Advanced Installer to change the texts in the AI project file.



With best regards

Clemens Anhuth
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Translations: Change value for all languages in single *.ail

Hi Clemens,

Please note that Advanced Installer uses a base language: the language of the project. This language is used to define all default strings and values in the project. When the project needs to be localized, the custom dictionary will contain the base language plus the localized values. Therefore, I'm afraid that the base language cannot be localized (it can be modified only in the project).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Re: Translations: Change value for all languages in single *.ail

Hello Cosmin,

thank you for the information.

Maybe this can be added as a feature request, because "separation of concerns" is required for modern product development. We cannot allow translators to mess up our project files.

(In trolltech's Qt the developer specifies texts in the source code, but those values are only defaults which are completely replaced by the contents of the translation files created by translators/text writers. Of course the translators/text writers never get access to the source code files. Instead they are given access to the translation files and are then responsible for all texts and translations, regardless of the language.)



With best regards

Clemens Anhuth
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Translations: Change value for all languages in single *.ail

Hi Clemens,

We will consider adding this improvement in a future version of Advanced Installer. Thank you for your suggestion.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”