|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Mar 2012
Posts: 2
|
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 |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
${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 |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2012
Posts: 2
|
Great. Thanks ^_^
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
You can just use a language string for the section name. No need to set the text using SectionSetText.
Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|