Search code examples
nsis

NSIS change installer language


I want to ask a question how to change the installer language.

This is what i wrote in the code:

LoadLanguageFile "${NSISDIR}\Contrib\Language files\Romanian.nlf"

Now I loaded it, but how to run it?


Solution

  • You set $Language with StrCpy in .onInit.

    This is usually done with MUI_LANGDLL_DISPLAY or the LangDll plugin so that the user can choose from a list of languages.

    NSIS will try to use the "best match" language as the default...