Hi Gareth,

not sure if this is a change from version 2, but in version 3
localization variables are called via '!(loc.<VariableName>)' (instead
of '$(loc.<VariableName>)').

Maybe just a typo in your ListItem declarations?

Henrik Opel



Gareth at Serif wrote:
> Hi guys,
> 
> I have a ComboBox defined in my UI to list a selection of countries for the
> end-user to choose from... these countries are localised so that when the
> install is translated, these entries are correct for the country of
> distribution.  Something like this:
> 
> <ComboBox Property="COUNTRY">
>     <ListItem Value="$(loc.AF)" />
>     <ListItem Value="$(loc.AL)" />
>     <ListItem Value="$(loc.DZ)" />
>     <ListItem Value="$(loc.AD)" />
> </ComboBox>
> 
> I then use the same localised strings in various component conditions and
> custom actions.  However, while all these localised country names get
> localised throughout the install, these ComboBox values do not.  I've tried
> localising the ListItem text fields, but when the user selects an item, the
> ComboBox displayes the value and not the text - very confusing when the two
> don't match.
> 
> Can anyone suggest a method to get this to work?
> 
> Thanks,
> Gareth

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to