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 and Charles on the newsgroups, thanks!).

The magic line to add to your addin file is this:

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.

translations

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 famfamfam which I thought were pretty neat to use as menu icons 🙂

Download: download AccessoryMenu.sdaddin
Version: 0.1
Updated: June 3, 2011
Size: 618.58 KB
Downloads: 902
Download: download AccessoryMenu.zip
Version: 0.1
Updated: June 2, 2009
Size: 1.82 MB
Downloads: 530

This is the addin file in case you want a quick look: