Multilingual Section Naming in MUI
Hi!
I am desperately trying to figure out how to make a Section name multilingual (English and French). This is a section that allows the user to put or not to put a shortcut on the Desktop. Here's what I have:
;--------------------------------
;Desktop Shortcut Section
LangString SecDeskShortcut ${LANG_ENGLISH} "Desktop Shortcut"
LangString SecDeskShortcut ${LANG_FRENCH} "Raccourci bureau"
SectionIn 1 2 3
CreateShortCut "$DESKTOP\ReserveIT.lnk" "$INSTDIR\ReserveIT.exe"
SectionEnd
;--------------------------------
And here's the error:
Error: command LangString not valid in section
Error in script "C:\Program Files\NSIS\Examples\Modern UI\ReserveIT.nsi" on line 134 -- aborting creation process
Is there a macro that I should be using instead of a direct LangString call to name a section?
Version: NSIS 2.06
Type: MUI
Thanks,
Ian