|  | 
| Xtreme Toolkit Translation. | 
| Post Reply   | 
| Author | |
| WilliamGS   Newbie   Joined: 18 April 2005 Location: Peru Status: Offline Points: 12 |  Post Options  Thanks(0)  Quote  Reply  Topic: Xtreme Toolkit Translation. Posted: 15 June 2006 at 11:16am | 
| Hello all. I have an application that support Spanish and English languages, but XTP controls show its messages always in English, for example CReportControl shows: "Drag a column header here to group by that column" and "Tere are no items to show". I need this messsages in other languages too, ¿how can I translate them?. I am using XTP 9.6 - VC 6.0/2002 - Win 2000/XP. Thanks in advance, William GS | |
|  | |
| pascal   Groupie   Joined: 07 February 2005 Location: Germany Status: Offline Points: 25 |  Post Options  Thanks(0)  Quote  Reply  Posted: 15 June 2006 at 12:28pm | 
| 
   Hello, Build the translation solution (Resource_vcXX.sln) under <Program Files>\<Codejock_path>\WorkSpace\Resource. The output directory is then: <Program Files>\<Codejock_path>\bin\vc80\translations Once you done it, implement the following statements in your application and call it from initinstance(): (the easy way  ) BOOL CMyApp::LoadSpanishLanguage() { HINSTANCE hGUIResource = AfxLoadLibrary( <Path_to_Resource_dll); if( hGUIResource == NULL ) return FALSE; // That's an error XTPResourceManager()->SetResourceHandle(hGUIResource); } That's all, Pascal | |
| 
     Pascal Verdier Software Engineer Manager | |
|  | |
| WilliamGS   Newbie   Joined: 18 April 2005 Location: Peru Status: Offline Points: 12 |  Post Options  Thanks(0)  Quote  Reply  Posted: 15 June 2006 at 1:11pm | 
| 
   Hello Pascal, thank you so much for you help.
 William GS | |
|  | |
| WilliamGS   Newbie   Joined: 18 April 2005 Location: Peru Status: Offline Points: 12 |  Post Options  Thanks(0)  Quote  Reply  Posted: 15 June 2006 at 1:26pm | 
| 
   Hello again.
 I have problems with   XTPResourceManager()->SetResourceHandle(hGUIResource); I have XTP 9.61, and it does not have this function. Thanks in advance, William GS | |
|  | |
| pascal   Groupie   Joined: 07 February 2005 Location: Germany Status: Offline Points: 25 |  Post Options  Thanks(0)  Quote  Reply  Posted: 21 June 2006 at 10:47am | 
| 
   Really sorry, but I don't know this librarie  Pascal | |
| 
     Pascal Verdier Software Engineer Manager | |
|  | |
| 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 |