<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Ribbon not locale-aware! :(</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Ribbon not locale-aware! :(]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 14:21:35 +0000</pubDate>
  <lastBuildDate>Tue, 19 Nov 2013 04:25:21 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=17344</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Ribbon not locale-aware! :( :      Normal   0   21    ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=71898&amp;title=ribbon-not-localeaware#71898</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8133">Didi</a><br /><strong>Subject:</strong> 17344<br /><strong>Posted:</strong> 19 November 2013 at 4:25am<br /><br /><!--if gte mso 9> <w:Word>  <w:View>Normal</w:View>  <w:Zoom>0</w:Zoom>  <w:Hyphenati&#111;nZ&#111;ne>21</w:Hyphenati&#111;nZ&#111;ne>  <w:D&#111;notOptimizeForBrowser/> </w:Word><!--><p ="Ms&#111;normal"><span style="mso-ansi-:EN-GB" lang="EN-GB">Hi,</span></p><p ="Ms&#111;normal"><span style="mso-ansi-:EN-GB" lang="EN-GB">how can Ichange the built-in parts of the ribbon?<span style="mso-spacerun: yes">&nbsp;</span>Ie. the <span style="mso-spacerun: yes">&nbsp;</span>Tooltip: <span style="mso-spacerun: yes">&nbsp;</span>“Customize Quick Acess Toolbar”, or itsmenu-members like: “&amp;More Commands…”,”&amp;Show Below the Ribbon” or “Mi&amp;nimizethe Ribbon”?</span></p><p ="Ms&#111;normal" style="margin-left:35.4pt;text-indent:-35.4pt"><span style="mso-ansi-:EN-GB" lang="EN-GB">Thank you</span></p><p ="Ms&#111;normal"><span style="mso-ansi-:EN-GB" lang="EN-GB">&nbsp;</span></p>]]>
   </description>
   <pubDate>Tue, 19 Nov 2013 04:25:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=71898&amp;title=ribbon-not-localeaware#71898</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon not locale-aware! :( :   1. Think with dialog you can...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60667&amp;title=ribbon-not-localeaware#60667</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17344<br /><strong>Posted:</strong> 04 October 2010 at 8:22am<br /><br /><div><br></div><div>1. Think with dialog you can only destroy and create it. &nbsp;Most applications just ask user restart application when user change language of GUI.</div><div><br></div><div>2. Yes, its not bug. If you have common Resources for Toolkit and application you indeed can manually call SetCaption.</div>]]>
   </description>
   <pubDate>Mon, 04 Oct 2010 08:22:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60667&amp;title=ribbon-not-localeaware#60667</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon not locale-aware! :( : Thanks. Will give it another shot....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60665&amp;title=ribbon-not-localeaware#60665</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 17344<br /><strong>Posted:</strong> 04 October 2010 at 6:18am<br /><br />Thanks. Will give it another shot. I obviously loaded the xml <EM>before </EM>calling EnableActions(). However, I still need help with a couple of questions.<DIV>&nbsp;</DIV><DIV>1) How do you reload the dialog template of a property page (non-modal = always visible)?</DIV><DIV>2) AddGroup/AddTab do not make use of XTPResourceManager(). Are you sure this is not a bug? Adding controls works as expected. As it is now, I have to call SetCaption(lpszCaption) with my localized string - retrieved from XTPResourceManager()...</DIV>]]>
   </description>
   <pubDate>Mon, 04 Oct 2010 06:18:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60665&amp;title=ribbon-not-localeaware#60665</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon not locale-aware! :( : Hi,You call EnableActions and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60658&amp;title=ribbon-not-localeaware#60658</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17344<br /><strong>Posted:</strong> 04 October 2010 at 2:44am<br /><br />Hi,<div><br></div><div>You call EnableActions and then should load all actions from XML. Review ActionsSample's Load/save methods.</div>]]>
   </description>
   <pubDate>Mon, 04 Oct 2010 02:44:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60658&amp;title=ribbon-not-localeaware#60658</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon not locale-aware! :( :   oleg wrote:Hi,  XTPResourceManager()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60643&amp;title=ribbon-not-localeaware#60643</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 17344<br /><strong>Posted:</strong> 02 October 2010 at 9:42am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />Hi,<DIV><BR></DIV><DIV><SPAN style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px" Apple-style-span="Apple-style-span">XTPResourceManager() is used only for strings that are part of Toolkit resources - dialogs/string/etc.</SPAN></DIV><DIV><SPAN style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px" Apple-style-span="Apple-style-span"><BR></SPAN></DIV><DIV><SPAN style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px" Apple-style-span="Apple-style-span">CString::LoadString - is used for application defined resources - promts/catptions. &nbsp;</SPAN></DIV><DIV><SPAN style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px" Apple-style-span="Apple-style-span"><BR></SPAN></DIV><DIV><SPAN style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px" Apple-style-span="Apple-style-span">If you have localized dll add AfxSetResourceHandle to switch it.</SPAN></DIV></td></tr></table> <DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>For XML-language files this simply cannot be true. LoadString() keeps returning the English string, whereas XTPResourceManager()-&gt;LoadString() does indeed return the localized string. So my question remains... :(</DIV>]]>
   </description>
   <pubDate>Sat, 02 Oct 2010 09:42:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60643&amp;title=ribbon-not-localeaware#60643</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon not locale-aware! :( : pCommandBars-&amp;gt;EnableActions...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60631&amp;title=ribbon-not-localeaware#60631</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 17344<br /><strong>Posted:</strong> 01 October 2010 at 11:45am<br /><br /><DIV>pCommandBars-&gt;EnableActions();</DIV><DIV>&nbsp;</DIV><DIV>GetActions()-&gt;Add(ID_RIBBON_ITEM1);</DIV><DIV><DIV>...</DIV><DIV>GetActions()-&gt;Add(ID_RIBBON_ITEMN);</DIV><DIV>&nbsp;</DIV><DIV>That does not help! :(</DIV></DIV>]]>
   </description>
   <pubDate>Fri, 01 Oct 2010 11:45:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60631&amp;title=ribbon-not-localeaware#60631</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon not locale-aware! :( : Cool. Are actions applied for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60600&amp;title=ribbon-not-localeaware#60600</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 17344<br /><strong>Posted:</strong> 30 September 2010 at 6:36am<br /><br />Cool. Are actions applied for tooltips too?<DIV>&nbsp;</DIV><DIV>I suppose that to update whole application after language change, the following must be done:</DIV><DIV>1) Ribbon = nothing, thanks to actions.</DIV><DIV>2) Panes = explicit update of captions.</DIV><DIV>3) Pane dialogs = <strong>not sure</strong>. Dialog must be recreated?</DIV><DIV>4) Report controls = explicit update of columns/group row headers (and possibly tooltips).</DIV><DIV>&nbsp;</DIV><DIV>Correct?</DIV>]]>
   </description>
   <pubDate>Thu, 30 Sep 2010 06:36:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60600&amp;title=ribbon-not-localeaware#60600</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon not locale-aware! :( : Hi,1. Best way is to use Actions...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60595&amp;title=ribbon-not-localeaware#60595</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17344<br /><strong>Posted:</strong> 30 September 2010 at 6:21am<br /><br />Hi,<div><br></div><div>1. Best way is to use Actions for Controls. &nbsp;Check Actions sample - you can load german/english translation and all captions will be changed automatically.</div><div><br></div><div>2. was added for back compatibility for old XML propExchange. just always use 1 :)</div>]]>
   </description>
   <pubDate>Thu, 30 Sep 2010 06:21:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60595&amp;title=ribbon-not-localeaware#60595</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon not locale-aware! :( : Got most of it working, but I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60587&amp;title=ribbon-not-localeaware#60587</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 17344<br /><strong>Posted:</strong> 29 September 2010 at 5:14pm<br /><br />Got most of it working, but I do have two questions:<DIV>&nbsp;</DIV><DIV>1) What is the best way to reload the ribbon captions/tooltips after setting locale?</DIV><DIV>2) What does&nbsp;CompactMode="1" in the xml mean?</DIV><DIV>&nbsp;</DIV><DIV>Many thanks!</DIV>]]>
   </description>
   <pubDate>Wed, 29 Sep 2010 17:14:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60587&amp;title=ribbon-not-localeaware#60587</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbon not locale-aware! :( : Yes, but your scribble-sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60569&amp;title=ribbon-not-localeaware#60569</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 17344<br /><strong>Posted:</strong> 29 September 2010 at 4:48am<br /><br />Yes, but your scribble-sample makes use of xml-files for localization. Very neat!<DIV>&nbsp;</DIV><DIV>Are you saying that localization of ribbon captions can be done simply by setting the locale using the same logic as in your Scribble sample? E.g. setlocale() and SetThreadLocale()?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Actually, it would be great if you added the Scribble-localization stuff to your Ribbon sample. If it works out of the box, then show it! It's a good sales point :)</DIV>]]>
   </description>
   <pubDate>Wed, 29 Sep 2010 04:48:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17344&amp;PID=60569&amp;title=ribbon-not-localeaware#60569</guid>
  </item> 
 </channel>
</rss>