Archive: Default language


Default language
  I want default language on setups to be English, and not that is similar to computers default(Macedonian on my computer). I nave read in to help but I can't resolved. If you now how to help pleause tell me.


What do you mean? The language which is selected in the LangDLL dialog on startup?


Assuming you do want to set the default language for the LangDLL dialog copy ${LANG_ENGLISH} into $LANGUAGE using StrCpy in .onInit:


Funciton .onInit

# LangDLL stuff
StrCpy $LANGUAGE ${LANG_ENGLISH}
>FunctionEnd
>

New in this
  I'm new in NSIS so I will explane more. I make my setup to have more languages, that is ok. But when I start the setup the default language is that that is similar to the computers default language (on my computer that language is Macedonian). If there is not some similar language to computers default setup first language is English or that is set to be first in the script. I want always the first language to be English, not that that is similar to computers default. I have attached one example to see how I makeit, this example I have seen from the NSIS examples.


See kichik post. Isn't that exactly what you want?

Add "StrCpy $LANGUAGE ${LANG_ENGLISH}" before calling LangDLL.