Archive: PassDialog and Multilanguage Installation


PassDialog and Multilanguage Installation
Hi everybody...
I'm trying to use PassDialog in my multilanguage installer.
For Example this is my problem:

...
## Displays the password dialog Function
PasswordPageShow !insertmacro MUI_HEADER_TEXT "Enter Password" "Enter your password to continue."
...
I have to pass the parameter to the functions and if the user select Italian or french or everything else the parameter still English...(That's normal because i passed that parameter in English).
I need to have something like: The user select the language and PassDialog change the language of its Dialog in the correct one.
What can i do? How can i use this usefull plug-in in my installer with this feature?

For me is enough a sample script, if someone have time to create it..or some reference where i can study how do that because i really need that...:-)

Thank a lot to everybody...

Use 2 LangString instructions.

Stu


Afro UK thanks for the replay.

I have to use something like this??

LangString ^UninstallLink ${LANG_ENGLISH} "Uninstall $(^Name)"
LangString ^UninstallLink ${LANG_ITALIAN} "Uninstall $(^Name)"
LangString SEC0000_DESC ${LANG_ENGLISH} "Main Installation Section"
LangString SEC0000_DESC ${LANG_ITALIAN} "Main Installation Section"

Example,


LangString PassDialog_Header ${LANG_ENGLISH} "English header text"
LangString PassDialog_Header ${LANG_ITALIAN} "Italian header text"

LangString PassDialog_SubHeader ${LANG_ENGLISH} "English sub header text"
LangString PassDialog_SubHeader ${LANG_ITALIAN} "Italian sub header text"


Your !insertmacro would then look like this:
!insertmacro MUI_HEADER_TEXT $(PassDialog_Header) $(PassDialog_SubHeader)

Notice the use of round brackets not curly brackets for language strings.

Stu