Archive: Detect Windows language?


Detect Windows language?
how to detect the windows language ( english,brasilian,...) for , example, place shortcut to startup folder?


Have a look at the Examples\languages.nsi example and Examples\Modern UI\MultiLanguage.nsi example for the MUI. Basically you'll have to create a langstring with a different name for each language and use it as the name of the shortcut.


Instead of the Startup folder you'd better use the registry key for startup programs (Software\Microsoft\Windows\CurrentVersion\Run).