Thanks for your reply, my code sample is correct vor WiX2... I have gotten
around the problem by declaring 200 properties... and giving the ComboBox
values equivelent to the properties rather than the localised strings
directly.  What a pain though!



Henrik Opel wrote:
> 
> 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
> 
> 
>  
> -------------------------------------------------------------------------
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Localised-ComboBox-isn%27t-working-tf3348914.html#a9335663
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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