Load .ini depending of the language
Hello,
I want load a .ini depending of the language:
Function registrationPage
!ifdef "english"
!insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "english.ini" "P2"
!else ifdef "spanish"
!insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "spanish.ini" "P2"
!else ifdef "japanese"
!insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "japanese.ini" "P2"
!endif
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "P2"
FunctionEnd
It doesnt works. I try with Switch but I don't obtain a good result. Do you know how I can do it?
Thanks,
Rafa