Print Page | Close Window

change language on built-in Toolkit messages?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=15151
Printed Date: 21 June 2025 at 8:14pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: change language on built-in Toolkit messages?
Posted By: unknow
Subject: change language on built-in Toolkit messages?
Date Posted: 10 September 2009 at 6:56pm
Hi; I'd like to make my application multi-language and I know there is a sample about that, so I'll look more into it
 
But, I would like to know how to change dynamically and also at build time the language for built-in Toolkit messages;
 
For example, the ReportControl group header displays "Drag a column header here to group by that column"
 
How can I change this message into German, Spanish or French, dynamically and also a build time with VisualStudio?
 
Thankx!



Replies:
Posted By: unknow
Date Posted: 21 September 2009 at 5:27pm
Hi; any news regarding this help advice request ?


Posted By: Oleg
Date Posted: 22 September 2009 at 3:43am
Hi,
 
There will be problem to change some messages dynamically :( See constructor of CXTPReportPaintManager - this message loaded in constructor and never changed. So to refresh it you have manually set new paint manager for all reports:
 
wndReport.SetPaintManager(new CXTPReportPaintManager ());
 
to load dynamically build langauge dlls (Workspace\Resource) and load with XTPResourceManager()->SetResourceFile(Path);


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: unknow
Date Posted: 22 September 2009 at 6:40pm
Thanks for your reply, I don't mind a static behavior as I will probably link a version of my application for each language with ressources in different languages ID;
 
For example, if I would like to change the report control messages in the ReportControl sample, where would it be done?
 
Thankx!


Posted By: Oleg
Date Posted: 23 September 2009 at 3:30am
Hi,
 
I'm not sure now what you need . You need code or resource file where you want change string ?
See translations in Source\ReportControl\res  folder.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: unknow
Date Posted: 23 September 2009 at 4:06pm

I would like to be able to change the default Toolkit messages which are displayed in english, for example the reportcontrol header text : "Drag a column header here to group by column"

I don't mind to do it within the code since I will compile an executable for each language... so I do it either in my code or my Application ressources.
 
But I don't want to have to edit the Toolkit code and having to recompile it, I want to keep it 100% standard.
 
 
 



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