Joel
26th June 2003 16:55 UTC
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...
Joost Verburg
26th June 2003 17:12 UTC
Fonts are language specific. Put the font defines before the MUI_LANGUAGE macro.
Joel
26th June 2003 17:20 UTC
No, dude :( the problem still
Joost Verburg
26th June 2003 18:50 UTC
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)
Joel
26th June 2003 20:10 UTC
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 -->
kichik
26th June 2003 20:18 UTC
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.
Joel
26th June 2003 21:03 UTC
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%).
Joost Verburg
26th June 2003 21:13 UTC
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}).
Joel
26th June 2003 21:29 UTC
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: