On Sat, 07 Jan 2012 08:50:15 -0800, Rob Mensching wrote:

> The wixstdba will automatically search for a .wxl file of the system
> language (i.e. look in 1033 directory for english and 1041 for german
> and 1044 for japanese, or are those last two switched?).
> 
> Failing to find a matching .wxl file will cause wixstdba to fall back to
> a .wxl in the root.
> 
> There are a few bugs about localization open that need to be fixed
> before this works well but you can see the beginnings.

Would you consider keying translations by the string representation of 
the locale name rather than the numeric locale ID? This will allow more 
intelligent fallback behaviour.

Currently if I ship a .wxl file in the 1031 directory (de-DE) then a user 
with a UI language setting of 3079 (de-AT) will not see the German 
strings, even though they are closer to the user's preferred language 
than the default strings.

<http://msdn.microsoft.com/en-us/library/windows/desktop/dd374098
(v=vs.85).aspx> describes the UI language fallback behaviour in Vista and 
later. Emulating this on earlier Windows versions (that lack 
LOCALE_SPARENT info for a locale) seems straightforward enough: just chop 
off the hyphen and anything that follows.

-- 
Regards,
Sam Morris


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to