<?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 : Localization</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Localization]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 10:09:44 +0000</pubDate>
  <lastBuildDate>Thu, 15 Jan 2009 20:29:42 +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=12888</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[Localization :   I&amp;#039;m doing something similar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12888&amp;PID=44629&amp;title=localization#44629</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4879">jeremyspiegel</a><br /><strong>Subject:</strong> 12888<br /><strong>Posted:</strong> 15 January 2009 at 8:29pm<br /><br />I'm doing something similar and am in need of some help.&nbsp; We also build localized resource DLLs and load them at runtime when our app starts up.&nbsp; We build and load these resource DLLs not only to localize ourapplication, but also to allow partners to rebrand our applicationthrough the resource DLL mechanism.<br><br>We currently accomplish this by doing a AfxSetResourceHandle( LoadLibrary( &lt;localized resource dll&gt; ) ).&nbsp; Now that we've adopted Codejock, it looks like we're just supposed to include the localized codejock resources when building our localized resource DLLs and things will just work.<br><br>This seems like it could be a problem for us though.&nbsp; We need to allow our localization partners and our rebranding partners to build the resource DLL themselves to verify the quality of the localization/rebranding.&nbsp; This allows them to see if controls are positioned correctly in dialog boxes, for example.&nbsp; In order to do this, we have been sending them our own resource files to run through the resource compiler to produce the resource DLL.&nbsp; But now with Codejock it seems we would need to give them the Codejock resource files as well, which it appears is against the Codejock license agreement.<br><br>As an alternative, I tried building the Codejock resources as part of our main executable, and setting Codejock's XTPResourceManager singleton to use the main executable for resources instead of the resource DLL.&nbsp; We still set the MFC resource handle to the satellite DLL.<br><br>This works somewhat since much of Codejock's code goes through the XTPResourceManager() singleton to load resources.&nbsp; However, there is still a good amount of Codejock code (version 12.0.2) that goes straight to MFC to load resources (CXTPShortcutBarPaintManager::CXTPShortcutBarPaintManager for example).&nbsp; This fails when the codejock resources aren't included in our satellite resource DLLs.<br><br>Is there a recommendation for the best way to handle this?<br><br>:) Jeremy<br>]]>
   </description>
   <pubDate>Thu, 15 Jan 2009 20:29:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12888&amp;PID=44629&amp;title=localization#44629</guid>
  </item> 
  <item>
   <title><![CDATA[Localization : Ok, that makes a more sense.  One...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12888&amp;PID=43609&amp;title=localization#43609</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1834">eggbox</a><br /><strong>Subject:</strong> 12888<br /><strong>Posted:</strong> 12 December 2008 at 9:53am<br /><br /><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#000099 size=2>Ok, that makes a more sense.<DIV>&nbsp;</DIV><DIV>One final&nbsp;question, does the toolkit contain the&nbsp;English resources, because we do not ship any resource we just ship the toolkit DLL and the strings for toolkit controls are all in place.</DIV><DIV>&nbsp;</DIV><DIV>Thanks again for your prompt response.</DIV><DIV></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 12 Dec 2008 09:53:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12888&amp;PID=43609&amp;title=localization#43609</guid>
  </item> 
  <item>
   <title><![CDATA[Localization : If you only need Japanese version...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12888&amp;PID=43607&amp;title=localization#43607</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 12888<br /><strong>Posted:</strong> 12 December 2008 at 9:04am<br /><br />If you only need Japanese version and don't need switch resources in runtime:<br><br>Add<br>1. in res\app.rc2 file add<br><br>#define _XTP_RESOURCE_LANGUAGE ja<br>#include "XTToolkitPro.rc"<br><br>2. in BOOL CYourApp::InitInstance() add<br><br>XTPResourceManager()-&gt;SetResourceHandle(AfxGetInstanceHandle());]]>
   </description>
   <pubDate>Fri, 12 Dec 2008 09:04:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12888&amp;PID=43607&amp;title=localization#43607</guid>
  </item> 
  <item>
   <title><![CDATA[Localization : Yes, the Dlls contain only strings...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12888&amp;PID=43606&amp;title=localization#43606</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 12888<br /><strong>Posted:</strong> 12 December 2008 at 9:00am<br /><br />Yes, the Dlls contain only strings of the Toolkit that the developer can't change in code.&nbsp; In this case you would need the Japanese and English Dlls.<br><br>The first sample I recommended shows how to use them:<br>"C:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v12.1.1\Samples\ToolkitPro\MultiLanguage\MultiLanguage_vc60.dsw"<br><br>All you need is load Language dll:<br><br>if (m_hModule)<br>	{<br>		::FreeLibrary(m_hModule);<br>		m_hModule = 0;<br>	}<br><br>	m_hModule = ::LoadLibrary(lpszDllPath);<br>	<br>	XTPResourceManager()-&gt;SetResourceHandle(m_hModule);<br><br><br>]]>
   </description>
   <pubDate>Fri, 12 Dec 2008 09:00:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12888&amp;PID=43606&amp;title=localization#43606</guid>
  </item> 
  <item>
   <title><![CDATA[Localization : Thanks for the information, I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12888&amp;PID=43582&amp;title=localization#43582</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1834">eggbox</a><br /><strong>Subject:</strong> 12888<br /><strong>Posted:</strong> 11 December 2008 at 2:56pm<br /><br /><font color="#333300"><font size="2"><font face="Verdana, Arial, Helvetica, sans-serif">Thanks for the information, I understand how these sample work but (I think) this is not what I need to do, i.e. control all the resources using codejock, we have an existing mechanism to do this for our resource files/dlls.<br><br>I am looking at the resources in the codejock source code for codejock controls, e.g. the PropertyGrid.&nbsp; In this example I can see there is a resource file; <b>Resource.rc</b> that contains text for 3 items that are shown in the property grid.&nbsp; There are also language resource files which have different names, e.g. <b>Resource_ja.rc</b> for Japanese.<br><br>So, I go to the Workspace/Resource folder and compile the resources which creates a bunch of DLLs in the bin/translations folder.&nbsp; Assuming I only want Japanese, how do I use these DLLs?<br><br>Thanks<br></font></font></font><br>]]>
   </description>
   <pubDate>Thu, 11 Dec 2008 14:56:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12888&amp;PID=43582&amp;title=localization#43582</guid>
  </item> 
  <item>
   <title><![CDATA[Localization :  We also have Dlls for languages....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12888&amp;PID=43547&amp;title=localization#43547</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 12888<br /><strong>Posted:</strong> 10 December 2008 at 3:54pm<br /><br />We also have Dlls for languages.&nbsp; A separate Dll for each language.&nbsp; Basically you just specify which Dll to use and that is it, only a few lines of code.&nbsp; The Resource Editor shows all internal strings that are translated, and if they are not translated you can use that utility to do that yourself.<br><br>So you can also change our language Dll on the fly, they are small so you can ship them both.<br><br>First, you can edit the Dlls using out Resource Editor utility:<br><br>"C:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v12.1.1\Utils\ResourceEditor.exe"<br><br><br>There are 2 samples that show how to use them:<br><br>This sample just used the Dlls:<br>"C:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v12.1.1\Samples\ToolkitPro\MultiLanguage\MultiLanguage_vc60.dsw"<br><br>This sample shows how you can change all strings in the application, not just those stored in our Dll:<br>"C:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v12.1.1\Samples\CommandBars\ScribbleMultiLang\Scribble_vc60.dsw"<br><br>Hope this helps<br><br>]]>
   </description>
   <pubDate>Wed, 10 Dec 2008 15:54:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12888&amp;PID=43547&amp;title=localization#43547</guid>
  </item> 
  <item>
   <title><![CDATA[Localization : We need to create a localized...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12888&amp;PID=43546&amp;title=localization#43546</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1834">eggbox</a><br /><strong>Subject:</strong> 12888<br /><strong>Posted:</strong> 10 December 2008 at 3:47pm<br /><br /><font color="#000099" face="Verdana, Arial, Helvetica, sans-serif" size="2">We need to create a localized version of our software (to Japanese), our code is setup with satellite resource DLLs.&nbsp; We ship both English and Japanese DLLs to our customers and let them decide which language to use.<br><br>Where can I get information about how Codejock handles localization, do I need to create Codejock resource DLLs or do I need to ship 2 versions of the DLLs (one for English and one for Japanese).<br><br>Then, how do I load the correct one (resource DLLs or DLL) at runtime?<br><br>Any pointers would be greatly appreciated.<br></font><font size="2"><br></font>]]>
   </description>
   <pubDate>Wed, 10 Dec 2008 15:47:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12888&amp;PID=43546&amp;title=localization#43546</guid>
  </item> 
 </channel>
</rss>