Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Multilingual Component Names (http://forums.winamp.com/showthread.php?t=282746)

John_Sum 6th December 2007 16:22

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 20:39

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 20:57

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"


John_Sum 7th December 2007 14:22

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.


All times are GMT. The time now is 05:35.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.