John_Sum
6th December 2007 17:22 UTC
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.
jimpark
6th December 2007 21:39 UTC
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?
only_johhny
6th December 2007 21:57 UTC
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"
John_Sum
7th December 2007 15:22 UTC
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.