Archive: Some Lang Errors


Some Lang Errors
I got errors like this:


Generating language tables... warning: Name command not specified. Assuming default.
warning: LangString "MUI_FONT_TITLE" is not present in all language tables!
warning: LangString "MUI_FONTSIZE_TITLE" is not present in all language tables!
warning: LangString "MUI_FONTSTYLE_TITLE" is not present in all language tables!
warning: LangString "MUI_TEXT_LICENSE_TITLE" is not present in all language tables!

Attaching...

Fonts are language specific. Put the font defines before the MUI_LANGUAGE macro.


No, dude :( the problem still


Other comments:

1) The font defines still have to be before the MUI_LANGUAGE macro, otherwise they have no effect.

2) You can remove !define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED (there is no MUI_FINISHPAGE_SHOWREADME)


Thanks Joost :)
I found my problem...
It was a conflict with the ID of the Spanish file and the one
that I'm using in the version tab...
Just fixed it....
Now, using for the first time the language dialog, my installer
never shows the correct one: If choose english, it still display the spanish strings... :(
attach -->


The Spanish language id is not 2058. Therefore you have 3 language tables in your installer (see compile summary) and that probably causes the language mess. Use the language id that is in the language file.


What if I change the *.nlf and the *.nsh spanish id lang....
And this is my sumary:


Processed 1 file, 1 command line command, writing output:
Adding plug-ins initializing function... Done!
Processing pages... Done!
Removing unused resources... Done!
Generating language tables... Done!
Finding icons offsets for uninstaller... Done!

Output: "C:\joelito\inst-Funciones Lineales.exe"
Install: 5 sections.
Install: 381 instructions (10668 bytes), 293 strings (8848 bytes), 2 language tables (796 bytes), 8 pages (224 bytes).
Uninstall: 98 instructions (2744 bytes), 130 strings (3001 bytes), 2 language tables (500 bytes), 2 pages (56 bytes).
Datablock optimizer saved 47981 bytes (~15.5%).


The Spanish Lang ID is 1034. You should use this ID in your script (or put the line below MUI_LANGUAGE and use ${LANG_SPANISH}).


I fixed, It wasn't about the language ID
In the script that I attach below, I delete:
!define MUI_CUSTOMFUNCTION_GUIINIT "Iniciar"

and rename "Iniciar" with ".onInit"

Maybe MUI_CUSTOMFUNCTION_GUIINIT have problems with plugins...
But Still some bugs in my script....
for example, the:


!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"
!define MUI_LANGDLL_WINDOWTITLE "Selecciona un idioma"
!define MUI_LANGDLL_INFO "Idiomas disponibles"

Doesn't work yet :igor: