Archive: How to rename a section automatically depending on the language chosen


How to rename a section automatically depending on the language chosen
Greetings,

I don't know do this,

-How to rename a section automatically depending on the language chosen to start the installer?

-And how a section install a some files or other depending on the language chosen in the installer.

I don't know if this in another post said the same thing but I hope you can help me. Thanks


${If} $LANGUAGE == "1033"
; English
File "English\YourFile.ext"
${ElseIf} $LANGUAGE == "something else"
; Some other language
File "OtherLang\YourFile.ext"
${ElseIf} etc etc
${EndIf}


Use SectionSetText to rename sections. http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.13.3


Great. Thanks ^_^


You can just use a language string for the section name. No need to set the text using SectionSetText.

Stu