Guides & Tutorials (beta)

Changing the Language for a Component

by Mike Palmatier Visual Basic 6 Created on 05/28/2008  |  Updated on 07/31/2024 0/5 ( 0 votes )

Codejock Components allows you to support multiple languages with only a single line of code.

article Arabic article Czech article Finnish article Hebrew article Swedish article Thai
article Portugal article Chinese article Danish article France article Hungarian article Ukrainian
article Dutch article Romanian article Taiwan article English (US) article German article Italian
article Slovenian article Spanish article Croatian article Estonian article Greek article Japanese
article Slovakian article Russian article South Korean article Latvian article Lithuanian article Norwegian
article Polish article Brazil        

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.

Secure Transactions

Online transactions are secure and protected.


Ssl seal 1
This site is protected by Trustwave's Trusted Commerce program
CompliAssure Secured

Money Back Guarantee

If you are not 100% happy with your purchase within 30 days, you can return it for any reason. Your satisfaction is our priority!


Satisfication Guarantee

Contact sales@codejock.com for more details.