Archive: NSIS 2.26 multilanguage installer


NSIS 2.26 multilanguage installer
I had a problem with my installer with 2.26 - installer is working properly in 2.25. Basically, I add English and Serbian
Latin with
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "SerbianLatin"
but Serbian Latin is not shown in combo box. I went and tested
Modern UI MultiLanguage.nsi and I get the same problem. Some languages are not shown. Are there some changes or...
Regards.


That's probably because 2.26 now blocks unsupported languages from the languages selection dialog. If the language code page doesn't match, it won't be displayed in the dialog. This way, your user won't get garbage on her screen.

Serbian Latin uses the 1250 codepage.


Is it possible to set code page within installer?
Serbian Cyrillic use 1251 for example, but could I set it from within installer? And have my messages shown in language I need to? Or is there a way to override this?


The active system codepage is not something you can change at runtime. You can chance in the Advanced tab of the Regional and Language Options control panel and it requires a reboot.


I thought that there is a way to set this at NSIS runtime...
I've seen this in video players where you can choose code page to display subtitles, without having to change system code-page.
By the way, are there any plans for transition on unicode in NSIS?


Changing the application's codepage without changing the system codepage requires Unicode. There are plans but there is no roadmap.


Thank you very much, kichik. I tested my installer and it is working properly with system code page set. Thank you for your help and information.