>> There's nothing special in WixUI; they should both work the same way 
>> (falling back to en-us).
I don't believe they do, see
http://sourceforge.net/tracker/index.php?func=detail&aid=2076641&group_i
d=105970&atid=642714

The difference is that when you build your own localisation you can
specify more than more wxl but when you include an extension cultures
only selects the first culture it finds and does read anymore, in
Library.cs - GetLocalization() it returns on the first culture it finds.
Therefore, and I might be wrong, it never falls back to another culture
because they are not loaded.

My interest it primarily to fix the bug above but I can see it causing
problems in the future for the other extensions. At the moment they
don't fail because they only contain en-us, if at some later date they
are partially translated (or translated then more English added) then
they can't fall back to en-us.

Neil

-----Original Message-----
From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: 25 September 2008 03:44
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Light cultures option

Neil Sleightholm wrote:
> Following some earlier posts on this topic I believed that
> "-cultures:nl-nl;en-us" meant "use the Dutch localization but if a
> string is missing use English". This seems to be true for my own
> localization strings but not for the WiX UI Extension (or any other
> extension). For extensions if seems to behave as "if Dutch is present
> use it, if a string is missing throw an error".
>   

There's nothing special in WixUI; they should both work the same way 
(falling back to en-us). The difference is that -cultures is used only 
to choose from cultures available in a .wixlib/extension; it isn't used 
to choose among cultures in .wxls passed in. For that, you have to 
explicitly list .wxls.

-- 
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to