wix3.9 - [Wix 3.9]How to create a single exe(bootstrapper) localized for multiple languages -


i created wix bootstrapper application , contains 2 msi packages. want localize boostrapper application. aim localize bootstrapper app , should lauch app respect system language. means that, should single exe languages. want support following languages,

  1. us english
  2. bzl port
  3. intl. spanish
  4. fr
  5. gr
  6. russian
  7. simplified chinese
  8. jp,
  9. kr,
  10. thai
  11. arabic,
  12. traditional chinese

my first level study, understood need payload files applying localization in bootstrapper automatically applying localization ui translated strings. added 3 payload files 3 languages english,frnch & russian. got exe after build completion. here tried manually selected localizationfile file in bal:wixstandardbootstrapperapplication tag. got 1 .exe should work in language. if need exe other language , need change localizationfile value , build again. want 1 exe invoked according system language.

here have following questions,

  • when used payload file , how can launch setup according system language, if system language fr, run setup file, setup ui strings should translated french? possible? if so, how?
  • how can translated bundle name in bootstrapper respect system language?
  • how can translated displayname name in msi package respect system language?
  • here msi packages contains few strings, need add
    translated strings each language.. added translated strings each language. after build, sees different .msi file each
    language. manually selected sourcefile of msi package of
    each language in boostrapper chain. difficult. have other option dynamically select system language of msi package, if so, how?

please guide me.

regards,

george

using payload file,we can localize bundle project.

see 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 important.naming should lcid of bundle recognizing lcid code.place localization file in "theme\1036\rtftheme.wxl" directory. after doing this,change system language control panel , see difference.

thank you,

george


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -