Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #6318

Re: Multilanguage application

Path csiph.com!usenet.pasdenom.info!gegeweb.org!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Multilanguage application
Date Thu, 28 Nov 2013 15:55:33 +0100
Lines 38
Message-ID <bfp3r7Fgl1nU1@mid.individual.net> (permalink)
References <b6e2b09f-d983-4eec-b4a2-bc547b60089f@googlegroups.com> <7016fd17-6042-48e2-9a48-b319f4bc7947@googlegroups.com> <l75076$54r$1@speranza.aioe.org> <815575f1-6450-4e18-82f0-7c0c1886b08a@googlegroups.com> <l76363$1pv$1@speranza.aioe.org> <a1b3823a-1c98-42f7-a857-c7b4d05875bb@googlegroups.com> <bfocm4FbohnU1@mid.individual.net> <43b4a151-111e-4549-8599-476ee478b42c@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1
X-Trace individual.net FrmPdpZapQM03ip/mVVXOA6SMcL9bTB0P+SgcXEsSAatC+qjw=
Cancel-Lock sha1:9J8/mGqX/8KpNzEbbjRrY23lD50=
User-Agent XanaNews/1.18.1.6
Xref csiph.com comp.lang.clipper.visual-objects:6318

Show key headers only | View raw


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




-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web