Thank you - the first part of that makes perfect sense.

The second part is still a little ambiguous to me. When you say the cultures
flag decides which .wxl files are processed this implies that the MSI can
contain more than one locale, ( as the cultures flag takes a list of
cultures). I didn't think an MSI could contain more than one set of strings
for a locale, hence the need to use transforms.

I have a feeling the cultures flag actually takes a list of cultures, but
this is used only for fall-backs when the proceeding culture is not found
for a particular string. In fact I've now convinced myself this is the case,
if someone could confirm that would be great.



On 18 August 2010 02:08, Nick Ramirez <nickra...@hotmail.com> wrote:

>
> I think your question may stem from thinking that you have to specify
> localization files of different cultures with each -loc flag. However, you
> could also specify multiple .wxl files with the same culture. For example,
> if you had one .wxl file to handle all of the localization strings for your
> dialogs, maybe you call it dialogStrings_en-us.wxl. Then maybe you have
> another one that just defines localization strings for error messages. You
> might call that errorStrings_en-us.wxl. You could use both with two -loc
> flags, like this:
>
> light.exe -loc dialogStrings_en-us.wxl -loc errorStrings_en-us.wxl
> -cultures:en-us ...
>
> Another use is that you can just always specify all of the .wxl files for
> all languages. The -cultures flag decides, in the end, which of those .wxl
> files will be used. This might save you the hassle of picking out a
> different set of .wxl files to set each time. Just set them all!
>
> Hope this helps.
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Yet-another-localization-question-tp5431565p5434705.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to