Old 2nd October 2006, 13:43   #1
tomaszp
Junior Member
 
Join Date: Oct 2006
Posts: 1
Language specific pictures

I have some localized bitmaps (bitmaps containig text with is different in different languages).

In example that code:
code:

!define MUI_WELCOMEFINISHPAGE_BITMAP "media\img\3a.bmp";



How to change it to use localized version of bitmap?

I tried something like that:
code:

!define MUI_WELCOMEFINISHPAGE_BITMAP "$(BmpLeftBanner)";
LangString BmpLeftBanner ${LANG_POLISH} "media\img\3a_pl.bmp"
LangString BmpLeftBanner ${LANG_ENGLISH} "media\img\3a_en.bmp"



But it do not work.
I want bitmap from different file depending on selected language version.
tomaszp is offline   Reply With Quote
Old 2nd October 2006, 15:30   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
you can probably use MUI_PAGE_CUSTOMFUNCTION_PRE and overwrite MUI's default bitmap (bitmaps for all langs need to be included so you can only check at runtime)

IntOp $PostCount $PostCount + 1
Anders 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