Archive: Lots of LangString warnings


Lots of LangString warnings
I think I deleted an include which loads the default values for all of these, so now I am getting a lot of warnings, and the text is missing, unless I define each of these myself. Sample:

LangString "MUI_TEXT_COMPONENTS_TITLE" is not set in language table of language English
LangString "MUI_TEXT_COMPONENTS_SUBTITLE" is not set in language table of language English
LangString "MUI_INNERTEXT_COMPONENTS_DESCRIPTION_TITLE" is not set in language table of language English


Checked the Scripting Reference and the MUI readme but wasn't able to figure what the include or macro is for loading default values.

Any ideas?

Make sure the macro insertion order is right. See Examples\Modern UI\*.nsi for the basic stuff. Also make sure you have MUI_LANGUAGE inserted.


Figure it out. In the code, you must have !insertmacro MUI_LANGUAGE "English" after ALL the pages. Otherwise it gives tons of errors and doesn't fill in the language tables.

I think the documentation needs to specifically state that it must appear after the pages.


It does :)


You are right, I wasn't reading from the beginning.

The settings for the Modern UI should be inserted in the header of the script file. It's important to follow the same order as the items below.
Maybe make the IMPORTANT more visible? Capital, red? :)