NOCaut
8th October 2012 15:30 UTC
Change Label text Installer Language DialogBox
I know this is possible by ly but want To Change Label text Installer Language DialogBox. I want change text after change language in Combobox. This is real?
http://dc590.4shared.com/img/qhXxdDh...2/1_online.jpg
Anders
8th October 2012 17:49 UTC
You would have to recompile the plugin.
T.Slappy
9th October 2012 06:50 UTC
You can pass two arguments to LangDLL plug-in to set it's texts:
LangDLL::LangDialog "Insssstaller Language" "Pleassssse select the language of the installer"
Do you use MUI2? If yes then simply use (copied directly from MUI2 manual):
To customize the language selection dialog interface, use these defines before inserting the MUI_LANGDLL_DISPLAY macro.
MUI_LANGDLL_WINDOWTITLE text
The window title of the language selection dialog.
MUI_LANGDLL_INFO text
The text to display on the language selection dialog.
NOCaut
9th October 2012 08:21 UTC
ok. thanks
Afrow UK
9th October 2012 10:18 UTC
Originally posted by T.Slappy
You can pass two arguments to LangDLL plug-in to set it's texts:
That does not change the texts when you select a different language in the drop down list, which is what he asked. The requested functionality would need to be added to the plug-in.
Stu
T.Slappy
10th October 2012 08:00 UTC
Originally posted by Afrow UK
That does not change the texts when you select a different language in the drop down list, which is what he asked. The requested functionality would need to be added to the plug-in.
Stu
Hmm do you want something like DropDown_OnChangeEvent ???
As Stu wrote: you need to recompile the plug-in.
NOCaut
10th October 2012 08:28 UTC
it would be great) i understand now.
why title and text not change when i load him from constant $(myTitle)?. text change only from english language file(english.nsh).
T.Slappy
11th October 2012 06:58 UTC
You cannot use $(myTitle) for localization of language dialog (this is recursion as hell :)) because myTitle is not set in this moment.
Language is set after function .onInit and AFTER language selection dialog is closed (with OK).
So use simply !define "some text" as I mentioned here: showthread.php?t=325548
NOCaut
11th October 2012 08:18 UTC
Ok thanks. i create myLocalization.nsh and describe multilanguage translate here use !define for russian, french, englesh, italian...