🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Georg Schwarz Sun, 09 Mar 1997 00:00
multilingual support in newsreaders?
#32020
Author: Georg Schwarz
Date: Sun, 09 Mar 1997 00:00
49 lines
2909 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?
#32026
Author: Pardoz
Date: Sun, 09 Mar 1997 00:00
42 lines
2429 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?
#32054
Author: Per Hedeland
Date: Mon, 10 Mar 1997 00:00
26 lines
1815 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

Re: multilingual support in newsreaders?
#32071
Author: Heikki Kantola
Date: Tue, 11 Mar 1997 00:00
29 lines
1981 bytes
According to pardoz@io.com (Pardoz): 
> 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.

Yep, there are more than one newsreader capable of that, so far
easiest setting for that I've seen in Knews�, in which you can simply
add something like eg. "*sfnet*.attribution: %f kirjoitti seuraavaa:"
to have attribution in Finnish for Finnish newsgroups. Similarly you
can set about everything on group/hierarchy basis.

� See <URL:http://www.nada.kth.se/%7Esu95-kjo/knews.html> for more
info & sources.
-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.

Re: multilingual support in newsreaders?
#32148
Author: Erland Sommarskog
Date: Sat, 15 Mar 1997 00:00
27 lines
1732 bytes
[news.software.nn dropped.]

schwarz@physik.tu-berlin.de (Georg Schwarz) skriver:
>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.

As some people have pointed out, this is available in some news readers,
and I have played the same trick with rn (and trn) as Per Hedeland demon-
strated. However, it isn't very pretty, and I haven't figured out how
I get two hierarchies in there. 

This is a feature I like to see in more news-readers. It doesn't have
to be multi-lingual as such. Better would be to be able to define
attribution by group or hierarchy, and then whether I use it to
switch languages, or just to be witty is my business.


--
Erland Sommarskog, Stockholm, sommar@algonet.se
F=F6r =F6vrigt anser jag att QP b=F6r f=F6rst=F6ras.
B=65sid=65s, I think QP should b=65 d=65stroy=65d.

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