; The language can be the last used language like above, but it can be defined using /LANG
ComponentText/LANG=1033"English component page"
ComponentText/LANG=1043"Dutch component page"
ComponentText/LANG=1036"French component page"
ComponentText/LANG=1031"German component page"
ComponentText/LANG=1042"Korean component page"
ComponentText/LANG=1049"Russian component page"
ComponentText/LANG=1034"Spanish component page"
ComponentText/LANG=1053"Swedish component page"
ComponentText/LANG=1028"Traditional Chinese component page"
; scetion names will be given in .onInit to match the language choosen by the user
Section""sec1
; $0 is already set from .onInit
MessageBoxMB_OK"$0 section"
SectionEnd
Section""sec2
StrCmp$LANGUAGE10330+2
MessageBoxMB_OK"Installing English stuff"
StrCmp$LANGUAGE10430+2
MessageBoxMB_OK"Installing Dutch stuff"
StrCmp$LANGUAGE10360+2
MessageBoxMB_OK"Installing French stuff"
StrCmp$LANGUAGE10310+2
MessageBoxMB_OK"Installing German stuff"
StrCmp$LANGUAGE10420+2
MessageBoxMB_OK"Installing Korean stuff"
StrCmp$LANGUAGE10490+2
MessageBoxMB_OK"Installing Russian stuff"
StrCmp$LANGUAGE10340+2
MessageBoxMB_OK"Installing Spanish stuff"
StrCmp$LANGUAGE10530+2
MessageBoxMB_OK"Installing Swedish stuff"
StrCmp$LANGUAGE10280+2
MessageBoxMB_OK"Installing Traditional Chinese stuff"
SectionEnd
Function.onInit
StrCmp$LANGUAGE10330+2
StrCpy$0"English"
StrCmp$LANGUAGE10430+2
StrCpy$0"Dutch"
StrCmp$LANGUAGE10360+2
StrCpy$0"French"
StrCmp$LANGUAGE10310+2
StrCpy$0"German"
StrCmp$LANGUAGE10420+2
StrCpy$0"Korean"
StrCmp$LANGUAGE10490+2
StrCpy$0"Russian"
StrCmp$LANGUAGE10340+2
StrCpy$0"Spanish"
StrCmp$LANGUAGE10530+2
StrCpy$0"Swedish"
StrCmp$LANGUAGE10280+2
StrCpy$0"Traditional Chinese"
MessageBoxMB_YESNO|MB_ICONQUESTION"The closest match for your default language is $0.$\nIf no close match was found (identical primary language) the installer default was selected.$\nDo you want to use it?"IDYESlangSelected
MessageBoxMB_YESNO|MB_ICONQUESTION"Do you want to use English?"IDNO+3