Archive: Language Different Folders and shortcuts


Language Different Folders and shortcuts
Hi,

I've been having a look through the forum trying to find some example code which I can use to let me firstly (A)select a language then do specific things based on the language.

I'd like to have different (B)shortcuts and (C)start menu folders etc based on wither german or English.

I have found.

http://nsis.sourceforge.net/Examples...tiLanguage.nsi

(A) Which produces the language selection screen.

(B) & (C) - I have no idea how to do this...

Help!!

Thanks,

Jules.
EDIT: Managed to figure out EULA stuff in different files.


You haven't been having a look through the included examples languages.nsi and MultiLanguage.nsi.
Provided that you know how to manage languages and what means the variable $LANGUAGE, you may achieve everything depended on selected language.

e.g.
${if} $LANGUAGE == 1033
CreateDirectory "$SMPROGRAMS\English_Shortcuts"
#add shortcuts intended for english lang
${elseif} $LANGUAGE == <other_lang_code>
CreateDirectory "$SMPROGRAMS\<other_lang_Shortcuts>
..........
..........