SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TActionManager & TActionMainMenuBar

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
lenif7780



Joined: 06 May 2003
Posts: 12

PostPosted: Thu May 08, 2003 1:37 pm    Post subject: TActionManager & TActionMainMenuBar Reply with quote

I have my menu composed of the TActionManager & TActionMainMenuBar

When I try to translate or use the extended translation procedure, my ActionManger.ActionBar[x].Item[x] doesn't appear. Must I change the traduction in runtime by myself ? I known that this ActionManager can't be translated with D6 but is it possible with your component ?

Thanks,

Yves.
D6Ent.+TsiL eval. (before buy Wink)
Back to top
View user's profile Send private message
gaivans



Joined: 29 Nov 2002
Posts: 71

PostPosted: Thu May 08, 2003 2:52 pm    Post subject: Reply with quote

Hello,

Yes, it is possible. See our FAQ for details:
http://www.sicomponents.com/lng_faq.html#10
Back to top
View user's profile Send private message AIM Address MSN Messenger
lenif7780



Joined: 06 May 2003
Posts: 12

PostPosted: Fri May 09, 2003 7:10 am    Post subject: Reply with quote

Hello,

I do that but my translation don't work. All subitems are translated but my main menu items (file,edit,...) stay in english ... Sad
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Fri May 09, 2003 8:57 am    Post subject: Reply with quote

Have you assigned and translated the action for each top-level item?
Back to top
View user's profile Send private message
lenif7780



Joined: 06 May 2003
Posts: 12

PostPosted: Fri May 09, 2003 8:58 am    Post subject: Reply with quote

yes
Back to top
View user's profile Send private message
lenif7780



Joined: 06 May 2003
Posts: 12

PostPosted: Fri May 09, 2003 10:02 am    Post subject: Reply with quote

I use the filname property of the actionmanager to store the layout and maybe the problem come from there ?
Back to top
View user's profile Send private message
lenif7780



Joined: 06 May 2003
Posts: 12

PostPosted: Fri May 09, 2003 10:56 am    Post subject: Reply with quote

To get it working, I add all main menu items caption into const. At the end of the UpdateStrings methode, i add ActionManager.ActionBand[0].Item[x].Caption := myConst;

So it works, but I don't think it's really the good method ... ! Wink
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Fri May 09, 2003 11:57 am    Post subject: Reply with quote

lenif7780 wrote:
I use the filname property of the actionmanager to store the layout and maybe the problem come from there ?



This could be the origin of problem.
Back to top
View user's profile Send private message
lenif7780



Joined: 06 May 2003
Posts: 12

PostPosted: Fri May 09, 2003 1:34 pm    Post subject: Reply with quote

I think too, but when translate in runtime myself, into the onchangelang event, that works great !

One more question: I f you test the actionmanager & customize menu possibility, you can see that delphi popup a small window to customize menus. How can I translate this too ?
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Sat May 10, 2003 4:36 am    Post subject: Reply with quote

The strings from this popup menu ar placed in resource strings of project. So you can translate them by importing them from executable and setting the HandleResourceStrings property to True.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite 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 p h p B B  © 2001, 2005 p h p B B  Group