Since I don't have my MSFT email anymore, I don't have my pointer to the LocVer docs I had finally found (after years of searching) that worked for me.
You have to escape the '{' and/or the '\' characters in the _locComment_text pseudo attribute. I forget the escaping rules, but I do remember they were not intuitive to me. Since LocStudio is an internal MSFT thing, you will need to go to your loc team, to the MSN/Windows Live localization people (look up ArthurJ [if I recall correctly]), or to the windows localization people, until you find someone who can point you to the reference on how to format and escape char sequences in LocComments. An alternative, if you either don't need to localize the text styles or if you wish to "standardize" the text styles, is to create new strings and alter the strings in the dialog wxs itself... something like this: Dialog text: !(loc.WelcomeDlgTitle) --> !(loc.TitleTextStyle)!(loc.WelcomeDlgTitle) Create new loc string: <String Id="TitleTextStyle" Overridable="yes">{\WixUI_Font_Bigger}</String> Change old loc string: <String Id="WelcomeDlgTitle" Overridable="yes">Welcome to [ProductName] Setup</String> You could put the text style strings into their own WXL files (one for each culture), which you could "localize" as needed without running it through the loc engine (by establishing what they are and making it a "code" thing instead of a "localizer/text" thing, treating changes needed by languages as a bug against the core team instead of the loc team). Just put them in as build data in your LBA tree. After all, layout is up to the core team, translation is for the loc team, so the strategy would make sense. -----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