Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - NEED ADVICE: Multi Language (2 questions left)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

NEED ADVICE: Multi Language (2 questions left)

 Post Reply Post Reply
Author
Message
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Topic: NEED ADVICE: Multi Language (2 questions left)
    Posted: 30 May 2008 at 5:01am
Hi,
 
I would like some advice with multiple language support.
 
For example:
...GlobalSettings.ResourceFile = App.Path & "\SuitePro.ResourceNl.dll" loads the string ID's for the control.
  1. I guess this will be the standard DLL for CodeJock resources and all future implementations will be added to this resource, right?
  2. So its no option to add ID's that someday will be used by CJ, right?
  3. Question: Can I change GlobalSettings.ResourceFile in runtime? 
  4. I would like to do the same with my used strings, for example ReportControl columns captions , PropertyGridItem captions and Menu item captions etc. etc. (will be in Dutch and English, for now). I saw the Scribble sample already, a lot of functions which I don't know what they do and is this the only way to do it?   
  5. Is there someone who did this already? Any advice would be much appreciated. Prefer a simple working sample  Thanks in advance
 
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2008 at 7:01am
Hello,
 
1. Yes, these dlls contain resources for our ocx files - strings, menus and dialogs.
 
2. We are use Ids from 9000 to 10000 range.
 
3. yes.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2008 at 7:17am
Originally posted by oleg oleg wrote:

Hello,
 
1. Yes, these dlls contain resources for our ocx files - strings, menus and dialogs.
 
2. We are use Ids from 9000 to 10000 range.
 
3. yes.
 
2.    If I would use the same dll for all my settings, would this be a smart thing to do? If you guys will add strings or whatever to the resource I would be forced to update the resource manually, right? (this is added later on: I thought I could edit the DLL directly with resource editor but it will create an XML file with the language you selected, right? I didn't know that...)
 
3.    Why doesn't this work for me? This what I did: ReportControlGlobalSettings.ResourceFile = App.Path & "\SuitePro.ResourceNl.dll" and it doesn't do anything in runtime, only when I close app and restart it will show Dutch strings. Do I have to do something else?
 
Thanks
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2008 at 2:53pm
Hi,
 
2. Maybe better have 2 dlls - Our dll with our resources - to allow easy refresh it with new release and your dll with your strings.
With resource editor you can edit and create both XML and DLL files to load. and can destrubute XML instead of DLL if you want allow your user edit strings.
 
3. yes, in some cases strings are cached in our controls :-(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2008 at 2:10pm
Originally posted by oleg oleg wrote:

Hi,
 
2. Maybe better have 2 dlls - Our dll with our resources - to allow easy refresh it with new release and your dll with your strings.
With resource editor you can edit and create both XML and DLL files to load. and can destrubute XML instead of DLL if you want allow your user edit strings.
 
3. yes, in some cases strings are cached in our controls :-(
 
Hi,
Will this be different in the near future? It would be nice if all strings are changed when setting a different language at runtime.
 
Thanks
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 18 July 2008 at 5:52am
Originally posted by oleg oleg wrote:

Hi,
 
3. yes, in some cases strings are cached in our controls :-(
 
Hi,
 
Will this be changed or not?
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
mlatona View Drop Down
Senior Member
Senior Member


Joined: 19 April 2005
Location: Germany
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlatona Quote  Post ReplyReply Direct Link To This Post Posted: 21 July 2008 at 4:05am
Hi,
 
can you add a function to change the language strings without a dll? My language strings are all in a resource dll. Now, I must publish for each language a resource file for the codejock controls.
It`s better when I have the strings in my own resource file and change the codejock resources over a function. For example CommandbarsGlobalSettings.SetResource(9000, "xxxx")
 
Regards
Marco
Product: Xtreme SuitePro (ActiveX) version 13.2.1
Platform: Windows XP
Language: Visual Basic 6.0 SP6
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 29 July 2008 at 9:30am
Originally posted by oleg oleg wrote:

Hi,
[...] 
3. yes, in some cases strings are cached in our controls :-(
 
And it would be nice to have an answer on this...
Will it ever be possible to change it at runtime?
 
Thanks again
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 30 July 2008 at 8:00am
Hi,
You have suggest user reload application and load resources before you create any control.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.