Toll Free: (877) 723-1442 U.S. and Canada
Support
ActiveX / COM
Visual C++ / MFC
Customer Spotlight
Corporate Partners
Contact Sales

Call center available M-F 9:00 - 6:00 US Eastern Time.

U.S. and Canada
(877) 723-1442

International
(517) 625-5729

Email

Add Multi-Language Support to your CommandBars

Author: Mike Palmatier
Posted: February 23, 2006
Environment: Visual Basic 6.0

Xtreme CommandBars supports up to 32 different languages. CommandBars multi-language support will translate all static strings that the developer can not change such as the text on the customize dialog. All editable strings will not be translated as they can be changed by the developer. The CommandBarsGlobalSettings.ResourceFile property is used to set the current local for your application. This should be placed in the Form_Initialize event of the main form.

Provided with the CommandBars is a separate DLL file for each language. The files can be found in the Codejock Software\Bin\Translations folder.

This sample code illustrates how to use a translated resource dll file for your selected language. In this sample Arabic was selected.

 Private Sub Form_Initialize()

     CommandBarsGlobalSettings.ResourceFile = "XTPResourceArSa.dll"

 End Sub

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Other products and/or company names may be trademarks or registered trademarks of their respective owners.