I created a wix bootstrapper application and it contains two msi packages. I want to localize my boostrapper application. My aim was to localize my bootstrapper app and it should lauch the app which is respect to the system language. means that, it should a single exe for all languages. I want to support the following languages,
My first level study, I understood that need payload files for applying localization in bootstrapper for automatically applying localization for UI translated strings. I added 3 payload files for 3 languages like english,frnch & russian. I got an exe after its build completion. Here I tried to manually selected the LocalizationFile file in bal:WixStandardBootstrapperApplication tag. So I got one .exe it should work only in that language. if I need to another exe for other language , need to change the LocalizationFile value and build it again. I want one exe which is invoked according to the system language.
Here I have following questions,
Please guide me.
Regards,
George
Using the payload file,we can localize the bundle project.
see the code snippet,
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
<bal:WixStandardBootstrapperApplication
LicenseFile=""
LocalizationFile="Theme.wxl"
ThemeFile="theme.xml"
LogoFile="Images\xxx.png"
SuppressRepair="yes"
SuppressOptionsUI="yes"/>
<Payload Id="thm-fr-FR" Compressed="yes" Name="1036\thm.wxl" SourceFile="theme\1036\RtfTheme.wxl" />
<Payload Id="lic-fr-FR" Compressed="yes" Name="1036\license.rtf" SourceFile="theme\1036\EULA.rtf" />
<Payload Id="thm-ja-JP" Compressed="yes" Name="1041\thm.wxl" SourceFile="theme\1041\RtfTheme.wxl" />
<Payload Id="lic-ja-JP" Compressed="yes" Name="1041\license.rtf" SourceFile="theme\1041\EULA.rtf" />
<Payload Id="thm-es-ES" Compressed="yes" Name="3082\thm.wxl" SourceFile="theme\3082\RtfTheme.wxl" />
<Payload Id="lic-es-ES" Compressed="yes" Name="3082\license.rtf" SourceFile="theme\3082\EULA.rtf" />
</BootstrapperApplicationRef>
The name attribute of payload is important.Naming should be LCID as that of bundle recognizing LCID code.Place the localization file in the "theme\1036\RtfTheme.wxl" directory. After doing this,change the system language from control panel and see the difference.
Thank you,
George
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With