Article View: news.software.readers
Article #76982Re: [Xnews] french library
From: Matthijs Laan
Date: Thu, 19 Apr 2001 13:45
Date: Thu, 19 Apr 2001 13:45
71 lines
3369 bytes
3369 bytes
According to Luu Tran, > kyle.katarn@free.nospam.fr (Kyle Katarn) wrote in ><Xns908369A2ACD9Ekatarnkyle@213.228.0.5>: > >> It's a question for Luu : is it possible to make a french version >> of Xnews with, of course, the help of a frenchm ? >> I propose myself for the translation but I don't know >> if Xnews is able of working with several language library. >> > > No, I hard coded all the strings (dumb, but wasn't thinking ahead) and > now it'd be a royal pain to add localization. Sorry. Using the Integrated Translation Environment in Delphi is really easy. You have a Delphi version with an ITE don't you? WinFace is localized with it, you could check the source out. You just put all your strings in a string variable in a separate file, under the 'resourcestring' section. You then just add all strings to the repository, export to an XML file and let people translate it. Import the translated .xml and you have another translation. For example, this is part of the .xml file for WinFace. If someone translates it, I can compile an extra Language DLL. WinFace won't even have to be recompiled as it enumerates all Language DLL's at runtime. <?xml version="1.0" encoding="utf-8"?> <TTABLE> <HEAD> <BASE-LOCALE>US en</BASE-LOCALE> <TARGET-LOCALE>NL nl</TARGET-LOCALE> <REVISION>1.0</REVISION> <DATE FMT="y.m.d">2001.4.19</DATE> <AUTHOR>Borland Integrated Translation Environment</AUTHOR> </HEAD> <PACKAGE> <STRING> <ORIGINAL>"Arithmetic overflow or buffer overflow"</ORIGINAL> <TRANSLATION>"Interne fout: arithmetic of buffer overflow"</TRANSLATION> </STRING> </PACKAGE> <PACKAGE> <STRING> <ORIGINAL>"Bad face source bitmap"</ORIGINAL> <TRANSLATION>"Bron bitmap verkeerd"</TRANSLATION> </STRING> </PACKAGE> <PACKAGE> <STRING> <ORIGINAL>"Conversion was completed OK but some input was ignored!"</ORIGINAL> <TRANSLATION>"Conversie voltooid maar sommige input is genegeerd!"</TRANSLATION> </STRING> </PACKAGE> <PACKAGE> <STRING> <ORIGINAL>"Error: "</ORIGINAL> <TRANSLATION>"Fout: "</TRANSLATION> </STRING> </PACKAGE> ... ... </TTABLE> If anyone cares to translate the WinFace .xml file, I'll put it up somewhere. Matthijs
Technical Details
Message-ID:
<Xns90889F398F4A5matthijs@127.0.0.1>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!newsfeed.wirehub.nl!transit.news.xs4all.nl!newszilla.xs4all.nl!not-for-mailReferences:
<Xns908369A2ACD9Ekatarnkyle@213.228.0.5> <Xns908380591E40Fluutrangeocities@206.13.28.182>Show Full Headers
Complete Article Headers
Message-ID: <Xns90889F398F4A5matthijs@127.0.0.1>
Subject: Re: [Xnews] french library
Date: Thu, 19 Apr 2001 13:45:19 +0000
From: matthijsln@nospam-remove.xs4all.nl (Matthijs Laan)
References: <Xns908369A2ACD9Ekatarnkyle@213.228.0.5> <Xns908380591E40Fluutrangeocities@206.13.28.182>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!newsfeed.wirehub.nl!transit.news.xs4all.nl!newszilla.xs4all.nl!not-for-mail
X-Posting-Agent: Hamster/1.3.22.0
Newsgroups: news.software.readers
User-Agent: Xnews/4.04.17
X-Face: c"kR4jyeH#ybTcZgH{W"[->t(g]##rZFXYNH\&5:^\Ur73N{MZU$!$_.w409gu,}mUQWI(z!X['Pf4Qs*GI9w[?Q./mZ{h<wC"u~Ei\O*eEPQVC5S4R@jyXc]d:&!C^RRemg)SS@w-?[fXmna^-w@:D*zn`aSwY
Lines: 70
NNTP-Posting-Host: 194.109.172.164
X-Trace: 987687919 newszilla.xs4all.nl 32952 194.109.172.164