Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Localizing .XCB files
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Localizing .XCB files

 Post Reply Post Reply
Author
Message Reverse Sort Order
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Topic: Localizing .XCB files
    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.

Back to Top
Borussia View Drop Down
Newbie
Newbie


Joined: 08 December 2004
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Borussia Quote  Post ReplyReply Direct Link To This Post 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.



Edited by Borussia
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.