Archive: Multilingual Component Names


Multilingual Component Names
Hi.

I am building an installer in English and Simplified Chinese and am using the Unicode version. I am also using the Modern UI.

I would like to display the names of the components in the user's chosen language but can only seem to get them to display in English (or whatever language the component section is named in). I can get the Description displayed in the chosen language but not the item itself.

I'd appreciate any help!

Many thanks.


Are you talking about the names of the sections? I'm not really sure what you are referring to. Can you send me the NSI file?


Try

# Installer languages
!insertmacro MUI_LANGUAGE English
!insertmacro MUI_LANGUAGE French

Section $(SEC0000_NAME) SEC0000
File abc.txt
SectionEnd

LangString SEC0000_NAME ${LANG_ENGLISH} "Main Program"
LangString SEC0000_NAME ${LANG_FRENCH} "Programme"

Hi.

Jimpark - yes I meant the section names and

only_johhny - many thanks. That does everything I want to do. I just could not get the syntax correct.

Thanks for your help.