Archive: Questions on other language and Text font.


Questions on other language and Text font.
I have below questions:

1. At the beginning of install, such message is popped:
'verifying installer:XX%', how to translate this string
to other language?

2. Could it be change all the texts' font size to 9 point instead
of 8 point?

3. During install, we can change the destination directory.
But the display of the directory is English font, if input other
language, such as Japanese, it cannot display correctly.
how to change the font to other language?

Thanks for any comments to my question.


Find an Installer attributes: SetFont fontname, fontsize
can solve my 2 & 3 questions. Find this on my local documentations
of NSIS instead of the online one. Is online documents very old?


The online documents are just arranged differently. A new better version should be uploaded soon, in the mean while every command is under Installer Attributes.

To change the text in question #1 you will have to change it in source/exehead/lang.h and recompile.


Thank you very much!

If only this way can solve my problem, I prefer to not translate.
Hope NSIS's next version can remove these strings out of lang.h file.
So users can translate them very easily as well as other strings.

Thanks again!

This is really a wonderful software.


If only this way can solve my problem, I prefer to not translate. Hope NSIS's next version can remove these strings out of lang.h file. So users can translate them very easily as well as other strings.
No can do... This string is needed before the installer data is verified and decompressed.

Originally posted by kichik
No can do... This string is needed before the installer data is verified and decompressed.
But, as far as I understood it, all instructions that where previously under the header 'Installer Attributes' are read by the compiler and then written into the .exe. So an instruction like: LoadingText would be written into the .exe too. Or am I wrong?

Instruction are not exactly written into the EXE. They're written after the EXE in the NSIS datablock or header for attributes setting commands. The loading text on the other hand is hardcoded into the EXE so if the data block gets corrupted somehow it will still be shown. We can't show a text before we have verified it's not corrupted ;)