gmn77
10th July 2012 19:40 UTC
How to use the language files?
Hi there,
there are language files in this folder
Harddisc\Programms\NSIS\Contrib\Language files
How can I use for example "German.nsh"
that my setup/installer which I want to create would be in German language?
Because currently it's in English.
Thanks very much,
gmn77
Is this all free for commercial use?
Afrow UK
11th July 2012 00:24 UTC
Look at Examples\Modern UI\MultiLanguage.nsi
Stu
gmn77
11th July 2012 12:56 UTC
Thanks but I changed the first line of the languages to German, and its still English.
& I even tried to chang the NSIS\Contrib\Modern UI\System.nsh,
but: Still English.
What I have exactly to do to change the language of the installer to German?
(I'm using "Installer based on Zip-File", Interface: Modern, Compression: Zlib)
Thanks for help:up::)
Afrow UK
11th July 2012 13:00 UTC
If you edit and build the example script, is that in German?
Stu
gmn77
11th July 2012 13:42 UTC
I changed the file MultiLanguage.nsi in Examples as the following:
;--------------------------------
;Languages
!insertmacro MUI_LANGUAGE "German" ;first language is the default language
!insertmacro MUI_LANGUAGE "French"
!insertmacro MUI_LANGUAGE "English"
....
Then I created a new Installer with "Installer based on zip-File", but the Installer is still English. Is that what you meant by "build"?
What could I have done wrong?:(
Afrow UK
11th July 2012 16:48 UTC
Right click on MultiLanguage.nsi and Compile NSIS script (yes, build means compile in this context).
Stu
gmn77
11th July 2012 17:59 UTC
Hi, thanks very much for the support.
It now works and my setup is German :)
But.. what I actually meant was to modify this file, what I found out a few minutes ago:
...\NSIS\Contrib\zip2exe\Modern.nsh
This was the solution :)
But thanks:D
Sorry even for asking such a easy question because actually the information is in the software (NSIS zip2exe) ("To customize NSIS script code...") So I think you thought I meant something else, because this would be too easy:D:up:
Regards