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" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Multilanguage application Date: Thu, 28 Nov 2013 15:55:33 +0100 Lines: 38 Message-ID: References: <7016fd17-6042-48e2-9a48-b319f4bc7947@googlegroups.com> <815575f1-6450-4e18-82f0-7c0c1886b08a@googlegroups.com> <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 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 --