Codejock Components allows you to support multiple languages with only a single line of code.
Included with each Codejock component are 32 language resource files. This will translate all static strings that the developer can not change such as the text on the commandbars customize dialog. These files are installed to the "..\Codejock Software\Bin\Translations" folder. All you need to do is set the ResourceFile property of the component to the name of the resource file you want to use. This should be done in the Form_Initialize event.
Private Sub Form_Initialize() CommandBarsGlobalSettings.ResourceFile = "XTPResourceArSa.dll" DockingPaneGlobalSettings.ResourceFile = "XTPResourceArSa.dll" PropertyGridGlobalSettings.ResourceFile = "XTPResourceArSa.dll" ShortcutBarGlobalSettings.ResourceFile = "XTPResourceArSa.dll" End Sub
User Comments
No comments yet, sign in to comment.