Archive: NSIS Multi Language


NSIS Multi Language
  Hi.. I found few threads discussing about my issue. But i couldnt understand and also im not sure whether the thread has the exact solution for my issue. Im really sorry for that.


I have used MUI in my code.
My installer supports multi language such as english and japanese as of now.


Following are the code i use in my script.


!insertmacro MUI_LANGDLL_DISPLAY      ( under Function .onInit)

!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "Japanese"
Note : I have installed the language pack.

Issue :

1.Dialog box appears only when i select " Control panel -> regional and language options -> Advanced -> Japanse"

now dialog box appears with the languages " english and japanese"

If i select Japanese my japanese characters are dsiplayed very well.

2.But having the language pack installed , when i select " Control panel -> regional and language options -> Advanced -> English"

dialog box does not appear.

When i inserted the code

define MUI_LANGDLL_ALLLANGUAGES 

>
i got the dialog box and when i selected japanese it showed characters as junk .

having installed the language pack,y does it shows me junk ?

Is there any way i can display the dialog box with out the code

define MUI_LANGDLL_ALLLANGUAGES 

>
and show japanese characters properly with out selecting " Control panel -> regional and language options -> Advanced -> Japanse"


should i need to deal with NSIS unicode version.. if yes. how?

Thanks in advance.!!!

Originally posted by Pravin
having installed the language pack,y does it shows me junk ?
Because normal NSIS installers are ANSI applications. You'll need to use the unicode build to get what you want:
1) Get Unicode NSIS
2) Get unicode versions of all the plugins you use
3) Save your script file to UTF-8 format instead of ANSI
4) Compile.

Thanks MSG.. i'l do as u said it and i'l update you :)


I had similar problem:
I used several languages:


!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "Slovak"
!insertmacro MUI_LANGUAGE "Arabic"


But I did not see the texts correctly - for example arabic fonts were not rendered correctly.

I suppose this is whe Windows related problem, maybe some settings in Language and region options could help