![]() |
NEED ADVICE: Multi Language (2 questions left) |
Post Reply ![]() |
Author | |
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() 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.
|
|
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.... |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
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.... |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
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.... |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
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.... |
|
![]() |
|
mlatona ![]() Senior Member ![]() Joined: 19 April 2005 Location: Germany Status: Offline Points: 124 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
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.... |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
You have suggest user reload application and load resources before you create any control.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |