Since text style is embedded in the strings, the localization engine will have no way to distinguish which part should be localized and which part should not.
Besides using _locComment_text, I also tried below method: Step 1. Define {\WixUI_Font_Bigger} as a property (e.g. UIBiggerFont). Step 2. In the wxl, use [UIBiggerFont] to replace {\WixUI_Font_Bigger}. Unfortunately, this did not work either. In my understanding, Property replacemane happens in run time instead of compile time, which is too late. Thus, the result is you can see {\WixUI_Font_Bigger} text in UI instead of the bigger font of the title. Thanks Lian -----Original Message----- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Sunday, September 20, 2009 11:23 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] pseudo-loc UI shows {WixUI_Font_Bigger} & {WixUI_Font_Title} Thanks Blair. You are right - the pseudo-loc routine pseudo-localized "{\WixUI_Font_Bigger}". To prevent this happen, I tried: <String Id="WelcomeDlgTitle" Overridable="yes"><!--_locComment_text="{Locked="{\WixUI_Font_Bigger}"}"-->{\WixUI_Font_Bigger}Welcome to [ProductName] Setup</String> But it did not work: <String Id="WelcomeDlgTitle" Overridable="yes"><!-- _locComment_text="{Locked="{\WixUI_Font_Bigger}"}"-->థ్క{\WîxÙÍ_Föñt_Þíggêr}Wël¢ómé tö [ProductName] §ëtµp _ʃ¯ʅ _ʃ¯ʅ _ʃ¯ʅ _ʃ¯ʅ _థ్క</String> How can I use locComment_text to lock part of the string so that this part is not pseudo-localized? Thanks Lian -----Original Message----- From: Blair [mailto:os...@live.com] Sent: Sunday, September 20, 2009 8:39 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] pseudo-loc UI shows {WixUI_Font_Bigger} & {WixUI_Font_Title} Could your pseudo-loc routine have removed the "\" characters found within the curly braces in your .wxl files? Could your TextStyle table have been somehow affected by your localization activities? http://msdn.microsoft.com/en-us/library/aa367524(VS.85).aspx -----Original Message----- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Saturday, September 19, 2009 11:27 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] pseudo-loc UI shows {WixUI_Font_Bigger} & {WixUI_Font_Title} Hi, Our pseudo-localized installer shows {WixUI_Font_Bigger} & {WixUI_Font_Title} on all install windows. We just reused Wix's dialogs and localized the Wix strings. The same behavior was observed in one of our previous project's installer. How can we fix this issue? Appreciate your help! Thanks Lian ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users