SetupJuggler
02-16-2009, 07:35 AM
Hi,
using SUF 8.1.1006.0
I'm missing the a simple way to get localized strings within the dependency modules. I have to install the VC2008 runtime on the target system. My setup supports up to 15 languages, so I have implement a solution to solve this.
My suggestion is to implement a way, like it is done in screens with Screen.GetLocalizedString(). Dependecy modules may use a function named Dependency.GetLocalizedString(string StringID).
-- Sample:
strLocalized = Dependency.GetLocalizedString("Technology Required");
For every dependency module you'll need xml language files for the localized strings. This xml files may be located in the folder you enter within the dialog "Dependency Module Properties" into the edit field "Unique run-time folder name". For VC2008 this is by default the folder "vc2008", where vc_redist.exe should be placed by default.
If the localize is done by this way, I don't have to change the coding placed in "Dependency Module Properties"/"Installation".
What do you feel about this suggestion?
Greetings
Udo
using SUF 8.1.1006.0
I'm missing the a simple way to get localized strings within the dependency modules. I have to install the VC2008 runtime on the target system. My setup supports up to 15 languages, so I have implement a solution to solve this.
My suggestion is to implement a way, like it is done in screens with Screen.GetLocalizedString(). Dependecy modules may use a function named Dependency.GetLocalizedString(string StringID).
-- Sample:
strLocalized = Dependency.GetLocalizedString("Technology Required");
For every dependency module you'll need xml language files for the localized strings. This xml files may be located in the folder you enter within the dialog "Dependency Module Properties" into the edit field "Unique run-time folder name". For VC2008 this is by default the folder "vc2008", where vc_redist.exe should be placed by default.
If the localize is done by this way, I don't have to change the coding placed in "Dependency Module Properties"/"Installation".
What do you feel about this suggestion?
Greetings
Udo