The Russian language is not shown in the language selection windows when compiling with the NSIS versions 2.26 and 2.27 (with 2.25 and previous versions works).
My code fragment:
-----------------------------------
!insertmacro MUI_LANGUAGE "German"
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "French"
!insertmacro MUI_LANGUAGE "Russian"
!insertmacro MUI_RESERVEFILE_LANGDLL
!insertmacro MUI_LANGDLL_DISPLAY
-----------------------------------
M y e m a i l:
Username: demeterd
Domain: gmx.net
Logged In: YES
user_id=584402
Originator: NO
The language selection dialog no longer shows languages that are not compatible with the user's codepage. That prevents the user from getting gebrish for text.
Logged In: NO
Thank you for your answer!
demeter
Logged In: NO
New question: can be this feature turned off?
Thanks!
Logged In: YES
user_id=584402
Originator: NO
No, not currently. If you want to disable for testing, you should consider just changing the registry key that holds the last selected language instead or use StrCpy $LANGUAGE in .onInit.
But if you really want to disable it, you'd have to modify Contrib\Modern UI\System.nsh. If you submit that as a patch which makes it optional, I'll include it.
Logged In: NO
Thank you very much for your answers!
I have modified the file System.nsh (ver. 2.27). When my new constant MUI_LANGDLL_SHOW_ALL_LANGUAGES is defined then all the languages will be shown in the language selection window.
I don't know whether this solution is right and elegant enough...
(I cannot submit the file so I will send it to your mail address)
demeter
demeter's patch
Logged In: YES
user_id=584402
Originator: NO
Thanks, applied.
File Added: System.nsh
Logged In: YES
user_id=584402
Originator: NO
I've renamed MUI_LANGDLL_SHOW_ALL_LANGUAGES to MUI_LANGDLL_ALLLANGUAGES to match the style of other defines.