Archive: How to find out language


How to find out language
How can I find out, which language NSIS uses. You can define LangStrings and NSIS tries to find the most suitable language automatically, but I need something like this:

!ifdef ENGLISH

!endif

!ifdef GERMAN

!endif


$LANGUAGE contains the used language identifier. You can compare it to ${LANG_ENGLISH} and ${LANG_GERMAN}.