<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Clarion Edge &#187; Addins</title>
	<atom:link href="http://www.clarionedge.com/category/clarion/addins/feed" rel="self" type="application/rss+xml" />
	<link>http://www.clarionedge.com</link>
	<description>Get an Edge with Clarion!</description>
	<lastBuildDate>Thu, 29 Jul 2010 21:13:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Translating Clarion7 Addins</title>
		<link>http://www.clarionedge.com/clarion/translating-clarion7-addins.html</link>
		<comments>http://www.clarionedge.com/clarion/translating-clarion7-addins.html#comments</comments>
		<pubDate>Mon, 01 Jun 2009 15:29:02 +0000</pubDate>
		<dc:creator>brahn</dc:creator>
				<category><![CDATA[Addins]]></category>
		<category><![CDATA[Clarion]]></category>

		<guid isPermaLink="false">http://www.clarionedge.com/?p=247</guid>
		<description><![CDATA[A quick follow up to my previous article on creating a Clarion7 addin this is an example of how to provide translations of your own addins (based on the example provided I think by Lee [...]]]></description>
			<content:encoded><![CDATA[<p>A quick follow up to my previous article on <a href="http://www.clarionedge.com/clarion/clarion7-3rdparty-addinclarion7-3rdparty-addin.html" target="_blank">creating a Clarion7 addin</a> this is an example of how to provide translations of your own addins (based on the example provided I think by Lee and Charles on the newsgroups, thanks!).</p>
<p>The magic line to add to your addin file is this:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;StringResources</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">&quot;Resources\StringResources.resources&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></pre></div></div>

<p>Then for each language you intend to support you create a new resource file with the correct name e.g. StringResources.nl.resources for dutch.</p>
<p><a href="http://www.clarionedge.com/wp-content/uploads/translations.png"><img class="alignnone size-medium wp-image-250" title="translations" src="http://www.clarionedge.com/wp-content/uploads/translations-246x44.png" alt="translations" width="246" height="44" /></a></p>
<p>In the download you will find the C# project files as well as the addin itself. Also included is a BitmapResources.resources file containing all the Silk icons from <a href="http://www.famfamfam.com/lab/icons/silk/" target="_blank">famfamfam</a> which I thought were pretty neat to use as menu icons <img src='http://www.clarionedge.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="download">
<table border="0">
<tbody>
<tr>
<th>Download:</th>
<td><a rel="nofollow" title="Download version 0.1 of AccessoryMenu.sdaddin" href="http://www.clarionedge.com/downloads/3rdParty/AccessoryMenu.sdaddin"><img src="http://www.clarionedge.com/wp-content/plugins/drain-hole/images/download.png" alt="download" width="128" height="128"/></a> <a rel="nofollow" title="Download version 0.1 of AccessoryMenu.sdaddin" href="http://www.clarionedge.com/downloads/3rdParty/AccessoryMenu.sdaddin">AccessoryMenu.sdaddin</a></td>
</tr>
<tr>
<th>Version:</th>
<td>0.1</td>
</tr>
<tr>
<th>Updated:</th>
<td>June 2, 2009</td>
</tr>
<tr>
<th>Size:</th>
<td>618.58 KB</td>
</tr>
<tr>
<th>Downloads:</th>
<td>122</td>
</tr>
</tbody>
</table>
</div>
<div class="download">
<table border="0">
<tbody>
<tr>
<th>Download:</th>
<td><a rel="nofollow" title="Download version 0.1 of AccessoryMenu.zip" href="http://www.clarionedge.com/downloads/3rdParty/AccessoryMenu.zip"><img src="http://www.clarionedge.com/wp-content/plugins/drain-hole/images/download.png" alt="download" width="128" height="128"/></a> <a rel="nofollow" title="Download version 0.1 of AccessoryMenu.zip" href="http://www.clarionedge.com/downloads/3rdParty/AccessoryMenu.zip">AccessoryMenu.zip</a></td>
</tr>
<tr>
<th>Version:</th>
<td>0.1</td>
</tr>
<tr>
<th>Updated:</th>
<td>June 2, 2009</td>
</tr>
<tr>
<th>Size:</th>
<td>1.82 MB</td>
</tr>
<tr>
<th>Downloads:</th>
<td>107</td>
</tr>
</tbody>
</table>
</div>
<p>This is the addin file in case you want a quick look:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;AddIn</span> name        = <span style="color: #ff0000;">&quot;AccessoryMenu&quot;</span></span>
<span style="color: #009900;">       author      = <span style="color: #ff0000;">&quot;&quot;</span></span>
<span style="color: #009900;">       url         = <span style="color: #ff0000;">&quot;&quot;</span></span>
<span style="color: #009900;">       description = <span style="color: #ff0000;">&quot;Common menu for all addin writers!&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
&nbsp;
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Manifest<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Identity</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;AccessoryMenu.Addin&quot;</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;0.3&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Dependency</span> addin = <span style="color: #ff0000;">&quot;SharpDevelop&quot;</span> version = <span style="color: #ff0000;">&quot;2.1&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Manifest<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;BitmapResources</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">&quot;Resources\BitmapResources.resources&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;StringResources</span> <span style="color: #000066;">file</span>=<span style="color: #ff0000;">&quot;Resources\StringResources.resources&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Path</span> name = <span style="color: #ff0000;">&quot;/SharpDevelop/Workbench/MainMenu/Help&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;MenuItem</span> id = <span style="color: #ff0000;">&quot;Accessory&quot;</span> </span>
<span style="color: #009900;">		          label = <span style="color: #ff0000;">&quot;${res:Addin.Menu.Accessory}&quot;</span> </span>
<span style="color: #009900;">		          type =<span style="color: #ff0000;">&quot;Menu&quot;</span> </span>
<span style="color: #009900;">		          insertbefore = <span style="color: #ff0000;">&quot;SDKHelp&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;MenuItem</span> id = <span style="color: #ff0000;">&quot;About&quot;</span></span>
<span style="color: #009900;">					  label = <span style="color: #ff0000;">&quot;${res:Addin.Menu.About}&quot;</span></span>
<span style="color: #009900;">					  icon = <span style="color: #ff0000;">&quot;Icons.Silk.plugin&quot;</span></span>
<span style="color: #009900;">					  link = <span style="color: #ff0000;">&quot;http://www.c3pa.com/&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/MenuItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Path<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/AddIn<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.clarionedge.com/clarion/translating-clarion7-addins.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
