🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by Georg Schwarz Sun, 09 Mar 1997 00:00
multilingual support in newsreaders?
#8309
Author: Georg Schwarz
Date: Sun, 09 Mar 1997 00:00
49 lines
2837 bytes
Most newsreaders, like eg. nn, when creating a followup to an article,
automatically add some phrase like
In <Mesage-ID> User wrote:

Now this might be OK for English language postings; but for articles in
other languages, the equivalent in that language would be preferable, of
course. Similar is true for phrases like "in <ID> you wrote:" when
replying or "this is a copy of an Usenet article sent to you for your
convenience" when sending a CC of a posted article to someone.
Maybe this does not seem to be much of a problem to English only
speakers; but please remember, there are many Usenet users out there who
post in different languages, in fact I think many Usenet users post in
more than just one language, using the same program. It's not that
people would not understand it, they probably do in most cases, it just
looks awful to have that English phrase at the beginning of an article
that is in a different language. It strikingly reminds of the limitation
of the software, which, IMHO, could relatively easy be overcome.

I'd like to ask authors of Usenet readers what they think of
implementing multilingual support. I'm not thinking of simply making a
French, German, or whatsoever version of an existing English language
piece of software; I'm rather thinking of making such phrases user
configurable based on the news group hierarchy.

I'm thinking of something like that:

(example configuration in some imaginary syntax)

fr.: IN_WROTE="dans %id %us �crivait:"

de. bln. fido.ger.: IN_WROTE="in %id schrieb %us:"

default for groups not specified would be the English phrase.
Another possiblility would be to have predefined, maybe hard coded
phrases for a couple of languages, with the user being able to specify
the language of a hierarchy (which could as well be predefined but
should at least allow for making additions for local newsgroups [such as
bln. above]).
While I have experience programming large pieces of software I assume
such support would not be too difficult to implement.

I'm looking forward for your comments.
-- 
Georg Schwarz     schwarz@physik.tu-berlin.de, kuroi@cs.tu-berlin.de
Institut f�r Theoretische Physik       +49 30 314-24254, FAX -21130
Technische Universit�t Berlin        http://home.pages.de/~schwarz/

Re: multilingual support in newsreaders?
#8308
Author: Pardoz
Date: Sun, 09 Mar 1997 00:00
42 lines
2357 bytes
On Sun, 9 Mar 1997 20:13:46 +0100, Georg Schwarz <schwarz@physik.tu-berlin.de>
wrote in message <<19970309201346234339@marconi.physik.tu-berlin.de>>:

>I'd like to ask authors of Usenet readers what they think of
>implementing multilingual support. I'm not thinking of simply making a
>French, German, or whatsoever version of an existing English language
>piece of software; I'm rather thinking of making such phrases user
>configurable based on the news group hierarchy.

     This functionality is already available in at least one reader
(slrn), and I'd be surprised if you couldn't tweak gnus to do it.

     From slrn it wouldn't be terribly difficult to write a macro using the
article_mode_hook function to set the follow-up and reply strings to something
appropriate for the newsgroup.  Something on the order of

    define article_mode_hook ()
     {
       if (is_substr (current_newsgroup (), "de.")
      {
       followup = ""in %m schrieb %r:";
      }
     set_string_variable ("followup", followup);
     }

     should do it (caveat: I'm far from an expert on slrn's macro
language, but this looks like it should work - basically it uses a
German followup string when following up in the de.* hierarchy; this
could be extended to include different reply strings, .sig files, etc.
as appropriate).

     You can find slrn at ftp.uni-stuttgart.de in /pub/unix/misc/slang.
OS/2 binaries are available from http://www.bgnett.no/~bjoff/slrn.html.

-- 
RIOT, n.  A popular entertainment given to the military by innocent 
bystanders.	       (A. Bierce, _The Devil's Dictionary_)
http://www.io.com/~pardoz (Liaden Universe mailing list home page)
http://www.io.com/~pardoz/mythos.html (Mythos Adventure Archive)

Re: multilingual support in newsreaders?
#8314
Author: Per Hedeland
Date: Mon, 10 Mar 1997 00:00
26 lines
1743 bytes
In article <19970309201346234339@marconi.physik.tu-berlin.de>
schwarz@physik.tu-berlin.de (Georg Schwarz) writes:
>I'd like to ask authors of Usenet readers what they think of
>implementing multilingual support. I'm not thinking of simply making a
>French, German, or whatsoever version of an existing English language
>piece of software; I'm rather thinking of making such phrases user
>configurable based on the news group hierarchy.

I've done this in 'rn' (and later 'trn' of course) since about the day
it was released, a decade ago or so - a snippet from my .(t)rninit file:

-EATTRIBUTION="%(%C=^[^\\.]*$\\|^foo\\.\\|^swnet\\.?\
I artikel %i skriver %[from]\\::In article %i %[from] writes:)" \
-EYOUSAID="%(%C=^[^\\.]*$\\|^foo\\.\\|^swnet\\.?\
I artikel %i skriver du\\::In article %i you write:)" \

- where foo.* (actually something else) and swnet.* are Swedish-
"speaking" hierarchies. Can be expanded to (almost:-) any number of
different alternatives, but will then of course get even harder to read
than the above:-) - I'd guess two is enough for most people, though.

--Per Hedeland
per@erix.ericsson.se

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads