Print Page | Close Window

Localizing .XCB files

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=1506
Printed Date: 06 March 2025 at 4:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Localizing .XCB files
Posted By: Borussia
Subject: Localizing .XCB files
Date Posted: 08 December 2004 at 9:58am

Was just wondering if anybody had any experience in localizing .xcb files or have developed these files with Localization in mind ?

Some the standard localization tools, such as Alchemy Catalyst, do not handle these files.




Replies:
Posted By: Ark42
Date Posted: 10 December 2004 at 2:09pm

My method is to loop through all of the controls after loading the .xcb and use the caption to do translation to localize it.
My entire application does its localization based on loading a .txt file (from a resource by default but can load a file if a registry setting exists telling it to)
The file contains lines like
FILE_OPEN=&Open
FILE_EXIT=E&xit
and such, and in my XCB the commands are just labeled like FILE_OPEN and stuff.  The tooltips and long descriptions are blank in the XCB and are loaded from txt files at the same time the caption itself is.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net