Print Page | Close Window

NEED ADVICE: Multi Language (2 questions left)

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=10835
Printed Date: 06 May 2024 at 7:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: NEED ADVICE: Multi Language (2 questions left)
Posted By: Aaron
Subject: NEED ADVICE: Multi Language (2 questions left)
Date 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....



Replies:
Posted By: Oleg
Date 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


Posted By: Aaron
Date 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....


Posted By: Oleg
Date 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


Posted By: Aaron
Date 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....


Posted By: Aaron
Date 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....


Posted By: mlatona
Date 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


Posted By: Aaron
Date 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....


Posted By: Oleg
Date 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



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