Skip to content
⌘ NSIS Forum Archive

localizing the messagebox "ok" text

3 posts

bwtech#

localizing the messagebox "ok" text

I created a test installer as the following:
Outfile test.exe


!include "MUI.nsh"
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "French"

Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY
FunctionEnd


Section "secDummy"
MessageBox MB_OK $LANGUAGE
SectionEnd

But, the "ok" button on the messgebox still shows "ok" when i select french as the language. Could you please let me know how can i localize the "ok" text on the message box? Thanks a lot.
Afrow UK#


Stu