Re: Language-based template

2003-03-05 Thread Markus Gloede
Hi,

Miguel A. Urech wrote in msgid:[EMAIL PROTECTED] :

 I only use POFile to classify spam and no-spam but I am quite sure it
 would probably work just fine to classify messages according to
 language. After all, it builds a word list or dictionary for each
 bucket. If I have time to try it I will let you know.

I actually used POPFile to do language recognition and it was quite good
at it. I've never come around to hone my templates accordingly, it was
just an experiment. Most of my communication is in English so I have the
Bat set to spell check in that language. If I need to switch languages
during editing I simply use Alt-H L and pick the language I am writing
in.

Regards,

Markus
-- 
Using The Bat! 1.63 Beta/7 under Windows NT 4.0 Build
1381 Service Pack 6 



Current version is 1.62 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Language-based template

2003-03-05 Thread Luc
 Good evening Roelof,
  
It was foretold that on 4-3-2003 @ 19:09:20 GMT+0100 (which was
19:09:20 where I live) Roelof Otten would mumble:
  
snipped a bit
RO You could use a variety of conditions. Use different e-mail addresses
RO for lists in different languages, then the e-mail address you're using
RO (or the account) defines your language.
  
 k, i'll try that Roelof
 
-- 
Best regards,
 Luc
---
Powered by The Bat! version 1.63 Beta/7 with Windows 2000 (build
2195), version 5.0 Service Pack 3 and using the best browser: Opera.

The hardest thing in the world to understand is the income tax. -
Albert Einstein




Current version is 1.62 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Language-based template

2003-03-05 Thread Luc
 Good evening Januk,
  
It was foretold that on 5-3-2003 @ 23:41:24 GMT-0800 (which was
8:41:24 where I live) Januk Aggarwal would mumble:
  
snipped a bit
JA Once we have something like that, then you can use a regular
JA expression
  
I see
 
-- 
Best regards,
 Luc
---
Powered by The Bat! version 1.63 Beta/7 with Windows 2000 (build
2195), version 5.0 Service Pack 3 and using the best browser: Opera.

If income tax is the price you have to pay to keep the government on
its feet, alimony is the price we have to pay for sweeping a woman off
hers. - Groucho Marx




Current version is 1.62 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Language-based template

2003-03-04 Thread Krister Ekstrom
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Hi Robert,
In a message with mid:[EMAIL PROTECTED]
 On 4 Mar 2003 08:23:19  (my local time 07:23:19), you typed:


RG   Can The Bat! change the message template automatically - depending
RG   on the language of the message (let's say, English or Russian)?

The way i have it solved now, is that i have a QT which i fire up by
hand when there's an incoming message in Swedish, but i think that it
is tricky to get TB! to automagically switch languages, maybe with the
help of Popfile that would be possible. What do you popfile users out
there say?


- --

- --
/Krister mailto:[EMAIL PROTECTED]
This mail brought to you by The bat! V1.63 Beta/5, on Windows 98 4 10 build

Pgp keys available here:
Mailto:[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: 6.5.8ckt

iQA/AwUBPmTQnDg5SXqDEzkLEQOqRgCeOPEz26s/wVRtpYIzhFPSCsGCMPYAnjJR
n06W0SIxHG015Po/sIdSaCIP
=+ijx
-END PGP SIGNATURE-



Current version is 1.62 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Language-based template

2003-03-04 Thread Luc
 Good evening Januk,
  
It was foretold that on 4-3-2003 @ 23:07:00 GMT-0800 (which was
8:07:00 where I live) Januk Aggarwal would mumble:
  
snipped a bit
JA If you have some way of determining the language reliably, then yes.
JA The easiest way is to make your templates as 2 Quick Templates, then
JA use a %IF statement in your main template.  It would be of the form:

JA =[Begin Sample Quasi-template]=
JA %IF:'some condition'='Russian identifier
  
 I  was looking for this a long time but i still have a question: what
   how  should  i  use the 'some condition' ? I'll try to make myself
 clear:  i'm subscribed to several lists and sometimes it happens that
 i  have  to ask something off-list to a member.

 Now,  if  i get a reply and want to reply again, my original language
 kicks  in. The same happens when i just compose a message in english:
 my  sig  etc shows in my native language. So, how and which condition
 do i have to make to set the language to english, both when composing
 as replying. In other words, my english template should kick in (no,
 not with the 'insert QT' shortcut :-) )

 I hope this sounds clear :-)

-- 
Best regards,
 Luc
---
Powered by The Bat! version 1.63 Beta/7 with Windows 2000 (build
2195), version 5.0 Service Pack 3 and using the best browser: Opera.

It is often said: Always put off tomorrow what you can do today, but
if the toilet is out of order, I am not sure if that still holds.




Current version is 1.62 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Language-based template

2003-03-04 Thread Miguel A. Urech
Hello Krister,

 is tricky to get TB! to automagically switch languages, maybe with the
 help of Popfile that would be possible. What do you popfile users out
 there say?

I only use POFile to classify spam and no-spam but I am quite sure it
would probably work just fine to classify messages according to
language. After all, it builds a word list or dictionary for each
bucket. If I have time to try it I will let you know.

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v1.62i



Current version is 1.62 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Language-based template

2003-03-04 Thread Roelof Otten
Hallo Luc,

On Tue, 4 Mar 2003 18:23:23 +0100GMT (4-3-03, 18:23 +0100, where I
live), you wrote:

L  I  was looking for this a long time but i still have a question:
L  what   how  should  i  use the 'some condition' ? I'll try to
L  make myself clear:  i'm subscribed to several lists and sometimes
L  it happens that i  have  to ask something off-list to a member.

You could use a variety of conditions. Use different e-mail addresses
for lists in different languages, then the e-mail address you're using
(or the account) defines your language.
Use the address book to store language info. Doesn't have to be a
group, but it can also be the country-field from the address book
(%ABToCountry), you don't have to enter the actual country there, but
use something to identify the language you're most likely to have in
common.
Another possibility would be folder templates, though it would be
difficult to get the reply back to the folder where the original
message was created, unless you'd be using the address book again.

-- 
Groetjes, Roelof



Current version is 1.62 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Language-based template

2003-03-04 Thread Miguel A. Urech
Hello Krister,

 The way i have it solved now, is that i have a QT which i fire up by
 hand when there's an incoming message in Swedish, but i think that it
 is tricky to get TB! to automagically switch languages, maybe with the
 help of Popfile that would be possible. What do you popfile users out
 there say?

See my mid:[EMAIL PROTECTED] with Subject
Setting language automatically in replies :-)

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v1.62i



Current version is 1.62 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Language-based template

2003-03-04 Thread Januk Aggarwal
Hello Luc,

On Tuesday, March 4, 2003 at 18:23 GMT +0100, clairvoyants were
mystified when Luc [L] conjured:

JA =[Begin Sample Quasi-template]=
JA %IF:'some condition'='Russian identifier
  
L  I  was looking for this a long time but i still have a question: what
Lhow  should  i  use the 'some condition' ?

The only way this will work is if there is something common in all
Russian messages, but not in any English message.  Perhaps it is a
character set, or some X-header.  Likewise, if there is something
common for all English messages that is never in a Russian message,
again you'd be ok.

Once we have something like that, then you can use a regular
expression (or someother macro) and compare it to what I called the
Russian Identifier.

Of course if you can't find some common difference for the two
languages, you'd have to apply the appropriate template manually or
use AB templates as Luc suggested.


-- 
Thanks for writing,
 Januk Aggarwal





Current version is 1.62 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Language-based template

2003-03-03 Thread Robert Golovniov
Hello tbudl,

  Can The Bat! change the message template automatically - depending
  on the language of the message (let's say, English or Russian)?

-- 
 -=Robert  Beata Golovniov | Lviv, Ukraine=-
~~
PGP key: 633F6D07 (1A1C 29F1 2A0C 4C4E 0BDA  C8EE 5A1D 9F03 633F 6D07)
mailto:[EMAIL PROTECTED]Body=Embedded%20key
mailto:[EMAIL PROTECTED]Body=Attached%20key
~~



Current version is 1.62 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Language-based template

2003-03-03 Thread Januk Aggarwal
Hello Robert,

On Tuesday, March 4, 2003 at 08:23 GMT +0200, electricians were
shocked that Robert Golovniov potentially scribbled:

   Can The Bat! change the message template automatically - depending
   on the language of the message (let's say, English or Russian)?

If you have some way of determining the language reliably, then yes.
The easiest way is to make your templates as 2 Quick Templates, then
use a %IF statement in your main template.  It would be of the form:

=[Begin Sample Quasi-template]=
%IF:'some condition'='Russian identifier':'%-
%QInclude=Russian Template':'%-
%QInclude=English Template'
=[ End  Sample Quasi-template]=

-- 
Thanks for writing,
 Januk Aggarwal






Current version is 1.62 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html