Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #6290 > unrolled thread
| Started by | Lu <lu2k@hotmail.com> |
|---|---|
| First post | 2013-11-26 00:15 -0800 |
| Last post | 2013-11-28 15:55 +0100 |
| Articles | 16 — 4 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Multilanguage application Lu <lu2k@hotmail.com> - 2013-11-26 00:15 -0800
Re: Multilanguage application Lu <lu2k@hotmail.com> - 2013-11-27 02:47 -0800
Re: Multilanguage application "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-11-27 12:47 +0100
Re: Multilanguage application D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2013-11-27 14:25 +0100
Re: Multilanguage application Lu <lu2k@hotmail.com> - 2013-11-27 06:18 -0800
Re: Multilanguage application D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2013-11-28 13:57 +0100
Re: Multilanguage application Lu <lu2k@hotmail.com> - 2013-11-28 05:20 -0800
Re: Multilanguage application D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2013-11-28 16:58 +0100
Re: Multilanguage application Lu <lu2k@hotmail.com> - 2013-11-28 23:18 -0800
Re: Multilanguage application "Jamal" <jamal@examples.net> - 2013-11-27 09:39 -0500
Re: Multilanguage application Lu <lu2k@hotmail.com> - 2013-11-27 06:56 -0800
Re: Multilanguage application "Jamal" <jamal@examples.net> - 2013-11-27 19:36 -0500
Re: Multilanguage application Lu <lu2k@hotmail.com> - 2013-11-27 23:44 -0800
Re: Multilanguage application "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-11-28 09:20 +0100
Re: Multilanguage application Lu <lu2k@hotmail.com> - 2013-11-28 05:09 -0800
Re: Multilanguage application "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-11-28 15:55 +0100
| From | Lu <lu2k@hotmail.com> |
|---|---|
| Date | 2013-11-26 00:15 -0800 |
| Subject | Multilanguage application |
| Message-ID | <b6e2b09f-d983-4eec-b4a2-bc547b60089f@googlegroups.com> |
Hi vo experts! We have to change our applications to multilanguage and do this with the Vo Productivity Pack which works good. With the italian language we have no problem, but with the czech language. The hatchek could not be saved in the dll file. When I type the czech word in the resource file eg resource VOPP_Language stringtable BEGIN IDL_Test "ěščřž" END it is shown correct, but when I save it, close and open it is looks like: resource VOPP_Language stringtable BEGIN IDL_Test "ešcrž" END thanks for any hints Lu
[toc] | [next] | [standalone]
| From | Lu <lu2k@hotmail.com> |
|---|---|
| Date | 2013-11-27 02:47 -0800 |
| Message-ID | <7016fd17-6042-48e2-9a48-b319f4bc7947@googlegroups.com> |
| In reply to | #6290 |
I found a solution but its a bit long-winded. If I change in the "Region and Language" -> Administrative Menu the "system local" to czech it works but I have to restart the computer after changing. I could not find a solution to change the system locale with VO to the appropriate language (eg: czech). With SetLocaleInfo you can only change the time or digits or something like this. Is this not possible? Is it possible to change VO to unicode? Lu
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2013-11-27 12:47 +0100 |
| Message-ID | <bfm4euFrn8oU1@mid.individual.net> |
| In reply to | #6300 |
Hi Lu, > Is it possible to change VO to unicode? when it is only the user interface, it should be possible, but I don't know about stringtables. Robert v.d.Hulst had materials about this, and I have done some experiments with it (I needed polish), but had no luck to accomplish what I needed. It would be better to go to Vulcan as it is Unicode by default (but don't know about VO compatible classes). Wolfgang --
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2013-11-27 14:25 +0100 |
| Message-ID | <dmsb99hnsrff1r4fo05mrti6nvg25qkb33@4ax.com> |
| In reply to | #6300 |
On Wed, 27 Nov 2013 02:47:37 -0800 (PST), Lu <lu2k@hotmail.com> wrote: Hello Lu, >Is it possible to change VO to unicode? No, as Wolfgang says you should go to Vulcan for that. The session Robert once gave about a 'Unicode VO' was quite impressive but that he did was basically a trick to sore characters in a DBF as double byte: adding a layer around reading and writing DBF files such that VO first retrieved a language byte somewhere from the unused part of the DBF header and then switched to the according codepageso the program would display the text with the right characters. That byte was of course also stored back when you write something in the dbf. Although I've seen it working I couldn't get the session sample get to work on my PC so I guess it was quite experimental. That wouldn't help you anyway as you store your translations in codepages. What happens with your translations when you start with a different code page in Windows? Dick
[toc] | [prev] | [next] | [standalone]
| From | Lu <lu2k@hotmail.com> |
|---|---|
| Date | 2013-11-27 06:18 -0800 |
| Message-ID | <fe93518d-8495-43a8-8a77-9ec0dfc6df68@googlegroups.com> |
| In reply to | #6303 |
Hi D. J. W. van Kooten and Wolfgang! Thanks for your answers. What do you mean with a "different code page in Windows"? Lu
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2013-11-28 13:57 +0100 |
| Message-ID | <t6fe991vc52jjsir95hvslckldupom628e@4ax.com> |
| In reply to | #6304 |
On Wed, 27 Nov 2013 06:18:07 -0800 (PST), Lu <lu2k@hotmail.com> wrote: Hello Lu, > >Thanks for your answers. >What do you mean with a "different code page in Windows"? In Windows it''s basically setting a language, this is how you do that in W8: http://www.sisulizer.com/localization/support/codepages-language-packs-w8.shtml Try to set it in Czech language and I'd expect your translations to look good while previous correct text in other language may no longer look good. We had that when we created Polish reports in ReportPro. We could only test it by adding Polish as language. Without Polish, the invoice didn't show correct but it did on the client system (+ our system as long as the language was set to Polish). I suspect this may be the same thing although I never worked with VOPP translation DLL's. Dick
[toc] | [prev] | [next] | [standalone]
| From | Lu <lu2k@hotmail.com> |
|---|---|
| Date | 2013-11-28 05:20 -0800 |
| Message-ID | <9cd39fe2-874c-407a-b784-14b801348815@googlegroups.com> |
| In reply to | #6314 |
Hi D. J. W. van Kooten, I have to change the system locale for non Unicode programms to Czech than it works, but this is complicated because the foreign user start the application via a citrix session. The setting is for the hole citrix server and not for the user. Lu
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2013-11-28 16:58 +0100 |
| Message-ID | <01qe99tg3kqccd54dka2iu7qhghepchp28@4ax.com> |
| In reply to | #6316 |
On Thu, 28 Nov 2013 05:20:40 -0800 (PST), Lu <lu2k@hotmail.com> wrote: Hello Lu, > >I have to change the system locale for non Unicode programms to Czech than it works, >but this is complicated because the foreign user start the application via a citrix session. >The setting is for the hole citrix server and not for the user. > I think that basically solves your problem. I expect the client's Citrix setup also uses Czech as language so whatever doesn't look good on your system (until you change it to Czech also) looks good on his. However, when the client mixes Czech (=Central European codepage) and other codepages on one setting it is more complicated. In Windows, you can add 2 languages and select the one you want now from an icon on the edge of the taskbar. Their IT support should be able to setup a Citrix environment accordingly. Dick
[toc] | [prev] | [next] | [standalone]
| From | Lu <lu2k@hotmail.com> |
|---|---|
| Date | 2013-11-28 23:18 -0800 |
| Message-ID | <2f2bf350-00e1-421b-af40-befd76098e8a@googlegroups.com> |
| In reply to | #6319 |
Hi Dick! Our citrix group use a citrix server for about 30 users and a second for system failure and load-balancing. The application is only used for about 3 czech users, some slovenian users... So we would need for all languages with hatcheks two seperate servers. I hoped to avoid this... Thank you all for your help Lu
[toc] | [prev] | [next] | [standalone]
| From | "Jamal" <jamal@examples.net> |
|---|---|
| Date | 2013-11-27 09:39 -0500 |
| Message-ID | <l75076$54r$1@speranza.aioe.org> |
| In reply to | #6300 |
Have you looked at the SetNatDLL(cDll) function? There is a subfolder under ..\cavo28\Nations which has DLLs for specific nations. This will help in returning certain function values in selected nation's language. However, it will not make VO unicode. Jamal "Lu" wrote in message news:7016fd17-6042-48e2-9a48-b319f4bc7947@googlegroups.com... I found a solution but its a bit long-winded. If I change in the "Region and Language" -> Administrative Menu the "system local" to czech it works but I have to restart the computer after changing. I could not find a solution to change the system locale with VO to the appropriate language (eg: czech). With SetLocaleInfo you can only change the time or digits or something like this. Is this not possible? Is it possible to change VO to unicode? Lu
[toc] | [prev] | [next] | [standalone]
| From | Lu <lu2k@hotmail.com> |
|---|---|
| Date | 2013-11-27 06:56 -0800 |
| Message-ID | <815575f1-6450-4e18-82f0-7c0c1886b08a@googlegroups.com> |
| In reply to | #6305 |
Hi Jamal!
Thanks for your answer, but there is no difference with SetNatDLL("CZech895.dll")
and without.
Lu
[toc] | [prev] | [next] | [standalone]
| From | "Jamal" <jamal@examples.net> |
|---|---|
| Date | 2013-11-27 19:36 -0500 |
| Message-ID | <l76363$1pv$1@speranza.aioe.org> |
| In reply to | #6306 |
Hi Lu,
What I suggested is not to correct the issue with the VO source code editor
which seems to be a bug that only Grafx should fix, but with handling
stringtable resources at runtime.
Another way to see the source editor bug: highlight the text and hit CTRL-B
to comment it out. The text changes!
Jamal
"Lu" wrote in message
news:815575f1-6450-4e18-82f0-7c0c1886b08a@googlegroups.com...
Hi Jamal!
Thanks for your answer, but there is no difference with
SetNatDLL("CZech895.dll")
and without.
Lu
[toc] | [prev] | [next] | [standalone]
| From | Lu <lu2k@hotmail.com> |
|---|---|
| Date | 2013-11-27 23:44 -0800 |
| Message-ID | <a1b3823a-1c98-42f7-a857-c7b4d05875bb@googlegroups.com> |
| In reply to | #6308 |
Hi Jamal, Thanks for your answer, but how can I change the handling of stringtable resources? I can only write it in the VO editor, save/compile it and make dll, or not? Can I change maybe the compiler or something like this? Lu
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2013-11-28 09:20 +0100 |
| Message-ID | <bfocm4FbohnU1@mid.individual.net> |
| In reply to | #6309 |
Hi Lu, PMFJI, > Thanks for your answer, but how can I change the handling of > stringtable resources? I can only write it in the VO editor, > save/compile it and make dll, or not? you can write stringtable resources with whatever you want - adding it as external module to you VO application. In fact, I'm defining _all_ my stringtables with my own, DBF based application that writes the entries to a prg file, that is defined as external module in my application. For me that is very important because nearly all my applications are multilingual between italian and german. Wolfgang --
[toc] | [prev] | [next] | [standalone]
| From | Lu <lu2k@hotmail.com> |
|---|---|
| Date | 2013-11-28 05:09 -0800 |
| Message-ID | <43b4a151-111e-4549-8599-476ee478b42c@googlegroups.com> |
| In reply to | #6310 |
Hi Wolfgang! Thanks for your input. I do not know what you mean with the DBF File. We have for each language a seperate DLL, and with the VO productivity pack we create a german resource stringtable. This resouce file we translate in all necessary languages. eg: modules Lang_German, Lang_Czech... Which tool do you use to create a prg file Lu
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2013-11-28 15:55 +0100 |
| Message-ID | <bfp3r7Fgl1nU1@mid.individual.net> |
| In reply to | #6315 |
Hi Lu, > I do not know what you mean with the DBF File. We have for each > language a seperate DLL, and with the VO productivity pack we create > a german resource stringtable. This resouce file we translate in all > necessary languages. eg: modules Lang_German, Lang_Czech... > > Which tool do you use to create a prg file I have my own application used to maintain translations in a DBF table. The prg file is then created with my own application: FWrite( hFile, "RESOURCE " + cField + " STRINGTABLE" + _Chr( 13 ) + _Chr( 10 ) ) FWrite( hFile, "BEGIN" + _Chr( 13 ) + _Chr( 10 ) ) nWritten := 20 nCurrent := 0 oStringT:GoTop() WHILE oStringT:EOF == FALSE cText := StrTran( AllTrim( oStringT:FieldGet( symField ) ), '"', "'" ) cLine := " " + PadR( AllTrim( oStringT:FieldGet( #XSTRINGID ) ) + ",", 35 ) + '"' + cText + '"' + _Chr( 13 ) + _Chr( 10 ) FWrite( hFile, cLine ) oStringT:Skip() END FWrite( hFile, "END" + _Chr( 13 ) + _Chr( 10 ) ) Look at the source code in the string table generated by VOPP and you will be able to create these itself. Wolfgang --
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web