wpcubed.com Forum Index wpcubed.com
WPCubed GmbH Support Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wordpad 5 demo

 
Post new topic   Reply to topic    wpcubed.com Forum Index -> WPTools6 (VCL)
View previous topic :: View next topic  
Author Message
didiergm



Joined: 06 Feb 2008
Posts: 44

PostPosted: Sat Sep 26, 2009 4:49 pm    Post subject: Wordpad 5 demo Reply with quote

Hello,

I am trying to get the translation to work in the Wordpad 5 demo.

I tried with WPtool5 in D2007 and it mostly works (although the menus do not get translated),

but with Wptools6/D2010 no matter how I try to get the translation to work, it does not. I can see the right routines being called, but the dialog forms always appear in English, no matter which langiage I select.

I surely must have missed on step when setting up WPtools6, but I cannot see which one. can you help?

Didier
Back to top
View user's profile Send private message
wpsupport
Site Admin


Joined: 24 Oct 2003
Posts: 5658

PostPosted: Wed Sep 30, 2009 12:08 pm    Post subject: Reply with quote

Hi,

please add the compiler symbol VER200 to the project options and rebuild the project. It should then work.

Julian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
didiergm



Joined: 06 Feb 2008
Posts: 44

PostPosted: Thu Oct 01, 2009 5:43 pm    Post subject: Reply with quote

Julian,

Sorry it took a bit longer than anticipated to answer you, but we had to evacuate the building because of a gas leak in the basement ....). Anyway,

I added {$DEFINE VER200} just before the {$I WPINC.INC}

It now sort of works : when selecting the FR language the following happens

the File menu stays in English,
the Edit menu is mostly in French bar the DELETE and SELECT (although it's submenu gets translated)
All other menus stay in English EXCEPT for the submenus (Insert/select and DELETE) in the table menu;

Common dialogs remain in English (font, paragraph, border, numbers) except for the window caption which is translated.

I also tried to select German, in case there was an allergy to French :) and the same happens

What can I do ? I am supposed to deliver an app on Tuesday, so I'll have to manually translate the dialogs, I guess, but this is not the preferred option.

Didier
Back to top
View user's profile Send private message
wpsupport
Site Admin


Joined: 24 Oct 2003
Posts: 5658

PostPosted: Thu Oct 01, 2009 6:53 pm    Post subject: Reply with quote

Hi,

the problem is in the language unit, so it is necessary to add
VER200

in the project options. In the property dialog You will find the list under "Conditionals".

Then the dialogs should be translated as before.

Julian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
didiergm



Joined: 06 Feb 2008
Posts: 44

PostPosted: Fri Oct 02, 2009 5:12 am    Post subject: Reply with quote

Julian,

I must be daft, but I tried in D2010 and it does not change what I am seeing. Here is what I did, it could be wrong:

I went to Project Options/Delphi Compiler/condifitonal defines and added VER200; rebuild the project and I am still the same issue

Didier
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    wpcubed.com Forum Index -> WPTools6 (VCL) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group