![]() |
Localizing .XCB files |
Post Reply ![]() |
Author | |
Borussia ![]() Newbie ![]() Joined: 08 December 2004 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Ark42 ![]() Senior Member ![]() ![]() Joined: 20 October 2003 Status: Offline Points: 291 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |