Default buttons on custom page won't appear in chosen language
Hi all,
I have trouble with the default buttons "Next", "Back", "Cancel" on my custom pages.
My installer supports german and english. Language selection is done with langdll.
The default buttons show "Next", "Back", "Cancel" on builtin pages when I chose english as the installer language. But on my custom pages still the german texts "Weiter", "Zurück" and "Abbrechen" show up.
This happens only on custom pages. The result is that my installer is "mixed-languaged".
What do I have to do to get my custom pages in the chosen installer language?
Here is some code from my nsi file.
# Installer pages
>!insertmacro MUI_PAGE_WELCOME
>!insertmacro MUI_PAGE_DIRECTORY
>!insertmacro MUI_PAGE_STARTMENU Application $StartMenuGroup
>!insertmacro MUI_PAGE_INSTFILES
Page Custom initfunction leavefunction
>!insertmacro MUI_PAGE_FINISH
>...
># Installer languages
>!insertmacro MUI_LANGUAGE "German" ;first language is the default language
>!insertmacro MUI_LANGUAGE "English"
>!insertmacro MUI_RESERVEFILE_LANGDLL
>...
># Installer functions
>Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY
InitPluginsDir
FunctionEnd
>Function initfunction
...
>FunctionEnd
>Function leavefunction
...
>FunctionEnd
>
Every idea is welcomerzc1