I am writing NSIS scripts for our application. Everything is just great except message box localization: the problem is text in message boxes is already localized, whereas OK
, CANCEL
and other buttons is not.
I checked language files, definitions are correct, I also load required language files, before .onInit
and use LangDLL
to input installation language from user. I have searched NSIS wiki and help files, but could not find anything regarding this problem.
Could you please guide me? Thanks in advance.
Actually you do not need to write totally new plug-in - you may use nsWindows plug-in (http://forums.winamp.com/showthread.php?t=304431&highlight=nswindows) which is suitable for creating new windows in NSIS.
Create replacement for MessageBox - new window with label, icon, caption and appropriate methods for this window.
It is a lot of work but it is only way and such window will be Windows (language) independent (as Anders said). Also then setting font style/size/width will be possible as many other customizations.