ankurm
19th February 2007 12:23 UTC
how to use multiple language with .ini file
hi,
i am using mulitple language facility in my script.
In some custom pages i am using lables using .ini file.
now for using multiple language facility with my text of those lables in my .ini file what should i do.
plz help me..
thanks,
ankur
Afrow UK
19th February 2007 13:55 UTC
!include LogicLib.nsh
#...
${Switch} $LANGUAGE
${Case} ${LANG_ENGLISH}
!insertmacro MUI_INSTALLOPTIONS_WRITE "file.ini" ...
${Break}
${Case} ${LANG_FRENCH}
!insertmacro MUI_INSTALLOPTIONS_WRITE "file.ini" ...
${Break}
${EndSwitch}
-Stu
ankurm
19th February 2007 14:13 UTC
Thanks a Lot
onad
19th February 2007 14:34 UTC
Take a look at the moreinfo plugin multilangue examples. (Wiki)