Bogdan Cuza
Bogdan Cuza

Reputation: 29

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?

Upvotes: 2

Views: 3756

Answers (1)

Anders
Anders

Reputation: 101764

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...

Upvotes: 0

Related Questions