high1
28th April 2007 10:34 UTC
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.
kichik
28th April 2007 10:41 UTC
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.
high1
28th April 2007 10:48 UTC
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?
kichik
28th April 2007 10:52 UTC
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.
high1
28th April 2007 11:05 UTC
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?
kichik
28th April 2007 11:11 UTC
Changing the application's codepage without changing the system codepage requires Unicode. There are plans but there is no roadmap.
high1
28th April 2007 11:16 UTC
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.