Wix I18n Dev.The version of wixtoolset is V3.7. And the Installer UI is created by UIExtension. In the installation process, there are some UI strings cannot be localized. Such as "Copying new files" and so on. I searched these strings and there are laid in the wix source code(wix37-sources\src\ext\UIExtension\wixlib\WixUI_en-us.wxl), and wix has localized these strings. It's confusing to me that wix has localized these strings, but it still displayed as English in the installation process. Even I replaced there strings in .wxl file ,it still displayed as English strings.
I tried the example of BdN3504. the wxs file is the same as BdN3504. the wxl file is
and you can see the status is still keep English.
My build environment is VS2010 & wix3.7. I don't know what's wrong with it....
I already answered this question here.
Either read that or check out the paragraph called
Progress Bar Messages
in Nick Ramirez' book WiX 3.6: A Developer's Guide to Windows.The good people of packtpublishing are offering the chapter of his book containing that paragraph for free here:
Chapter 12: Localizing Your Installer. See page 329.
Another page of interest is this MSDN article: Standard Actions Reference which is also noted in the book.
Edit: Because of the comments I will post a working minimal example and a screenshot, so you see that it works:
Accompanying this example, you have to have a localisation file for your Culture. You have to set the Culture in the project properties under
Build->Cultures to build
. In my case I named it es-es.wxl and the file contents follow:Lastly a Screenshot to show you that it works:
Another edit: To localize error strings, you simply have to define
Error
elements with the corresponding error numbers:The first error string is hard-coded, so that's not such a good solution. It's better to use localization files, as it is done in the second
Error
element.