cony
12th November 2002 05:45 UTC
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.
cony
12th November 2002 07:47 UTC
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?
kichik
12th November 2002 18:10 UTC
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.
cony
13th November 2002 02:21 UTC
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.
kichik
13th November 2002 17:47 UTC
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.
virtlink
14th November 2002 14:52 UTC
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?
kichik
14th November 2002 14:56 UTC
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 ;)