Old 6th December 2007, 16:22   #1
John_Sum
Junior Member
 
Join Date: Nov 2007
Posts: 10
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.
John_Sum is offline   Reply With Quote
Old 6th December 2007, 20:39   #2
jimpark
Senior Member
 
Join Date: Sep 2007
Posts: 204
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?

Unicode NSIS advocate -- http://www.scratchpaper.com for latest build and source.
jimpark is offline   Reply With Quote
Old 6th December 2007, 20:57   #3
only_johhny
Senior Member
 
Join Date: Aug 2007
Posts: 111
Try
code:
# 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"

only_johhny is offline   Reply With Quote
Old 7th December 2007, 14:22   #4
John_Sum
Junior Member
 
Join Date: Nov 2007
Posts: 10
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.
John_Sum is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump