Language

2000-04-28 Thread Marco Rinck

Hi, all!

  Is it possible to set the language for the Spell Checker folder specific? For 
instance in
  this folder I write in English but in all other folders I write in
  German. It's fussy to change the language every time I write a new
  message.

-- 
Ciao,
 Marco  mailto:[EMAIL PROTECTED]
PGP Public Key: mailto:[EMAIL PROTECTED]?subject=SendPGPKey

>>> Leben und leben lassen <<<

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Language

2003-09-09 Thread Andreas H Johannessen
Hallo tbudl,

  I have updated to The Bat v2 and by a mistake I lost the version 1.6
  where I used the German Spell Checker and was very happy to have
  this service.
  I am a Norwegian and have some correspondence to Germany and would
  like to continue with that Spell Checker I had.

  I would be pleased to hear from you if you can help me with this.
  Thank you for a excellent program.
-- 
Regards,
 Andreas H Johannessenmailto:[EMAIL PROTECTED]




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


Language Module

1999-10-14 Thread \\\\'alter

Hi there!

I use the language module for the Bat! 1.36 for the use of the Dutch language.
After selecting the language 'dutch' only the words and options in the
taskbar change to Dutch (not all, but most options).

But,  the  words  in  the inbox (From-to-subject etc) do not change to
Dutch. They are still in English.

Can  someone  please tell me if that;s normal or how I can change that
in Dutch too?

\\'alter  mailto:[EMAIL PROTECTED]



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, click below and send the generated message.
   <mailto:[EMAIL PROTECTED]>
--




Re: Language

2000-04-28 Thread Jast

Morning Marco,

> Is it possible to set the language for the Spell Checker folder specific?
> For instance in this folder I write in English but in all other folders I
> write in German. It's fussy to change the language every time I write a
> new message.

 I think it should work with template macro %language="language id" Check
 the help on template macros for appropriate codes. Myself, I never tried
 it, since my spelling is usually good enough in English or German ;-)


-- 
.. Jast ... mailto:[EMAIL PROTECTED]
:  using TB 1.42 Beta/19 
:  with AMD K6-2, 64MB RAM
:. on Windows 98 4.10  A 



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Change language ?

2004-05-23 Thread WEB ISLA
Hello tbudl,

How change you we the language of the interface? From English to French?

-- 
Best regards,
 WEBISLA mailto:[EMAIL PROTECTED]



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


Language ID

2004-06-01 Thread Cyrille
Hello TBUDL,

  The message content macro %LANGUAGE = "Language ID" allows to set
  the spell checker language.
  The help file indicates the language IDs for many languages, but
  some are missing:

  Does anybody know what are the language IDs for
  - German (Old spelling)   [shipped as a part of TB International pack]
  - German (New spelling)   [shipped as a part of TB International pack]
  - Slovak  [CSAPI]

  ?

  Obviously TB does not follow RFC3066/ISO639 about tags for the
  identification of languages!!!

--
Best regards,
Cyrille
mailto:[EMAIL PROTECTED]

[ the sig delimiter left TB correctly formatted! ]
[ TB! 2.10.01, Windows ME 4.90 Build 3000, Pentium 233Mhz with 95MB ]




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


Options\Language\...?

2000-06-05 Thread Aku

Ditulis 5-6-2000, 20:07 pake kalong

 What is the format of thebat.lng?
 I dont want to download the international edition,
 I just want to make my own language file.

 May someone can give me a sample. Thanks.





-- 
Aku  [EMAIL PROTECTED]

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Language compiler

2000-07-03 Thread SyP

Hello The Bat! users,

Stanislav Polozov wrote on 6/7/2000, 2:56 PM

SP>   In the end of this month Max is going to release stand-alone LNG
SP>   compiler, so, everybody will be able to compile his language
SP>   himself, to see how it works and to debug it.

How is it going?  Eagerly waiting. :]

-- 
"Please note that calling an attacker 'lame' is not an approved security method."

(Benjy Feen)



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





language files

2005-05-19 Thread Vili
I did not know, where to send it, but as I see Stefan (Tanurkov) 
here, I decided to post it here:

We are translating the new v.3.5 LNG file to Hungarian. My suggestion 
would be to Ritlabs that when you change something in the interface 
that needs some translation, you should have a webpage (a single 
page), that would contain _every_ text (like English.lnc) as link,
and clicking that link would jump to a screenshot showing the place 
where that text is used in the program... With this new format of 
v3.5 LNG file I know, that some text is reused many part of the program,
in that case that text would appear multiple times on that webpage 
linked to the different screenshots...

Sorry, this issue maybe is not _directly_ related to the use of TB,
but indirectly it is.

-- 
Vili








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


Language Switcher

2002-11-01 Thread Thomas Fernandez
Hello TBUDL,

while I use Chinese Windows, most of my communication is in either
English or German. Therefore, my standard character set is ISO-9958-1
(I tweaked a bit in the registry for that). So please don't get
confused, the below has nothing to do with DBCS and should be valid
under English Windows as well.

Yesterday I received a message in Thai. The subject line showed up
quite perfectly, but the body of the message consisted of all kinds of
weird characters. I checked, but the character set in that message was
correctly set to Thai.

I had to go to Options / Editor Prefs / Display / Font: change, and
change the font manually to a Thai font in order to be able to read
the message. Of course, after reading it, I had to switch the font
back to Courier New.

Is there a way to tell TB which font should be associated with a
character set, so that an automatic switching takes place? Why is the
character set switched correctly in the subject line but not in the
body?

How do other people on this list who read/write in English *and* a
local language with non-Latin characters (like cyrillic or Greek)
handle this? Do you use just one font, one that has both Latin and
local characters, or is there an easy way to switch?

(I don't like the looks of the English letters in the Thai font I use,
so I don't want to use that font as standard for all mails.)

-- 
Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

Man kann es neun Wochen ohne Essen aushalten, aber dann ist man
natuerlich tot...

Message reply created with The Bat! 1.62/Beta7
under Chinese Windows 98 4.10 Build  A 
using an AMD Athlon K7 1.2GHz, 128MB RAM



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



Re: Language

2003-09-10 Thread Thomas Fernandez
Hello Andreas,

On Tue, 9 Sep 2003 20:40:41 +0200 GMT (10/09/2003, 01:40 +0700 GMT),
Andreas H Johannessen wrote:

>   I have updated to The Bat v2 and by a mistake I lost the version 1.6
>   where I used the German Spell Checker and was very happy to have
>   this service.

I don't spell-check (oh, people can tell sometimes), but there have
been some threads about different German spell checkers on the German
TB Beginner's list. You might want to ask there (in German language).

[EMAIL PROTECTED]

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

"Reason for leaving last job: They insisted that all employees get to
work by 8:45 am every morning. I couldn't work under those
conditions."

Message reply created with The Bat! 2.00.6
under Chinese Windows 98 4.10 Build  A 
using a Pentium P4 1.7 GHz, 128MB RAM




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


Thai language?

2002-02-07 Thread Jos Flachs

Dear Bat users,

A few weeks ago I saw a question on the list asking if the Bat can
handle Thai language. I moved to another company and never saw the
answer. I'd like to have the new company switch to the bat, but we'll
do that only if we can read/write in Thai.

Is it possible to set the editor to work in Thai? The editor
preferences doesn't show my *upc.ttf (thai) fonts.

-- 
Best regards,
 Jos Flachs mailto:[EMAIL PROTECTED]
 Krungthep Mahanakhon Amornrat Rattanakosim Ayuthaya Mahintara
 Mahadilop Popnopparat Ratchathani Burirom Udomratchaneereth
 Ratchanee.. also known as Bangkok, Thailand


-- 

Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Latest Vers: 1.53d
FAQ: http://faq.thebat.dutaint.com 




Language switch

2001-01-22 Thread Thomas

Hello TBUDL!

Iam looking to for a one-key or one-click way to switch between
English and German.

Any suggestions? (Command line parameters acceptable, as long as it
will affect a running TB.)

-- 

Thanks,
Thomas  mailto:[EMAIL PROTECTED]

Moderator der deutschen The Bat Beginner Liste.

Generated with The Bat! 1.49c
under Chinese Windows 98 4.10 Build 1998  
using an Intel Celeron 366 Mhz, 128MB RAM



-- 
__
Archives   : 
Moderators : 
TBTech List: 
Unsubscribe: 

You are subscribed as : archive@jab.org





Re: Language Module

1999-10-14 Thread Roel

Hello \\'alter,

Thursday, October 14, 1999, 4:01:14 PM, you wrote:

a> I use the language module for the Bat! 1.36 for the use of the Dutch language.
a> After selecting the language 'dutch' only the words and options in the
a> taskbar change to Dutch (not all, but most options).

a> But,  the  words  in  the inbox (From-to-subject etc) do not change to
a> Dutch. They are still in English.

a> Can  someone  please tell me if that;s normal or how I can change that
a> in Dutch too?

Had the same problem here, but most things appeared in German... (go
figure)...
I wrote about it directly to RIT but never got an answer...

The only thing to do about it is re-translate the language module...
(afaik)

-- 
 Der Immer Jodelende Schweizer In Lederhosen
 Roelmailto:[EMAIL PROTECTED]

Using The Bat 1.35 on Windows 98 build 4.10

24 hours in a day, 24 beers in a case - coincidence?? - I think not!


**==**
  If you believe in Light
 it's because of Obscurity

  If you believe in Joy
 it's because of Sadeness

  If you believe in God
  then you have to believe in the Devil

   * Father X, Exorcist, Church of Notre Dame - Paris *
**==**

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, click below and send the generated message.
   <mailto:[EMAIL PROTECTED]>
--




Re: Language Module

1999-10-14 Thread Philippe Gouillou

Bonjour,

Thursday, October 14, 1999, 4:01:14 PM, \\'alter wrote:

   a> Hi there!

a> I use the language module for the Bat! 1.36 for the use of the Dutch language.
a> After selecting the language 'dutch' only the words and options in the
a> taskbar change to Dutch (not all, but most options).

a> But,  the  words  in  the inbox (From-to-subject etc) do not change to
a> Dutch. They are still in English.

a> Can  someone  please tell me if that;s normal or how I can change that
a> in Dutch too?


   In French it does make these changes (From: --> De:, etc.)

   I  have  to  say  it's not so important for me : most of people use
   english  terms  when speaking about Internet (using english adds an
   information  :  if  someone say me that the From: is X I know he is
   speaking about a mail, this wouldn't be the case if he was speaking
   about a "de")

   And I support the idea of Alexander :
   Thursday, October 14, 1999, 5:04:55 PM, Alexander V. Kiselev wrote:
   I'd much more love to be able to manage the contents of
   *every* header field via macroses, this way every user could
   do whatever he/she wants without bloating the code with all
   those "zuruck"'s:-))
   


   A bientôt

Philippe

Elle voulait pas risquer sa vie entiere, sur mon histoire qui tenait pas debout 
(William Scheller)
-- 
Philippe Gouillou  -  [EMAIL PROTECTED] - http://www.st-kilda.com
FAQs francophones en Psychologie : www.st-kilda.com/psyfaqs.htm
"Les femmes des riches sont belles" :  www.evopsy.org/livre.htm

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, click below and send the generated message.
   <mailto:[EMAIL PROTECTED]>
--




Re[2]: Language

2000-04-28 Thread Marco Rinck

Hi Jast,

J>  I think it should work with template macro %language="language id" Check

Yeah %Language="id" works. Thanks.

-- 
Ciao,
 Marco  mailto:[EMAIL PROTECTED]
PGP Public Key: mailto:[EMAIL PROTECTED]?subject=SendPGPKey

>>> If you save the world too often, it begins to expect it <<<

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





multi-language templates

2004-05-22 Thread Cyrille
Hello ,

I am thinking about making TB my default mail client. But I am not yet
convinced. My decision depends on whether I find a solution for the
following problem:

My situation: I have to handle mail in 6 European languages and (at least) 3 different
charsets.

My question: I would like TB to choose automatically
   * the right language template,
   * the right charset and
   * the right spell checker
according to the following criteria:

- New mail templates: according to the domain extension of the recipients
address. (But what should happen in case of .com or .net domains?)
- Reply / Forward templates: according to the language used in the
original message. (In this case there is no problem with the choice of the
charsets, because TB can keep the charset of the original message.)
(Or does anybody have a better idea what could be the criteria for
the choice?)

Is this possible? If yes, how?

Important: I don't want different folders for different languages. My
folders are organized by topic.

Does somebody out there has some other hints what could be helpful in
dealing with mail in multiple languages?

--
Best regards,
 Cyrille  mailto:[EMAIL PROTECTED]


[ TB! 2.10.01, Windows ME 4.90 Build 3000, Pentium 233Mhz with 95MB ]





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


Re: Change language ?

2004-05-23 Thread Peter Meyns
Hi WEB,

on Sun, 23 May 2004 19:25:24 +0200GMT, you wrote:

WI> How change you we the language of the interface? From English to French?

If you installed the intpack.exe from Ritlabs it should be done via
Options » Language.

-- 
Cheers
Peter

'There are two major products that come out of Berkeley;
LSD and BSD Unix. We don't believe this to be a coincidence.'





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


Re: Change language ?

2004-05-23 Thread Peter Meyns
Hi WEB,

on Sun, 23 May 2004 20:35:12 +0200GMT, you wrote:

WI>>> How change you we the language of the interface? From English to French?

PM>> If you installed the intpack.exe from Ritlabs it should be done via
PM>> Options » Language.

WI> Thank you for your answer. When I downloaded TheBat 2.10.03 I did not
WI> find 'intpack.exe' Where is it?

It is here: http://www.ritlabs.com/en/products/thebat/download.php
Select "International pack".

-- 
Cheers
Peter

"If they don't want us to drink and drive, why do you have to have
a driver's license to buy beer?"




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


Re: Change language ?

2004-05-23 Thread Ludovic LE MOAL
Hi,

On Sunday, May 23, 2004 at 8:35:12 PM, WEB ISLA wrote:

> Thank you for your answer. When I downloaded TheBat 2.10.03 I did not
> find 'intpack.exe' Where is it?

If you download the intpack.exe, you won't be able to have all the
interface in french. An up-to-date french interface file can be
downloaded there : http://www.spidmail.net/tb/TheBat.LNG

There's also a french mailing-list there :
http://draenor.its-toasted.org/mailman/listinfo/tb-fr
-- 
Ludovic LE MOAL (Quimper - France)
http://www.lemoal.org/> ICQ# 92250692
Using The Bat! v2.10.01 on Windows 98 4.10



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


Re: Language Lists

2004-06-04 Thread Marck D Pearlstone
Dear Thomas,

@4-Jun-2004, 23:54 +0700 (04-Jun 17:54 UK time) Thomas Fernandez
[TF] in mid:[EMAIL PROTECTED] said to Thomas:

BH>>> P.S.  I only found this English list. Theres isn't by any
BH>>> chance a The Bat mailing list in German?

TF>> There are three:

TF> And here is the list of language lists:
TF> http://www.silverstones.com/thebat/lists.html

TF> (@Marck: The link for the German registration site is outdated.)

(thanks - I'll get it sorted).

-- 
Cheers -- //.arck D Pearlstone -- List moderator and fellow end user
TB! v2.11.02 on Windows XP 5.1.2600 Service Pack 1
'

pgpvXeESdLPmH.pgp
Description: PGP signature

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

Re: Options\Language\...?

2000-06-06 Thread Thomas Fernandez

Hallo Aku,

On Mon, 5 Jun 2000 20:15:48 +0700 GMT (05/06/2000, 21:15 +0800 GMT),
Aku wrote:

A>  What is the format of thebat.lng?

It's an ASCII file, you can open and manipulate it with any plain-text
editor.

A>  I dont want to download the international edition,
A>  I just want to make my own language file.

Which language? Bahasa? Your email address seems to suggest you are in
Indonesia.

Why don't you contact Stan at Ritlabs? <[EMAIL PROTECTED]>. He is in
charge of this, I think.

Good luck.

-- 

Cheers,
Thomas mailto:[EMAIL PROTECTED]

Message reply created with The Bat! 1.44
under Chinese Windows 98 4.10 Build 1998 
using an Intel Celeron 366Mhz, 128MB RAM



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Re: Options\Language\...?

2000-06-06 Thread Thomas Fernandez

Hi SyP,

On Tue, 6 Jun 2000 18:39:38 +0200GMT (07/06/2000, 00:39 +0800GMT),
SyP wrote:

A>>>  What is the format of thebat.lng?

TF>> It's an ASCII file, you can open and manipulate it with any
TF>> plain-text editor.

S> Sure it isn't. Last time I checked it looked like a Delphi form file
S> (.dfm)

Last time *I* checked (about half a minute ago), it still had the
extension .lng and was a text file. ;-)

-- 

Cheers,
Thomas.  

Message reply created with The Bat! 1.44
under Chinese Windows 98 4.10 Build 1998  
on a Pentium II/350 MHz.



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Options\Language\...?

2000-06-07 Thread Thomas Fernandez

Hi SyP,

On Wed, 7 Jun 2000 09:56:13 +0200GMT (07/06/2000, 15:56 +0800GMT),
SyP wrote:

TF>> Last time *I* checked (about half a minute ago), it still had the
TF>> extension .lng and was a text file. ;-)

S> Mine isn't. I have the latest International Pack installed. If a plain
S> text version exists, I don't have that. Where do you got yours?
S> (I'm interested in translation, too.)

I check again, and there is no *.dfm file on my whole computer.

I downloaded the language file a long time ago, when I first satarted
with TB, but in one of the upgrade versions (1.42 or 1.44) there may
have been another one in the self-extracting exe file.

I you are interested in translations, please do cotnact Stan Polozov.
He is a Biz Development Manager at Ritlabs. His email is
<[EMAIL PROTECTED]>. He gives you all assistance he can.

-- 

Cheers,
Thomas.  

Message reply created with The Bat! 1.44
under Chinese Windows 98 4.10 Build 1998  
on a Pentium II/350 MHz.



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Re: Options\Language\...?

2000-06-07 Thread Peter Steiner

On Wed, 7 Jun 2000 12:34:24 +0800, Thomas Fernandez wrote:

S>> Sure it isn't. Last time I checked it looked like a Delphi form file
S>> (.dfm)

> Last time *I* checked (about half a minute ago), it still had the
> extension .lng and was a text file. ;-)

How did you check, Thomas? Mine has plenty of ASCII characters below
32, meaning nonprintable characters. Perhaps your tool just
overlooked these characters, with mainly ordinary printable
characters remaining?

What SyP meant is that the file *looks* like a Delphi Form file, but
has been renamed to .lng. I don't know Delphi, but i guess this is
indicated by the (magic?) starting sequence of FBPRPBP.

Thomas, doesn't your .lng file start with FBPRPBP?

Regards

Peter
-- 
Peter Steiner <[EMAIL PROTECTED]>PGP-ID 0x02850F53 (DH/DSS)
PGP Fingerprint 68AB D08E D995 41B4 C6FD  639D 9B94 D249 0285 0F53
"U dene n ischs i d Chnöde glöötet wie bschüttigs
Chrüzimääl düre Chätschabertrog." - Franz Hohler

--
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Options\Language\...?

2000-06-07 Thread Thomas Fernandez

Hallo Peter,

On Wed, 7 Jun 2000 19:05:04 +0200 GMT (08/06/2000, 01:05 +0800 GMT),
Peter Steiner wrote:

>> Last time *I* checked (about half a minute ago), it still had the
>> extension .lng and was a text file. ;-)

PS> How did you check, Thomas?

Clicked on the file from the WinCommander. *.lng is associated with
Notepad on my machine, because I was trying to persuade some Chinese
people to help me with a translation some time ago. The file that
comes with the installation is too big for Notepad, so it opens in
Wordpad. Everything looks readable, but I have to admit that Wordpad
is not our basic ASCII text editor.

So I now went back to good ole' DOS and opened the file with EDIT now.

PS> Mine has plenty of ASCII characters below 32, meaning nonprintable
PS> characters. Perhaps your tool just overlooked these characters,
PS> with mainly ordinary printable characters remaining?

Oops, you are right. I guess there is some formating info. You can
probably still manipulate the actual words.

PS> Thomas, doesn't your .lng file start with FBPRPBP?

It does. I don't know how TB! uses this file. It's like a .dat file:
data are fetched from this file by the main program in the sequence
they are needed. The initial sequence of ASCII characters may be some
kind of instruction or format info. Doesn't change the fact that you
can overwrite words. We had quite some fun doing this with the error
messages on the Norsk Data mainframe at school, drove our teacher
crazy. ;-)

The .lng itself does not disclose how the application uses this data.
It just contains the raw data in ASCII code in a pretty legible way,
IMHO. Anyway, as Stan has pointed out, we will be equipped with a
compiler by the end of this month, so we don't need to worry about the
format any more.

-- 

Cheers,
Thomas mailto:[EMAIL PROTECTED]

Message reply created with The Bat! 1.44
under Chinese Windows 98 4.10 Build 1998 
using an Intel Celeron 366Mhz, 128MB RAM



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Options\Language\...?

2000-06-07 Thread Tom Plunket


TF> Oops, you are right. I guess there is some formating info. You can
TF> probably still manipulate the actual words.

May be quite a bit more than formatting info.

TF> It does. I don't know how TB! uses this file. It's like a .dat file:
TF> data are fetched from this file by the main program in the sequence
TF> they are needed.

Perhaps, perhaps it's indexed directly.

In other words,

TF> The initial sequence of ASCII characters may be some kind of
TF> instruction or format info. Doesn't change the fact that you can
TF> overwrite words.

You can overwrite words and it may or may not work (who's to say if
there's checksumming information to check for a corrupted file?).  May
also be that you can fully edit the strings, but likely the strings
are in specific places in the file that the executable depends on.

TF> The .lng itself does not disclose how the application uses this data.
TF> It just contains the raw data in ASCII code in a pretty legible way,
TF> IMHO.

The raw ASCII that is legible is likely used in a straight-forward
way, but what about all the rest of the file?


-tom!

-- 
Hopin' this said *something* useful, [EMAIL PROTECTED] out.

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Options\Language\...?

2000-06-07 Thread Thomas Fernandez

Hi Tom and Peter and everyone,

On Wed, 7 Jun 2000 12:51:37 -0700GMT (08/06/2000, 03:51 +0800GMT),
Tom Plunket wrote:
...
TP> May be quite a bit more than formatting info.
...
TP> Perhaps, perhaps it's indexed directly.

OK, OK, you win: it's not a text file. It's a file that contains some
readable characters, among other stuff.

Here is why I checked not too carefully before replying (a lame
attempt at an excuse): Sometime last year, I wanted to organize a
translation into Chinese-Taiwan (Big5) with a couple of local guys.
Ritlabs sent me a bunch of text files (yes, pure readible ASCII text),
which had the extension .lng. They were to be manipulated by any
plain-text editor.

When I looked at my TB directory this time, I saw a file with the same
extension, only a lot bigger (because it currently contains data for
well over 10 languages), so in Wordpad it looked like ASCII, and boom:
I jumped to the wrong conclusion.

What happened to the translation: my guys took a hike when they saw
the size of the project. :-(

-- 

Cheers,
Thomas.  

Message reply created with The Bat! 1.44
under Chinese Windows 98 4.10 Build 1998  
on a Pentium II/350 MHz.



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Options\Language\...?

2000-06-12 Thread Nick Andriash

On Wednesday, June 07, 2000, 5:56:26 AM, Stanislav Polozov wrote:

SP>   In the end of this month Max is going to release stand-alone LNG
SP> compiler, so, everybody will be able to compile his language
SP> himself, to see how it works and to debug it.


Could someone explain to me what that means to the average User? How will
that feature affect my usage of TB!, or what will it allow me to do
outside of what I already do... or can't do? :o)


Nick

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Re: Options\Language\...?

2000-06-12 Thread Tom Plunket


SP>>   In the end of this month Max is going to release stand-alone LNG
SP>> compiler, so, everybody will be able to compile his language
SP>> himself, to see how it works and to debug it.

NA> Could someone explain to me what that means to the average User? How will
NA> that feature affect my usage of TB!, or what will it allow me to do
NA> outside of what I already do... or can't do? :o)

Yeah, if you prefer the user interface in an as-yet unsupported
language, you can put it together yourself.  For instance, if you
really would prefer TB! to show up in Basque or some such...  :)


-tom!

-- 
Hopin' this said *something* useful, [EMAIL PROTECTED] out.

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Re: Options\Language\...?

2000-06-12 Thread Nick Andriash

On Monday, June 12, 2000, 2:10:14 PM, Tom Plunket wrote:

TP> Yeah, if you prefer the user interface in an as-yet unsupported
TP> language, you can put it together yourself.  For instance, if you
TP> really would prefer TB! to show up in Basque or some such...  :)

Oh, I see. Thanks for the explanation Tom.


Nick

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Language support/dictionary

2000-09-10 Thread David

Hello TBUDL,

Can anyone tell me how I can change my dictionary from US English to
Australian English?  I've the FAQ and "How DoI", but I can't find how to
do this.

Any help and assistance will be greatly appreciated.

  

-- 
Best regards,
David in Australia  mailto:[EMAIL PROTECTED]



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Setting spelling language

2005-09-30 Thread Jenny Zonneveld
Hello Everyone,

I write my e-mails in either English or Dutch, depending on who the recipient 
is. At the moment the only way I have to change the language is to click with 
the mouse on the language at the bottom of the edit message window. 
There are two things I would like to know
1.  Is a way I can assign a hot-key to this feature, so that I don't have 
to pick up the mouse so often. 
2.  Can I define the spelling language in a template?


-- 
Kind regards,
 Jenny Zonneveld 
The Bat! version 3.5.25
Windows platform Windows XP
Version 5.1 build 2600

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


Re: Language Switcher

2002-11-03 Thread Thomas Fernandez
Hello Thomas,

On Sat, 2 Nov 2002 10:52:59 +0700 GMT (02/11/02, 10:52 +0700 GMT),
Thomas Fernandez wrote:

> I had to go to Options / Editor Prefs / Display / Font: change, and
> change the font manually to a Thai font in order to be able to read
> the message. Of course, after reading it, I had to switch the font
> back to Courier New.

To expand on this, I had to change not only the font itself but also
the font size.

> Is there a way to tell TB which font should be associated with a
> character set, so that an automatic switching takes place?

There isn't. My workaround is this: As I usually use the PTV only, I
went to Options / Preferences / Viewer and chose RTV. There I set up
AngsualUPC (my favourite Thai font) and the size for the RTV. Switched
back to PTV. Now, when a mail in Thai comes in, I only need to switch
to the RTV; much easier that previously, I don't need to friggle with
all these detailed settings.

> Why is the character set switched correctly in the subject line but
> not in the body?

Question remains.

> How do other people on this list who read/write in English *and* a
> local language with non-Latin characters (like cyrillic or Greek)
> handle this? Do you use just one font, one that has both Latin and
> local characters, or is there an easy way to switch?

Any takers for this question?

> (I don't like the looks of the English letters in the Thai font I use,
> so I don't want to use that font as standard for all mails.)

This was true to DBThaiText, which I had to use in previous times, as
it is a fixed-width font. But luckily, we are not restricted to
fixed-width any more with RTV. Latin letters are displayed fine in
AngsualUPC, but I just prefer plaintext and Courier New for normal
mails.

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

Si le travail c'est l'opium du peuple, alors je ne veux pas finir
drogué...[ Boris Vian ]

Message reply created with The Bat! 1.62/Beta7
under Chinese Windows 98 4.10 Build  A 
using an AMD Athlon K7 1.2GHz, 128MB RAM



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



Re: Language Switcher

2002-11-09 Thread Carsten Thönges
* Thomas Fernandez <[EMAIL PROTECTED]> writes:

[ Changing fonts to view messages with exotic encodings ]

> I had to go to Options / Editor Prefs / Display / Font: change, and
> change the font manually to a Thai font in order to be able to read
> the message. Of course, after reading it, I had to switch the font
> back to Courier New.

I don't know if this helps, but I would create a manual filter and
invoke it by pressing a hotkey...

The manual filter executes an external text viewer (notepad?) to view
the mail. This could be done by saving the mail to disk (using a
template containing %TEXT) and starting the external program with
this filename as parameter.

HTH.
-- 
Best regards, Carsten



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



Re: Language Switcher

2002-11-09 Thread Thomas Fernandez
Hello Carsten,

On Fri, 08 Nov 2002 00:18:52 +0100 GMT (08/11/02, 06:18 +0700 GMT),
Carsten Thönges wrote:

> The manual filter executes an external text viewer (notepad?) to view
> the mail. This could be done by saving the mail to disk (using a
> template containing %TEXT) and starting the external program with
> this filename as parameter.

Thanks for your idea. But how do I tell Notepad which font to use? By
default, it is of course using Chinese rather than Thai.

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

QUESTION: If a fire hydrant has H2O on the inside, what is on the
outside?

ANSWER: K9P

Message reply created with The Bat! 1.62/Beta7
under Chinese Windows 98 4.10 Build  A 
using an AMD Athlon K7 1.2GHz, 128MB RAM



Current version is 1.61 | "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


TB language written

2003-06-21 Thread Wilfried Mestdagh
Hello,

  In what language is TB written ?
  Just curious..

--
Rgds, Wilfried
mailto:[EMAIL PROTECTED]
http://www.mestdagh.biz
Using The Bat! v1.62r on Windows NT 4.0 Build  1381 Service Pack 6



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


filtering on language

2001-11-20 Thread Jan Rifkinson

Hello TB! Listers.

  I've been getting a lot of msgs like the one below & its
  really annoying.

> Original Message Starts <--
www.internethaber.com yilin en iyi
ancorhman_n_ belirliyor.
Siz de oy kullanarak tercihinizi koyun.

www.internethaber.com ve www.gazeteoku.com
ile biz haberin tekelini kirdik; gelin siz
de bu siteleri ziyaret ederek, bu tekeli
kirin.
-> Original Message Ends <---

  Can anyone imagine a built in macro that identifies
  language used, i.e. "%IF not %English"? Does anyone think
  this is even possible?

-- 
Jan Rifkinson
Ridgefield, CT USA
TB! V1.54/10/W2K_SP2/PGP Key ID: 0x3F14A060
ICQ 41116329


-- 

Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Latest Vers: 1.53d
FAQ: http://faq.thebat.dutaint.com 




Spell checker-Language

2002-01-26 Thread Paul Berger

There is a small problem. I cannot change from American English to Australian or 
British English.

If I do, all the actions are greyed out:
Automatic checking
Check entire text
Options
Dictionary

Is there a way to set this choice?

Paul

-
 Using The Bat! v1.53d on Windows 98
4.10 Build 
 A   


-- 

Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Latest Vers: 1.53d
FAQ: http://faq.thebat.dutaint.com 




Re: Language switch

2001-01-22 Thread Nebula

Hallo Thomas,

> Iam looking to for a one-key or one-click way to switch between English
> and German.

> Any suggestions? (Command line parameters acceptable, as long as it
> will affect a running TB.)

Maybe the %LANGUAGE="xx" macro is what you want. You can give any E-Mail
address or any Folder its own language by including the macro into the
templates.

-- 
__
Archives   : <http://tbudl.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
TBTech List: <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>

You are subscribed as : archive@jab.org





Re: Language switch

2001-01-22 Thread Thomas

Hallo Nebula,

On Mon, 22 Jan 2001 19:37:36 +0100 GMT (23/01/2001, 02:37 +0800 GMT),
Nebula wrote:

>> Iam looking to for a one-key or one-click way to switch between English
>> and German.

>> Any suggestions? (Command line parameters acceptable, as long as it
>> will affect a running TB.)

> Maybe the %LANGUAGE="xx" macro is what you want. You can give any E-Mail
> address or any Folder its own language by including the macro into the
> templates.

No it isn't. It will change the spellcheker language, but I was
referring the interface language.

Thanks for your thoughts, though.

-- 

Cheers,
Thomas.
Moderator der deutschen The Bat! Beginner Liste.

>From a Japanese information booklet about using a hotel air conditioner:
Cooles and Heates:
If you want just condition of warm in your room, please control yourself. 

Message reply created with The Bat! 1.49c
under Chinese Windows 98 4.10 Build 1998 
using an Intel Celeron 366Mhz, 128MB RAM



-- 
__
Archives   : <http://tbudl.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
TBTech List: <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>

You are subscribed as : archive@jab.org





Italian Language Bugs

2001-03-28 Thread Fabio Colonnello

Hi,

Does anybody noticed that the Italian Language for TheBat! is corrupt !?

Into many windows, as in templates, when you select Italian like
language, you always get Spanish :-(

Do you know if the problem is know or how to fix it ?

It is quite important, expecially to sell this nice product to my
costumers...

Thanks

-- 
Yours,

Fabio Colonnello

S C R I V I L O
Via V.Veneto, 1
33097 SPILIMBERGO (PN) - ITALY

Tel. 0427.92.87.39

e-mail: [EMAIL PROTECTED]
URL:http://www.scrivilo.it



-- 
__
Archives   : <http://tbudl.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
TBTech List: <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>

You are subscribed as : archive@jab.org





Norwegian language interface

2006-09-25 Thread Patrick T . Henriksen



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


Tips Language, 1.36 release

1999-10-08 Thread Syllables

thebat.tip dated 10/8/99 which arrived with the release of 1.36
contains lines that appear as follows:
Âû ìîæåòå ëåãêî âûáðàòü "ëþáèì

What's up?



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team click here:
   
To Unsubscribe from TBUDL, click below and send the generated message.
   
--




Re[2]: Language Module

1999-10-14 Thread \\\\'alter

Hello Roel,

Thursday, October 14, 1999, 4:22:10 PM, you wrote:

R> Hello \\'alter,

R> Thursday, October 14, 1999, 4:01:14 PM, you wrote:

a>> I use the language module for the Bat! 1.36 for the use of the Dutch language.
a>> After selecting the language 'dutch' only the words and options in the
a>> taskbar change to Dutch (not all, but most options).

a>> But,  the  words  in  the inbox (From-to-subject etc) do not change to
a>> Dutch. They are still in English.

a>> Can  someone  please tell me if that;s normal or how I can change that
a>> in Dutch too?

R> Had the same problem here, but most things appeared in German... (go
R> figure)...
R> I wrote about it directly to RIT but never got an answer...

R> The only thing to do about it is re-translate the language module...
R> (afaik)


Here it was also in german until  I started using 1.36 and the new 136
language module

-- 
Best regards,
 \\'altermailto:[EMAIL PROTECTED]



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, click below and send the generated message.
   <mailto:[EMAIL PROTECTED]>
--




Re: multi-language templates

2004-05-22 Thread MAU
Hello Cyrille,

> Is this possible? If yes, how?
> 
> Important: I don't want different folders for different languages. My
> folders are organized by topic.
> 
> Does somebody out there has some other hints what could be helpful in
> dealing with mail in multiple languages?

It is possible to a certain extent. Although I basically just deal with
two languages, English and Spanish, I'll give some ideas of things I've
done in the past or do now.

To start with, I would suggest that you create a QT (Quick Template) for
each language and name them accordingly: ENG, ESP, GER, etc., in which
you define the language, character set, perhaps signature and even
account or from address if you wanted to use different accounts or from
addresses for different languages. These QTs can then be used manually
or 'automatically' from other QTs or templates.

Let's talk first about NEW messages.

Whether you use AB, folder or account templates, when you start a new
message you can then type (anywhere in the body) the name of the
adequate QT and hit  to 'execute' it. After that, the proper
language, etc. will be set.

In order to not forget to use the appropriate QT you can include a list
of the language QTs in your "New message template" like if they were a
menu to choose from, something like this:

ENG
ESP
GER

This way, all you have to do is place the cursor at the end of the name
of one of them and hit 

If you know that you always write in the same language to the same
people, you can automate this even more if you use AB (Address Book) or
Group templates by doing a %QUINCLUDE="LAN", where LAN is the name of
the appropriate QT. If you can write to some people in more than one
language (i.e. because you CC someone else), what you can include is a
'menu' of language QTs and you can decide manually each time you write
to that person.

What about replies and forwards? Obviously enough you have the same
options as described above. But I will point you to another one a bit
more automatic that I use to reply in the same language of the message I
am replying to.

The question is how can TB know what language is the original message
in. I my case I "get help" from POPFile. Instead of configuring POPFile
to just classify "spam" and "no-spam" I have trained it to recognise
different languages and so, the messages are classified either as SPAM,
or ENG or ESP. I have POPFile configured to include an
X-Text-Classification: XXX, where, in my case, it can be either SPAM,
ENG or ESP.

Then, in my reply templates I include this line:

%Cursor%QINCLUDE="SLANG"%-

Obviously enough, SLANG is the name of the QT where I detect the
language of the message I am replying to and set my reply accordingly.
This is my:

,- [ SLANG Quick Template ]
| %IF:"%SETPATTREGEXP='(?im-s)^(X-Text-Classification)\:\s*(.*)$'%-
| %REGEXPBLINDMATCH='%HEADERS'%-
| %SUBPATT='2'"="eng":"%LANGUAGE='CSAPI BR'":"%LANGUAGE='CSAPI SP'"
`-

In my case I am just choosing between two languages. So, if original
message is not in English, it must be in Spanish. In your case you would
have your SLANG QT a bit more complex.

I hope I have been of some help and given you some ideas.

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v2.10.03





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


Re: multi-language templates

2004-05-22 Thread MAU
Hello Cyrille,

I forgot to say a couple of things in my previous message.

Talking about using AB or Groups templates, you can create in you AB a
groups for each language and then, when you include someone new in your
AB assign him/her to the appropriate group.

The main reason I use the help of POPFile is because I get many queries
from unknown people and have to reply to them, but I do not want to
include them in my AB.

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v2.10.03





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


Re: multi-language templates

2004-05-22 Thread Roelof Otten
Hallo Cyrille,

On Sat, 22 May 2004 18:08:26 +0200GMT (22-5-04, 18:08 +0200, where I
live), you wrote:

C> I am thinking about making TB my default mail client.

Good choice.

C> My situation: I have to handle mail in 6 European languages and (at
C> least) 3 different charsets.

That should offer no diffuculties.

C> My question: I would like TB to choose automatically
C>    * the right language template,

You should create those yourself. Considering the rest of your wishes,
you'd best create those templates as Quick Templates (QT) and pick
them via your account templates and some criteria.

C>* the right charset and

Can be done with the %CharSet= macro (see the help-file). You can
place that macro in your language template.

C>* the right spell checker

Can be done with the %Language= macro (see the help file). Since your
language template is language specific, that's the most logical place
to insert this macro.

C> according to the following criteria:

C> - New mail templates: according to the domain extension of the recipients
C> address. (But what should happen in case of .com or .net domains?)

Can be done with a series of nested if macros. But what would you do
with an Hungarian with an address at gmx.de
Better would be to do something with your address book (AB). You could
either use AB templates (templates associated group contacts in your
AB or associated with AB groups) or consequently insert the Country
field in the AB for every contact.
This will help you pick the language automatically for everybody in
your AB.
For new contacts you'd either have to create a template that uses the
aforementioned series of nested templates (with all possible options
for mistakes) or create a general template that'll make do for
anything (you can always manually pick your correct language QT) or
insert the recipient in your AB with the correct language setting.

C> - Reply / Forward templates: according to the language used in the
C> original message.

Forget about that. That's impossible. Without too much trouble I can
device a message (that won't make any sense, but that isn't the point)
that includes twenty words that can be found in three or four
languages and then you expect TB to tell you what language that is?
I'll readily admit that there probably is some language recognizing
software, but that would a bit of specialized stuff.
You'd better use the same criteria as for your new mail templates, I
suppose that would make things easier for you to fix any bugs you
encounter in your language picking system.

C> (In this case there is no problem with the choice of the
C> charsets, because TB can keep the charset of the original message.)

I can think of several instances where you'd like to override the
charset chosen by your contact (I'm doing that every now and then), so
it what be best IMO to pick it with your language template.

C> (Or does anybody have a better idea what could be the criteria for
C> the choice?)

The easiest way to achieve this, is via AB group templates. Create AB
groups, call them Russian, Hungarian, Dutch, English, Swahili (oops,
that's not European), whatever.
Add your contacts to the right language group.
Associate the language templates with the groups and you're done.
You pick an address and TB will pick the language.

To do your maintenance for these language templates, it's best to
create them as QT's and insert them into your AB group templates with
the %QInclude= macro (see the help file)
This will make it possible for you to easily pick a language for
somebody not in your AB or when you want to address a Russian in
Hungarian.

C> Is this possible? If yes, how?

I suppose it's possible and I've addressed the how. ;-)

Note that whatever system you use, as soon as you pick your first
addressee you're stuck with the language. So when you send one mail to
somebody Irish, somebody Russian and somebody German, you've got to
use the same template (and language) to all three of them.

C> Important: I don't want different folders for different languages. My
C> folders are organized by topic.

I couldn't care less.

C> Does somebody out there has some other hints what could be helpful in
C> dealing with mail in multiple languages?

Probably. You're not the only one mailing in different languages.

-- 
Groetjes, Roelof

Disclaimer: Any opinion stated in this message is not necessarily shared by my budgies 
or rabbits.



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


Re: multi-language templates

2004-05-22 Thread MAU
Hello Roelof,

C>> - Reply / Forward templates: according to the language used in the
C>> original message.
> 
> Forget about that. That's impossible. Without too much trouble I can
> device a message (that won't make any sense, but that isn't the point)
> that includes twenty words that can be found in three or four
> languages and then you expect TB to tell you what language that is?
> I'll readily admit that there probably is some language recognizing
> software, but that would a bit of specialized stuff.

POPFile works a treat if you train it :)

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v2.10.03





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


Re: multi-language templates

2004-05-22 Thread Roelof Otten
Hallo MAU,

On Sat, 22 May 2004 20:41:11 +0200GMT (22-5-04, 20:41 +0200, where I
live), you wrote:

C>>> - Reply / Forward templates: according to the language used in the
C>>> original message.
>> Forget about that. That's impossible. Without too much trouble I can

M> POPFile works a treat if you train it :)

Sure, for English and Spanish, but that's easy. 

-- 
Groetjes, Roelof

Disclaimer: Any opinion stated in this message is not necessarily shared by my budgies 
or rabbits.



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


Re: multi-language templates

2004-05-23 Thread Thomas Fernandez
Hello Roelof,

On Sat, 22 May 2004 20:13:30 +0200 GMT (23/05/2004, 01:13 +0700 GMT),
Roelof Otten wrote:

RO> I'll readily admit that there probably is some language recognizing
RO> software, but that would a bit of specialized stuff.

Word on XP Pro kept switchign from EN to DE when I wrote a letter in
German recently. This was especially unneverving since it swiotched
the keyboard layout, so I got a y whenever I typed a z. :-(

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

If someone with multiple personalities threatens to kill himself, is
it considered a hostage situation?

Message reply created with The Bat! 2.11 Beta/6
under Chinese Windows 98 4.10 Build  A 
using a Pentium P4 1.7 GHz, 256MB RAM





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


Re[2]: Change language ?

2004-05-23 Thread WEB ISLA
Hello Peter,

Sunday, May 23, 2004, 7:37:15 PM, you wrote:

PM> Hi WEB,

PM> on Sun, 23 May 2004 19:25:24 +0200GMT, you wrote:

WI>> How change you we the language of the interface? From English to French?

PM> If you installed the intpack.exe from Ritlabs it should be done via
PM> Options » Language.


Thank you for your answer. When I downloaded TheBat 2.10.03 I did not
find 'intpack.exe' Where is it?

-- 
Best regards,
 WEBmailto:[EMAIL PROTECTED]



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


Re[2]: Change language ?

2004-05-23 Thread WEB ISLA
Hello Peter,

Sunday, May 23, 2004, 8:44:42 PM, you wrote:

PM> Hi WEB,

PM> on Sun, 23 May 2004 20:35:12 +0200GMT, you wrote:

WI>>>> How change you we the language of the interface? From English to French?

PM>>> If you installed the intpack.exe from Ritlabs it should be done via
PM>>> Options » Language.

WI>> Thank you for your answer. When I downloaded TheBat 2.10.03 I did not
WI>> find 'intpack.exe' Where is it?

PM> It is here: http://www.ritlabs.com/en/products/thebat/download.php
PM> Select "International pack".

 It is completed! Thank you very much.;-)


-- 
Best regards,
 WEBISLAmailto:[EMAIL PROTECTED]



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


Re: multi-language templates

2004-05-23 Thread robin . anson
On Mon 24 May 2004, 4:20:23 +1000, Cyrille wrote:
> I am not very keen on manually inserting the country field in the AB
> for my 800 contacts. Because this solution is not much better than
> analyzing the email address. It is true that in many cases it is
> possible to say "country = language" , but Central Europe is not the
> Netherlands. In most of the countries there are several official
> languages (Hungarians in Slovakia, Germans in Romania, etc.).
> 
> As far as I know, language information does not belong to the Internet
> standard of vCards which TB uses for his address book. If there would
> be something like that, this would be of course the cleanest solution.

If you want to set a language for existing addressbook entries (as
opposed to being able to set a language in a reply to a previously
unknown sender), one approach would be to use the addressbook memo field

For recipients that don't use your standard language, you could include a
line in the memo field that looks like "language: FR" and include in your
message template a macro that searches for such an entry in this field. I
currently do this for setting read and delivery receipt requests, and for
selecting which signatures to use for particular recipients.

If you create the following QT, it will look for "language: XX" on a line
by itself in the memo field of the first recipient of the message, and
set the language of the message accordingly. Other information in the
memo field (on other lines) will not affect the language setting.

Then include %Qinclude(SetLang) in your message templates.

-- [SetLang QT] --
 %REM=^%-

 Set language based on recipient's addressbook memo entry containing a
 line starting "Language:" followed by the language code

 ^%-
 %-
 %_SetLang='%SetPattRegExp="(?im)^Language:\s*([a-z]{2})\s*$"%RegExpMatch=%ABToMemo'%-
 %If:"%_SetLang"<>"":%Language=%_SetLang:%-
 [End SetLang QT] 

-- 
Robin Anson
Using The Bat! v2.04.7 on Windows XP 5.1 Build 2600 Service Pack 1






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


Re[2]: Change language ?

2004-05-23 Thread WEB ISLA
Hello Ludovic,

Sunday, May 23, 2004, 9:05:57 PM, you wrote:

LLM> Hi,

LLM> On Sunday, May 23, 2004 at 8:35:12 PM, WEB ISLA wrote:

>> Thank you for your answer. When I downloaded TheBat 2.10.03 I did not
>> find 'intpack.exe' Where is it?

LLM> If you download the intpack.exe, you won't be able to have all the
LLM> interface in french. An up-to-date french interface file can be
LLM> downloaded there : http://www.spidmail.net/tb/TheBat.LNG

LLM> There's also a french mailing-list there :
LLM> http://draenor.its-toasted.org/mailman/listinfo/tb-fr

Je ne connaissais pas l'existence de cette mailing-list. Merci pour
l'info ;-)

-- 
Best regards,
 WEBmailto:[EMAIL PROTECTED]



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


Re: multi-language templates

2004-05-25 Thread Robin Anson
On Wed 26 May 2004, 4:31:03 +1000, Cyrille wrote:
> Is there a (semi-)automated way to insert such a line in hundreds of AB
> entries?

If the addressbook entries do not already have information in the memo
field, you can select multiple entries, and then Edit->Properties and
select the memo tab to enter the same information in all of them at once.
This will overwrite any existing information in that field though.

> And since reality is more complicated than any theory I guess that I
> will forget sometimes to add this line to each new contact. That is
> why I dream about the following solution:
> 
> When composing a message (new or reply),
> 1) your QT could get the language information from the AB memo field,
> 2) if there is no such info, the recipient's address domain extension
> is used to determine the language,
> 3) if this is not possible (".com" or Slovak using a Czech domain,
> etc.), in this case there should be a possibility to call manually a
> QT (as Miguel Urech described on Saturday in
> mid:[EMAIL PROTECTED])
> And depending on this language information
> 1) %CharSet is defined,
> 2) %Language is defined and
> 3) different text templates are used

I would suggest something based on the following.

Assume for you want to have specific Hungarian, Russian and Czech
language options, and will use English if none of the above apply.


1. Set up a new message template like this:

 [ New Message Template ]
%QInclude(SetLanguage)


Cyrille
mailto:[EMAIL PROTECTED]
 [ End New Message Template ]


2. Create SetLanguage QT to select an appropriate language like this

 [ SetLanguage QT ]
%REM=^%-

Set language based on recipient's addressbook memo entry containing a
line starting "Language:" followed by the language code

If this doesn't exist, use the TLD in the recipient's address

^%-
%-
%_SetLang='%SetPattRegExp="(?im)^Language:\s*[a-z]{2}$"%RegExpMatch=%ABToMemo'
%If:^%_SetLang^<>^^:^%Language=%_SetLang^:^%-
%-
%Rem="No language entry in the addressbook"%-
%-
%_SLDomain='%SetPattRegExp="\.([^\.]*?)$"%RegExpMatch("%ToAddr")%-'
%_SetLang="AM"%-
%-
%If:'%_SLDomain'='cz':'%_SetLang="CZ"'%-
%If:'%_SLDomain'='ru':'%_SetLang="RU"'%-
%If:'%_SLDomain'='hu':'%_SetLang="HU"'%-^
%-
%If:"%_SetLang"="AM":"%QInclude(EN_Template)":%-
%If:"%_SetLang"="CZ":"%QInclude(CZ_Template)":%-
%If:"%_SetLang"="RU":"%QInclude(RU_Template)":%-
%If:"%_SetLang"="HU":"%QInclude(HU_Template)":%-

 [ End SetLanguage QT ]


3. Set up language templates called EN_Template, HU_Template, RU_Template
and CZ_Template that set up the appropriate attributes. I don't speak
Hungarian, Russian or Czech, so I don't know what greetings or other text
you might want in it, but the English one might simply look like this

- [ EN_Template QT ]
%Language=AM%-
%CharSet="ISO-8859-1"
%Qinclude(Greet_All_Recipients)

%Cursor

--
Best regards,
- [ End EN_Template QT ]

Where Greet_All_Recipients is a QT in the library at
http://www.silverstones.com/thebat/Library.html that puts in the first
name of all recipients on the TO list.

So the new message template puts in your name and email address at the
end, and calls the SetLanguage QT to get the right language template.
Then the language template sets the language and charset and language
specific parts of the message.

Now, I haven't checked that it all works precisely as I have set out. I
haven't debugged it, and you would need to create Reply and Forward
message templates in a similar way. However, it shouldn't be too
difficult to do.

Note also that I don't use the %CharSet macro, so I have only guessed
at how it is set.

--
Robin Anson
Using The Bat! v2.04.7 on Windows XP 5.1 Build 2600 Service Pack 1



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


Re: multi-language templates

2004-05-26 Thread Robin Anson
On Wed 26 May 2004, 10:19:12 +1000, I wrote:
> 2. Create SetLanguage QT to select an appropriate language like this
> 
>  [ SetLanguage QT ]
> %REM=^%-
> 
> Set language based on recipient's addressbook memo entry containing a
> line starting "Language:" followed by the language code
> 
> If this doesn't exist, use the TLD in the recipient's address
> 
> ^%-
> %-
> %_SetLang='%SetPattRegExp="(?im)^Language:\s*[a-z]{2}$"%RegExpMatch=%ABToMemo'
> %If:^%_SetLang^<>^^:^%Language=%_SetLang^:^%-
> %-
> %Rem="No language entry in the addressbook"%-
> %-
> %_SLDomain='%SetPattRegExp="\.([^\.]*?)$"%RegExpMatch("%ToAddr")%-'
> %_SetLang="AM"%-
> %-
> %If:'%_SLDomain'='cz':'%_SetLang="CZ"'%-
> %If:'%_SLDomain'='ru':'%_SetLang="RU"'%-
> %If:'%_SLDomain'='hu':'%_SetLang="HU"'%-^
> %-
> %If:"%_SetLang"="AM":"%QInclude(EN_Template)":%-
> %If:"%_SetLang"="CZ":"%QInclude(CZ_Template)":%-
> %If:"%_SetLang"="RU":"%QInclude(RU_Template)":%-
> %If:"%_SetLang"="HU":"%QInclude(HU_Template)":%-
> 
>  [ End SetLanguage QT ]

Okay, so now I have actually tried to run it, and found a couple of bugs
and one redundant statement. To run properly it should read:

 [ SetLanguage QT ]
%REM=^%-

Set language based on recipient's addressbook memo entry containing a
line starting "Language:" followed by the language code

If this doesn't exist, use the TLD in the recipient's address

^%-
%-
%_SetLang='%SetPattRegExp="(?im)^Language:\s*([a-z]{2})$"%RegExpMatch=%ABToMemo'
%If:#%_SetLang#<>##:##:#%-
%-
%Rem="No language entry in the addressbook"%-
%-
%_SLDomain='%SetPattRegExp="\.([^\.]*?)$"%RegExpMatch("%ToAddr")%-'
%_SetLang="AM"%-
%-
%If:'%_SLDomain'='cz':'%_SetLang="CZ"'%-
%If:'%_SLDomain'='ru':'%_SetLang="RU"'%-
%If:'%_SLDomain'='hu':'%_SetLang="HU"'%-#
%-
%If:"%_SetLang"="AM":"%QInclude(EN_Template)":%-
%If:"%_SetLang"="CZ":"%QInclude(CZ_Template)":%-
%If:"%_SetLang"="RU":"%QInclude(RU_Template)":%-
%If:"%_SetLang"="HU":"%QInclude(HU_Template)":%-

 [ End SetLanguage QT ]

-- 
Robin Anson
Using The Bat! v2.04.7 on Windows XP 5.1 Build 2600 Service Pack 1







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


Re: multi-language templates

2004-06-01 Thread Robin Anson
On Tue 1 June 2004, 7:24:05 +1000, Cyrille wrote:
> I am wondering what is the best way to use it also for Reply and
> Forward templates?
> 
> Of course, it would be possible create three QT "SetLanguage" like the one you
> described:
> %SetLanguage1 calls the templates for New Messages.
> %SetLanguage2 calls the templates for Replies.
> %SetLanguage3 calls the templates for forwarding messages.
> And in the Account or Folder templates I could include %SetLanguage1
> in the New Message template, %SetLanguage2 in the Reply template,
> etc...
> 
> I didn't try it yet. But this should not be a problem.
> 
> But I wonder whether there is no other solution? Something more
> elegant? Having one single chain of templates instead of three
> Does anybody have some ideas?

You are right, there is a better way than creating multiple SetLanguage
QTs.

Here is one approach (based upon my messages at
mid:[EMAIL PROTECTED] and the update at
mid:[EMAIL PROTECTED]):

1. Edit the existing SetLanguage QT to take out the last 4 lines that
actually select the templates EN_template, HU_template, etc.


2. Put these 4 lines in the master new message template so that this
template now reads:

 [ New Message Template ]
%QInclude(SetLanguage)%-
%If:"%_SetLang"="AM":"%QInclude(EN_Template)":%-
%If:"%_SetLang"="CZ":"%QInclude(CZ_Template)":%-
%If:"%_SetLang"="RU":"%QInclude(RU_Template)":%-
%If:"%_SetLang"="HU":"%QInclude(HU_Template)":%-
Cyrille
mailto:[EMAIL PROTECTED]
---- [ End New Message Template ]

The value of %_SetLang is carried out of the SetLanguage QT into the new
message template and allows you to make the selection of an appropriate
language template in the new message template itself.


3. For replies, create a master reply template that uses the same
SetLanguage QT to select the language, then calls an appropriate language
specific reply template. These might be called EN_Reply, CZ_Reply,
RU_Reply, HU_Reply.


4. In a similar way create a master forwarding template


This would allow you to have:
   * one SetLanguage QT,
   * one master template for new messages
   * one master template for replies
   * one master template for forwarding

Then each language that you want to support would have a 3 'slave'
templates, one for new messages, one for replies and one for forwarding.

You might also find that the first part of the reply and forwarding templates
for each language is simply the new message template for that language.


-- 
Robin Anson
Using The Bat! v2.04.7 on Windows XP 5.1 Build 2600 Service Pack 1






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


Re: multi-language templates

2004-06-01 Thread Cyrille
Hello Robin,

Tuesday, June 1, 2004, 1:47:13 PM, you wrote:

RA> ...
RA> This would allow you to have:
RA>* one SetLanguage QT,
RA>* one master template for new messages
RA>* one master template for replies
RA>* one master template for forwarding

RA> Then each language that you want to support would have a 3 'slave'
RA> templates, one for new messages, one for replies and one for forwarding.

This works fine. Thank you!! I'am still working on fine tuning the
templates.
But I have a problem with many *empty* lines which show up in my
generated messages.
My impression is that each %QINCLUDE(xxx) line in the templates
provokes a line feed in the final output.
How can I avoid this?

RA> You might also find that the first part of the reply and forwarding templates
RA> for each language is simply the new message template for that language.

I am not sure whether I understand how you mean this.

--
Best regards,
Cyrille
mailto:[EMAIL PROTECTED]

[ the sig delimiter left TB correctly formatted! ]
[ TB! 2.10.01, Windows ME 4.90 Build 3000, Pentium 233Mhz with 95MB ]




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


Re: multi-language templates

2004-06-01 Thread MAU
Hello Cyrille,

> My impression is that each %QINCLUDE(xxx) line in the templates
> provokes a line feed in the final output.
> How can I avoid this?

Include "%-" without the quote marks at the end of each QINCLUDE line.

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v2.10.03





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


Re: multi-language templates

2004-06-01 Thread Robin Anson
On Wed 2 June 2004, 8:36:51 +1000, Cyrille wrote:
RA>> You might also find that the first part of the reply and forwarding templates
RA>> for each language is simply the new message template for that language.
> 
> I am not sure whether I understand how you mean this.

Let me show by an example.

For one of my accounts, my new message template looks like:

,- [ New message ]
| %Qinclude(Greet_All_Recipients)%-
| %Cursor
| 
| Robin
| 
| -- 
| %Qinclude(DefaultSig)
|
`-

For that same account my forward message template looks like:

,- [ forward message ]
| %Qinclude(Greet_All_Recipients)%-
| %Cursor
| 
| Robin
| 
| -- 
| %Qinclude(DefaultSig)
|
| ===8<===Original message
| This is a forwarded message
| From: %OFromName <%OFromAddr>
| To: %OToList
| Date: %ODateEn, %OTimeLong
| Subject: %OFullSubj
| 
| %Text
| ===8<=End original message==
| %Subject="Fwd: %OFullSubj"%-
`-

If I had created a QT called EN_New (as you might need to do) like this:

,- [ EN_New ]
| %Qinclude(Greet_All_Recipients)%-
| %Cursor
| 
| Robin
| 
| -- 
| %Qinclude(DefaultSig)
|
`-

Then I could also have a QT called EN_Forward like this:

,- [ EN_Forward ]
| %Qinclude(EN_New)%-
|
| ===8<===Original message
| This is a forwarded message
| From: %OFromName <%OFromAddr>
| To: %OToList
| Date: %ODateEn, %OTimeLong
| Subject: %OFullSubj
| 
| %Text
| ===8<=End original message==
| %Subject="Fwd: %OFullSubj"%-
`-

I might also have a QT called EN_Reply like this:

,- [ EN_Reply ]
| %Qinclude(EN_New)%-
|
|
| ===8<===Original message
| From: %OFromName <%OFromAddr>
| To: %OToList
| Date: %ODateEn, %OTimeLong
| Subject: %OFullSubj
| 
| %Text
| ===8<=End original message==
| %Subject="Re: %OFullSubj"%-
`-

Then if I make a change in my EN_New QT, it is reflected in the new
message template, the reply template and the forward message template.

-- 
Robin Anson
Using The Bat! v2.04.7 on Windows XP 5.1 Build 2600 Service Pack 1







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


Re: multi-language templates

2004-06-04 Thread Cyrille
Hello MAU,

Wednesday, June 2, 2004, 1:54:06 AM, you wrote:

M> Include "%-" without the quote marks at the end of each QINCLUDE line.

I went through all my QT. The "%-" are all there.
But I still have my empty lines before the greeting in all my
generated messages.

Do you have another idea what could be the reason?

--
Best regards,
Cyrille
mailto:[EMAIL PROTECTED]


[ TB! 2.10.01, Windows ME 4.90 Build 3000, Pentium 233Mhz with 95MB ]




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


Re: multi-language templates

2004-06-04 Thread Robin Anson
On Sat 5 June 2004, 8:38:14 +1000, Cyrille wrote:
> I went through all my QT. The "%-" are all there.
> But I still have my empty lines before the greeting in all my
> generated messages.

Hmm, I'm sure it will be lines in a QT that don't have the %- at the end.
Perhaps there are some blank lines that should have a %-. Check that
there are no blank lines at the end of a QT. These may not be obvious
until you investigate closely.

It's hard to tell without actually seeing the QTs as they are written,
including all the blank lines at the end.

If you can't solve the problem, provide a copy of the QTs in a message to
the list, and we can help.

-- 
Robin Anson
Using The Bat! v2.11.02 on Windows XP 5.1 Build 2600 Service Pack 1







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


Re: multi-language templates

2004-06-05 Thread MAU
Hello Cyrille,

> Do you have another idea what could be the reason?

I fully concur with what Robin Anson tells you in his reply.

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v2.10.03





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


Re: multi-language templates

2004-06-06 Thread Cyrille
Hello Robin,

Saturday, June 5, 2004, 3:25:40 AM, you wrote:

RA> I'm sure it will be lines in a QT that don't have the %- at the end.

What exactly does *- do ?

[20 min browsing through the help file did not give any answer.]

--
Best regards,
Cyrille
mailto:[EMAIL PROTECTED]


[ TB! 2.10.01, Windows ME 4.90 Build 3000, Pentium 233Mhz with 95MB ]




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


Re: multi-language templates

2004-06-06 Thread Thomas Fernandez
Hello Cyrille,

On Sun, 6 Jun 2004 19:31:44 +0200 GMT (07/06/2004, 00:31 +0700 GMT),
Cyrille wrote:

RA>> I'm sure it will be lines in a QT that don't have the %- at the end.

C> What exactly does *- do ?

"*-" does nothing. "%-" suppresses the new line that you manually
enter after it.

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

My wife and I were happy for twenty years then we met.

Message reply created with The Bat! 2.11
under Chinese Windows 98 4.10 Build  A 
using a Pentium P4 1.7 GHz, 256MB RAM





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


Re: multi-language templates

2004-06-06 Thread Cyrille
Hello Thomas,

Sunday, June 6, 2004, 7:44:19 PM, you wrote:

TF> "*-" does nothing. "%-" suppresses the new line that you manually
TF> enter after it.

Sorry for my mistyping. But still did not get the point.
What do you mean with "manually"? I use it in QT.
And I see it in many places at the end, and not at the beginning of a line.

Where do I find more explanation about this particular expression in the help file?

--
Best regards,
Cyrille
mailto:[EMAIL PROTECTED]


[ TB! 2.10.01, Windows ME 4.90 Build 3000, Pentium 233Mhz with 95MB ]




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


Re: multi-language templates

2004-06-06 Thread Cyrille
Hello Robin,

Saturday, June 5, 2004, 3:25:40 AM, you wrote:

RA> Hmm, I'm sure it will be lines in a QT that don't have the %- at the end.
RA> Perhaps there are some blank lines that should have a %-. Check that
RA> there are no blank lines at the end of a QT. These may not be obvious
RA> until you investigate closely.

Now I managed to get rid of these empty lines by changing something in
the QT you proposed at at mid:[EMAIL PROTECTED]
and mid:[EMAIL PROTECTED]
Since I do not feel very sure about changing the code I send you a copy of
what I did. The new version works for the empty lines. But I wonder whether my
intervention might not affect something else...

Below follows first the old version (1) which provoked these empty lines, and
then the new version (2) with my changes.

(1)
 [ SetLanguage QT ]

%REM=^%-

Set language based on recipient's addressbook memo entry containing a
line starting "Language:" followed by the language code

If this doesn't exist, use the TLD in the recipient's address

^%-
%-
%_SetLang='%SetPattRegExp="(?im)^Language:\s*([a-z]{2})$"%RegExpMatch=%ABToMemo'
%If:#%_SetLang#<>##:##:#%-
%-
%Rem="No language entry in the addressbook"%-
%-
%_SLDomain='%SetPattRegExp="\.([^\.]*?)$"%RegExpMatch("%ToAddr")%-'
%_SetLang="AM"%-
%-
%If:'%_SLDomain'='fr':'%_SetLang="FR"'%-
%If:'%_SLDomain'='de':'%_SetLang="DE"'%-
%If:'%_SLDomain'='sk':'%_SetLang="SK"'%-
%If:'%_SLDomain'='cz':'%_SetLang="SK"'%-
%If:'%_SLDomain'='ru':'%_SetLang="RU"'%-
%If:'%_SLDomain'='hu':'%_SetLang="HU"'%-
%If:'%_SLDomain'='pl':'%_SetLang="PL"'%-#
%-

 [ End SetLanguage QT ]


(2)
 [ SetLanguage QT ]

%REM=^%-

Set language based on recipient's addressbook memo entry containing a
line starting "Language:" followed by the language code

If this doesn't exist, use the TLD in the recipient's address

^%-
%-
%_SetLang='%SetPattRegExp="(?im)^Language:\s*([a-z]{2})$"%RegExpMatch=%ABToMemo'%-
%If:#%_SetLang#<>##:##:#%-
%-
%Rem="No language entry in the addressbook"%-
%-
%_SLDomain='%SetPattRegExp="\.([^\.]*?)$"%RegExpMatch("%ToAddr")%-'
%_SetLang="AM"%-
%-
%If:'%_SLDomain'='fr':'%_SetLang="FR"'%-
%If:'%_SLDomain'='de':'%_SetLang="DE"'%-
%If:'%_SLDomain'='sk':'%_SetLang="SK"'%-
%If:'%_SLDomain'='cz':'%_SetLang="SK"'%-
%If:'%_SLDomain'='ru':'%_SetLang="RU"'%-
%If:'%_SLDomain'='hu':'%_SetLang="HU"'%-
%If:'%_SLDomain'='pl':'%_SetLang="PL"'%-


 [ End SetLanguage QT ]

My changes are at the end of line 10 and at the very end of the QT.

--
Best regards,
Cyrille
mailto:[EMAIL PROTECTED]


[ TB! 2.10.01, Windows ME 4.90 Build 3000, Pentium 233Mhz with 95MB ]




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


Re: multi-language templates

2004-06-06 Thread Robin Anson
On Mon 7 June 2004, 8:05:59 +1000, Cyrille wrote:
> (2)
>  [ SetLanguage QT ]
> 
> %REM=^%-
> 
> Set language based on recipient's addressbook memo entry containing a
> line starting "Language:" followed by the language code
> 
> If this doesn't exist, use the TLD in the recipient's address
> 
> ^%-
> %-
> %_SetLang='%SetPattRegExp="(?im)^Language:\s*([a-z]{2})$"%RegExpMatch=%ABToMemo'%-
> %If:#%_SetLang#<>##:##:#%-
> %-
> %Rem="No language entry in the addressbook"%-
> %-
> %_SLDomain='%SetPattRegExp="\.([^\.]*?)$"%RegExpMatch("%ToAddr")%-'
> %_SetLang="AM"%-
> %-
> %If:'%_SLDomain'='fr':'%_SetLang="FR"'%-
> %If:'%_SLDomain'='de':'%_SetLang="DE"'%-
> %If:'%_SLDomain'='sk':'%_SetLang="SK"'%-
> %If:'%_SLDomain'='cz':'%_SetLang="SK"'%-
> %If:'%_SLDomain'='ru':'%_SetLang="RU"'%-
> %If:'%_SLDomain'='hu':'%_SetLang="HU"'%-
> %If:'%_SLDomain'='pl':'%_SetLang="PL"'%-
> 
> 
>  [ End SetLanguage QT ]
> 
> My changes are at the end of line 10 and at the very end of the QT.

What you have done at the end of line 10 is correct. It actually appears
to be line 11 if you count the blank line at the beginning.

If the first line is in you QT (the one _before_ %REM=^%-) this should
also have %-.

If the last two blank lines are in your QT, they should also have %-.

However all three of those blank lines could safely be omitted since they
do nothing.

-- 
Robin Anson
Using The Bat! v2.11.02 on Windows XP 5.1 Build 2600 Service Pack 1







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


Re: multi-language templates

2004-06-06 Thread Cyrille
Hello Robin,

Monday, June 7, 2004, 2:37:25 AM, you wrote:

RA> What you have done at the end of line 10 is correct. It actually appears
RA> to be line 11 if you count the blank line at the beginning.

At the end of the QT I omitted also the # at the end of the last code
line.
What is this # good for?
What *exactly* does %-?
Where in the help file or where on the net can I read more about # and
%- ?

RA> However all three of those blank lines could safely be omitted since they
RA> do nothing.

Done.

--
Thank you, Robin, for your repeated help!
Best regards,
Cyrille
mailto:[EMAIL PROTECTED]


[ TB! 2.10.01, Windows ME 4.90 Build 3000, Pentium 233Mhz with 95MB ]




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


Re: multi-language templates

2004-06-07 Thread Robin Anson
On Mon 7 June 2004, 15:15:24 +1000, Cyrille wrote:
> At the end of the QT I omitted also the # at the end of the last code
> line.

Ah, yes I see now. I hadn't noticed that previously.

> What is this # good for?

The %If macro works like this:

%If:"var1""var2":"":""

which is equivalent to

%If:"var1""var2"%-
:""%-
:""


However, if you have nested %If macros, you need to adjust the delimiters
("). So if you want to do another comparison operation if the first one
is false, you might end up with:

%If:"var1""var2"%-
:""%-
:"%If:'var1''var3':'':''"

Note that I have used one delimiter (') for the inner %If macro, and a
different one (") for the outer.

More complex macro combinations can have multiple levels of delimiters
from nested %If, regex and other macros, requiring careful choice of
delimiters. Common ones are ",',^,#,_,$ although almost any character can
be used.

Now in the QT we are referring to, there is a %if macro statement that
starts

  %If:#%_SetLang#<>##:##:#%-

It is checking to see if %_SetLang is blank, using # as the delimiter
(#%_SetLang#<>##)

If %_SetLang is blank, nothing happens because the  is blank
(##)

If %_SetLang is not blank then the rest of the QT should get executed
(the end of the  is the last # of the QT, which you
deleted). Since it was the last character in the QT, I don't think it
will cause a problem, but it would be better to have it back in.

However, it would be better to have the # before the %- to remove the
blank line that will otherwise be there.

The reason I used # as the delimiter is because within the 
I had one regex and seven %If statements all separately using " and ' as
delimiters.

==

> What *exactly* does %-?

Put simply, it tells TB! to ignore a following new line (i.e. a blank line).
It will also mark the end of a macro if there might be ambiguity about
where the end is.

For example, above I wrote
   %If:"var1""var2"%-
   :""%-
   :""
as an alternative to having the %If statement on a single line. TB! sees
it as a single line because of the %- at the end of each line. The reason
I wrote it like that is because it is simpler to understand with the
three parts to the %If statement on three separate lines.

In addition, however, if I wanted to set the subject, from and to address
in a QT, I could put

   %subject="something"
   %from="me <[EMAIL PROTECTED]>"
   %to="you <[EMAIL PROTECTED]>"

When TB! processed that, each line would affect the headers, BUT EACH
LINE WOULD ALSO LEAVE A BLANK LINE IN THE BODY OF THE EMAIL.

That is because TB! is very literal about the way it processes the
content of QTs. If the QT contains plain text, it simply gets written to
the place it is called from (the body of your message). If it contains a
mixture of macros and plain text, the macros get executed, and the plain
text gets copied to the body of your message.

Now TB! sees all the new lines as plain text. They are not part of the
macro, so they simply get written to the body of your message. If you
don't want that, you must tell TB! to ignore the new line by putting %-
immediately before it.

So if you write
   %subject="something"%-
   %from="me <[EMAIL PROTECTED]>"%-
   %to="you <[EMAIL PROTECTED]>"%-
TB! ignores all those new lines and you don't get three blank lines in
the body of your message.

It's simple, but also confusing. I hope I have helped clear up some
confusion! ;-) <-- No smiley icon there as far as I am concerned!!

-- 
Robin Anson
Using The Bat! v2.11.02 on Windows XP 5.1 Build 2600 Service Pack 1







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


Re: multi-language templates

2004-06-07 Thread Roelof Otten
Hallo Cyrille,

On Mon, 7 Jun 2004 07:15:24 +0200GMT (7-6-04, 7:15 +0200, where I
live), you wrote:

C> At the end of the QT I omitted also the # at the end of the last code
C> line.

That's isn't a very good idea. You'd better put it back.

C> What is this # good for?

It's a delimiter, just like you can use "" or '' to separate sections,
you can also use ##,  _ _ or &&.
In this case your first %if statement uses #, so it read
%if:#condition#:#then#:#else#
The else part was a whole lot of %if's and by omitting the last # you
confuse TB where to stop with your %if. It might go alright because
there's nothing relevant until the end of the QT, but as a matter of
principle you should always try to use a correct syntax.

C> What *exactly* does %-?

It tells the editor to ignore the newline character immidiately behind
it. So the editor translates this:
"I'm typing a $-
silly text."
to
"I'm typing a silly text"
In this example the %- macro has no real use, but in complex macros or
QT's it can enhance the readability by placing separate constructs on
a single line in stead of having everything on one single line.

C> Where in the help file or where on the net can I read more about # and
C> %- ?

The # part is explained in the 'main macros page' in the help.

-- 
Groetjes, Roelof

Disclaimer: Any opinion stated in this message is not necessarily shared by my budgies 
or rabbits.



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


Re: multi-language templates

2004-06-07 Thread Cyrille
Hello Robin,

Monday, June 7, 2004, 9:41:40 AM, you wrote:
>> What *exactly* does %-?
RA> It tells TB! to ignore a following new line (i.e. a blank line).
RA> It will also mark the end of a macro if there might be ambiguity about
RA> where the end is.
(...)
RA> When TB! processed that, each line would affect the headers, BUT EACH
RA> LINE WOULD ALSO LEAVE A BLANK LINE IN THE BODY OF THE EMAIL.
RA> So if you write
RA>%subject="something"%-
RA>%from="me <[EMAIL PROTECTED]>"%-
RA>%to="you <[EMAIL PROTECTED]>"%-
RA> TB! ignores all those new lines and you don't get three blank lines in
RA> the body of your message.

Thank you for taking the time to give such a detailed answer.
I found your explanations extremely clear and very helpful.

But now I happen to have the problem the other way around!!!
Lines disappear which should be there.

With my several levels of nested QT it seems that one of the QT
swallows lines of the others. But I could not determine where it comes
from:

What I do is still based on what you proposed in
mid:[EMAIL PROTECTED] :
RA> This would allow you to have:
RA>* one SetLanguage QT,
RA>* one master template for new messages
RA>* one master template for replies
RA>* one master template for forwarding
RA> Then each language that you want to support would have a 3 'slave'
RA> templates, one for new messages, one for replies and one for forwarding.

For the moment I have it working only for new messages.

In addition to your proposition I have a "lang_parameters_XX" QT in each language
where I set %Charset and %Language. I include these QTs in the three
'slave' templates instead of defining three times the same parameters.

Now comes the complicated part:
My signature is split into two of the above mentioned templates.
The cut mark and a 'Many greetings' line are in the language 'slaves'
(since this is language dependent). But my e-mail, URL, phone, etc. is
in the master template (because it is the same in all languages).
These two elements should be simply one beneath the other.
What happens is that the cut mark and the 'Many greetings' line are OK, but
below, the part coming from the master, misses its first row and
starts only with the 2nd row.

Here comes the code of the master template:

 [ master_new_message ]
%QInclude(SetLanguage)%-
%If:"%_SetLang"="AM":"%QInclude(new_EN)":%-
%If:"%_SetLang"="FR":"%QInclude(new_FR)":%-
%If:"%_SetLang"="DE":"%QInclude(new_DE)":%-
%If:"%_SetLang"="SK":"%QInclude(new_SK)":%-
%If:"%_SetLang"="CZ":"%QInclude(new_SK)":%-
%If:"%_SetLang"="RU":"%QInclude(new_RU)":%-
%If:"%_SetLang"="HU":"%QInclude(new_HU)":%-
%If:"%_SetLang"="PL":"%QInclude(new_PL)":

mailto:%FROMADDR
http://www.mydomain.net
My address and my phone
 [ end of master_new_message ]

And this is the code of the language slaves:

 [ new_FR ]
Bonjour %CAPITALFIRST=%TOFName,
%QInclude(lang_parameters_FR)%-
Texte en français
%CURSOR

--
A bientôt,
 [ end of new_FR ]


The output of this looks like this
- [ generated message ]
Bonjour Cyrille,

Texte en français
[cursor]

--
A bientôt,
http://www.mydomain.net
My address and my phone
- [ end of generated message ]

This means that the mailto:%FROMADDR line was dropped.
Why?

--
Best regards,
Cyrille
mailto:[EMAIL PROTECTED]


[ TB! 2.10.01, Windows ME 4.90 Build 3000, Pentium 233Mhz with 95MB ]




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


Re: multi-language templates

2004-06-07 Thread Roelof Otten
Hallo Cyrille,

On Mon, 7 Jun 2004 15:18:42 +0200GMT (7-6-04, 15:18 +0200, where I
live), you wrote:
C> %If:"%_SetLang"="AM":"%QInclude(new_EN)":%-

Try to insert "" behind every last colon or omit every trailing colon.
It looks like the %if statement are grabbing some extra text, since
the editor thinks he still has to process something. Maybe a %- behind
the last %if statement might work too.

-- 
Groetjes, Roelof

Disclaimer: Any opinion stated in this message is not necessarily shared by my budgies 
or rabbits.



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


Re: multi-language templates

2004-06-07 Thread Robin Anson
On Mon 7 June 2004, 23:18:42 +1000, Cyrille wrote:
> But now I happen to have the problem the other way around!!!
> Lines disappear which should be there.
> 
> With my several levels of nested QT it seems that one of the QT
> swallows lines of the others. But I could not determine where it comes
> from:
<...snip...>

I agree with Roelof's suggestions:
   * put "" before the %- in each of the %If statements in the
 master_new_message QT
   * include %- at the end of the final %If statement in the
 master_new_message QT

I should have paid more attention to details and included an empty
 statement in the %If macros in the new message template
in mid:[EMAIL PROTECTED] Otherwise as Roelof noted
TB! will continue to look for what to do if the condition is false. I
don't know enough about how the %If macro handles improperly constructed
statements to work out how it interprets the set of statements you have,
but I'm sure it causes problems!

And if you omit the %- after
   %If:"%_SetLang"="PL":"%QInclude(new_PL)":
you will find you have one extra blank line in your Polish messages.

I would expect that to fix the problem. If not, provide the content for
lang_parameters_FR, and I will set it up on my system and try to debug it.

-- 
Robin Anson
Using The Bat! v2.11.02 on Windows XP 5.1 Build 2600 Service Pack 1






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


Re: multi-language templates

2004-06-07 Thread Cyrille
Hello Robin and Roelof,

The problem seems to be solved.
Tuesday, June 8, 2004, 12:20:51 AM, you wrote:

RA> I agree with Roelof's suggestions:
RA>* put "" before the %- in each of the %If statements in the
RA>  master_new_message QT

This works the line which disappeard is back again now.

RA>* include %- at the end of the final %If statement in the
RA>  master_new_message QT

This part does not seem to have an influence on the output.

RA> And if you omit the %- after
RA>%If:"%_SetLang"="PL":"%QInclude(new_PL)":
RA> you will find you have one extra blank line in your Polish messages.

With or without %- same result. The Polish messages behave like all
the others...

RA> TB! will continue to look for what to do if the condition is false. I
RA> don't know enough about how the %If macro handles improperly constructed
RA> statements to work out how it interprets the set of statements you have,
RA> but I'm sure it causes problems!

What does this mean for the SetLanguage QT? As far as I see there is
also an empty  statement in the %If macros. Or is
there something I misinterpret?
After your (Robin's and Roelof's) debugging it looks like this now:

- [ SetLANGUAGE QT ] -
%REM=^%-

Set language based on recipient's addressbook memo entry containing a
line starting "Language:" followed by the language code

If this doesn't exist, use the TLD in the recipient's address

^%-
%-
%_SetLang='%SetPattRegExp="(?im)^Language:\s*([a-z]{2})$"%RegExpMatch=%ABToMemo'%-
%If:#%_SetLang#<>##:##:#%-
%-
%Rem="No language entry in the addressbook"%-
%-
%_SLDomain='%SetPattRegExp="\.([^\.]*?)$"%RegExpMatch("%ToAddr")%-'
%_SetLang="AM"%-
%-
%If:'%_SLDomain'='fr':'%_SetLang="FR"'%-
%If:'%_SLDomain'='de':'%_SetLang="DE"'%-
%If:'%_SLDomain'='sk':'%_SetLang="SK"'%-
%If:'%_SLDomain'='cz':'%_SetLang="SK"'%-
%If:'%_SLDomain'='ru':'%_SetLang="RU"'%-
%If:'%_SLDomain'='hu':'%_SetLang="HU"'%-
%If:'%_SLDomain'='pl':'%_SetLang="PL"'#%-
- [end of SetLANGUAGE QT ] -

Where is the  statement?

--
Best regards,
Cyrille
mailto:[EMAIL PROTECTED]


[ TB! 2.10.01, Windows ME 4.90 Build 3000, Pentium 233Mhz with 95MB ]




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


Re: multi-language templates

2004-06-08 Thread Robin Anson
On Tue 8 June 2004, 16:31:41 +1000, Cyrille wrote:
> The problem seems to be solved.

Excellent

RA>>* include %- at the end of the final %If statement in the
RA>>  master_new_message QT
> 
> This part does not seem to have an influence on the output.
> 
RA>> And if you omit the %- after
RA>>%If:"%_SetLang"="PL":"%QInclude(new_PL)":
RA>> you will find you have one extra blank line in your Polish messages.
> 
> With or without %- same result. The Polish messages behave like all
> the others...

Even after adding the "" () at the end of the %If
statements? I am a little surprised, but only a little.

RA>> TB! will continue to look for what to do if the condition is false. I
RA>> don't know enough about how the %If macro handles improperly constructed
RA>> statements to work out how it interprets the set of statements you have,
RA>> but I'm sure it causes problems!
> 
> What does this mean for the SetLanguage QT? As far as I see there is
> also an empty  statement in the %If macros. Or is
> there something I misinterpret?
> After your (Robin's and Roelof's) debugging it looks like this now:
> 
> - [ SetLANGUAGE QT ] -

<...snip...>

> %If:'%_SLDomain'='fr':'%_SetLang="FR"'%-
> %If:'%_SLDomain'='de':'%_SetLang="DE"'%-
> %If:'%_SLDomain'='sk':'%_SetLang="SK"'%-
> %If:'%_SLDomain'='cz':'%_SetLang="SK"'%-
> %If:'%_SLDomain'='ru':'%_SetLang="RU"'%-
> %If:'%_SLDomain'='hu':'%_SetLang="HU"'%-
> %If:'%_SLDomain'='pl':'%_SetLang="PL"'#%-
> - [end of SetLANGUAGE QT ] -
> 
> Where is the  statement?

Good question. You say it works at the moment, and that probably reflects
the robustness of the macro's ability to parse the lines above. However
it would be better to make them read

%If:'%_SLDomain'='fr':'%_SetLang="FR"':''%-
%If:'%_SLDomain'='de':'%_SetLang="DE"':''%-
%If:'%_SLDomain'='sk':'%_SetLang="SK"':''%-
%If:'%_SLDomain'='cz':'%_SetLang="SK"':''%-
%If:'%_SLDomain'='ru':'%_SetLang="RU"':''%-
%If:'%_SLDomain'='hu':'%_SetLang="HU"':''%-
%If:'%_SLDomain'='pl':'%_SetLang="PL"':''#%-

--
Robin Anson
Using The Bat! v2.11.02 on Windows XP 5.1 Build 2600 Service Pack 1







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


Re: multi-language templates

2004-06-08 Thread Cyrille
Hello Robin,

Tuesday, June 8, 2004, 9:47:14 AM, you wrote:

RA>>> And if you omit the %- after
RA>>>%If:"%_SetLang"="PL":"%QInclude(new_PL)":
RA>>> you will find you have one extra blank line in your Polish messages.
>> With or without %- same result. The Polish messages behave like all
>> the others...
RA> Even after adding the "" () at the end of the %If
RA> statements? I am a little surprised, but only a little.

I tried again: You are right. After adding the "" ()
also the %- at the end of the last if statement behaves differently from before. (Why?)
Without the %- a blank line appears between the part of the sig
coming from the language slave and the part of the sig coming from the
master. But: This is the case not only for Polish but for all languages.
(You know what I mean, don't you (-: )
But maybe there is nothing to worry about since it works now...

>> What does this mean for the SetLanguage QT? As far as I see there is
>> also an empty  statement in the %If macros.
>> Where is the  statement?
RA> Good question. You say it works at the moment, and that probably reflects
RA> the robustness of the macro's ability to parse the lines above. However
RA> it would be better to make them read
RA> %If:'%_SLDomain'='fr':'%_SetLang="FR"':''%-
RA> %If:'%_SLDomain'='de':'%_SetLang="DE"':''%-
RA> %If:'%_SLDomain'='sk':'%_SetLang="SK"':''%-
RA> %If:'%_SLDomain'='cz':'%_SetLang="SK"':''%-
RA> %If:'%_SLDomain'='ru':'%_SetLang="RU"':''%-
RA> %If:'%_SLDomain'='hu':'%_SetLang="HU"':''%-
RA> %If:'%_SLDomain'='pl':'%_SetLang="PL"':''#%-

Done.
Works fine.
Aren't you proud of your student? He finds already the mistakes of his
teacher... (-:

Since the new message part of the solution works now, I will try to
get it working for replies as well.
The first tests do not look well. During the last two hours I crashed
TB exactly nine times (got frozen and I had to kill it). There seems
to be a conflict between different QT or a bug with the %LANGUAGE
macro. I did not narrow down yet what might be the reason.
I think I will start a new thread with this question.

Thanx again.

--
Best regards,
Cyrille
mailto:[EMAIL PROTECTED]


[ TB! 2.10.01, Windows ME 4.90 Build 3000, Pentium 233Mhz with 95MB ]




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


Re: multi-language templates

2004-06-08 Thread Robin Anson
On Tue 8 June 2004, 20:15:18 +1000, Cyrille wrote:
> The first tests do not look well. During the last two hours I crashed
> TB exactly nine times (got frozen and I had to kill it). There seems
> to be a conflict between different QT or a bug with the %LANGUAGE
> macro. I did not narrow down yet what might be the reason.
> I think I will start a new thread with this question.

Good idea!

When I am trying to debug QTs, I find it useful to put temporary
statements in that print out in the message to allow me to follow what is
happening. For example you might put in

   Language is %_SetLang

or a statement at the start and end of each QT like

   New_EN QT starts

   New_En QT ends

Then you will know where the process gets to before it hangs or gets in
an infinite loop or something.

-- 
Robin Anson
Using The Bat! v2.11.02 on Windows XP 5.1 Build 2600 Service Pack 1







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


Re: multi-language templates

2004-06-09 Thread Thomas Fernandez
Hello Cyrille,

On Sun, 6 Jun 2004 23:49:43 +0200 GMT (07/06/2004, 04:49 +0700 GMT),
Cyrille wrote:

C> What do you mean with "manually"? I use it in QT.
C> And I see it in many places at the end, and not at the beginning of a line.

Let's say your QT looks like this:

 

 %TO="[EMAIL PROTECTED]"
 Hallo %TFName
 %Cursor
 %Quotes

 

Do you see how behind each line is a newline character? You have
manually entered it. After the first line you definitely don't want a
newline character, as there would be a blank line at the beginning of
the mail. So you add %- at the end:

  %TO="[EMAIL PROTECTED]"%-

and the word "Hallo" is in the first line of the reply.

C> Where do I find more explanation about this particular expression in the help file?

Help / Index / Macros / Full alphabetic list / Dash macro.

No! It's gone! :-(

Also, the Help window doesn't scroll with the scroll wheel. :-(

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

Hypnotophobie: Angst vor dem Bettenmachen.

Message reply created with The Bat! 2.11
under Chinese Windows 98 4.10 Build  A 
using a Pentium P4 1.7 GHz, 256MB RAM





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


Re: multi-language templates

2004-06-09 Thread Urban
Wednesday, June 9, 2004, Thomas Fernandez wrote:

>  %TO="[EMAIL PROTECTED]"
>  Hallo %TFName
>  %Cursor
>  %Quotes

>  

Advocating top-posting now, are we? (tsk tsk)
SCNR



> Help / Index / Macros / Full alphabetic list / Dash macro.

> No! It's gone! :-(

It's there, the first one, before ABnnnPPP.

> Also, the Help window doesn't scroll with the scroll wheel. :-(

It does with my Microsoft thingie.

-- 
Urban

No one's tall anymore. They're "vertically enhanced."


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


Re: multi-language templates

2004-06-10 Thread Thomas Fernandez
Hello Urban,

On Wed, 9 Jun 2004 19:13:01 +0200 GMT (10/06/2004, 00:13 +0700 GMT),
Urban wrote:

>>  %TO="[EMAIL PROTECTED]"
>>  Hallo %TFName
>>  %Cursor
>>  %Quotes

>>  

U> Advocating top-posting now, are we? (tsk tsk)
U> SCNR

No, I'm not. But my cursor is indeed set before the quotes, and I
delete or not and write my replies while I go along.

U> 

:-Þ

>> Help / Index / Macros / Full alphabetic list / Dash macro.

>> No! It's gone! :-(

U> It's there, the first one, before ABnnnPPP.

Ah - yes. I was just struck with blindness yesterday.

>> Also, the Help window doesn't scroll with the scroll wheel. :-(

U> It does with my Microsoft thingie.

Not with my "Creative" (== noname) thingy, which works with everything
else.

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

Was ist ein Optimist ? - Jemand der das eine Fernsehprogramm
langweilig findet und auf das andere umschaltet!

Message reply created with The Bat! 2.11
under Chinese Windows 98 4.10 Build  A 
using a Pentium P4 1.7 GHz, 256MB RAM





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


Re: multi-language templates

2004-06-10 Thread Cyrille
Hello Robin,

Tuesday, June 8, 2004, 11:52:31 PM, you wrote:

>> There seems
>> to be a conflict between different QT or a bug with the %LANGUAGE
>> macro. I did not narrow down yet what might be the reason.
>> I think I will start a new thread with this question.

RA> Good idea!
RA> When I am trying to debug QTs, I find it useful to put temporary
RA> statements in that print out in the message to allow me to follow what is
RA> happening.

Another question about the SetLanguage QT: What exactly does the QT
when I reply to a sender which is *not* in my AB?

To put temporary statements does not work in this case, because TB
crashes before any output is generated.

--
Best regards,
Cyrille
mailto:[EMAIL PROTECTED]


[ TB! 2.10.01, Windows ME 4.90 Build 3000, Pentium 233Mhz with 95MB ]




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


%language macro crashes TB

2004-06-10 Thread Cyrille
Hello list,

  I have a strange problem with the %language macro in reply
  templates.

  I have a chain of QTs working which detect the language to use and
  choose according to that the templates in the right languages for
  new messages and replies. These QTs set also the charset and the
  %LANGUAGE for the spell checking.

  This is explained in details in the thread with the subject
  "multi-language templates", (if you read
  mid:[EMAIL PROTECTED] and
  mid:[EMAIL PROTECTED] you will get an overview).

  The funny thing is now that it works fine for new messages and for
  many replies. But when replying to certain messages, TB crashes.
  TB opens the editor window as if it were about to generate the text
  for my reply, but before the generated text shows up, TB gets frozen
  with a white, empty editor screen; and the only way out is to kill TB.

  It *seems* that this is the case whenever I try to reply to messages where
  the language of the reply should be a language for which I use CSAPI
  dictionaries.

  But it is not as simple as this. It is not simply a problem with
  my CSAPI dictionaries. When I select them manually in the menus the
  CSAPIs work fine. AND (now it becomes strange): if I create I simple account 
template for
  replies (instead of using my chain of QTs) where I set
  %language="CSAPI AM" (or any other CSAPI) it works *without*
  problems, too!!!

  This means that the problem must be somehow in the combination of
  CSAPIs and this particular chain of QTs (it can't be the QTs alone and
  it can't be the CSAPIs alone).

Who as some ideas?

--
Best regards,
Cyrille
mailto:[EMAIL PROTECTED]


[ TB! 2.10.01, Windows ME 4.90 Build 3000, Pentium 233Mhz with 95MB ]




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


Re: multi-language templates

2004-06-10 Thread Robin Anson
On Fri 11 June 2004, 7:46:27 +1000, Cyrille wrote:
> Another question about the SetLanguage QT: What exactly does the QT
> when I reply to a sender which is *not* in my AB?

I looked back through this thread, and I think the answer is that it uses
a default of setting the language to "AM". You could confirm this by
putting a statement
   Language=%_SetLang
at some appropriate point in your QTs


-- 
Robin Anson
Using The Bat! v2.11.02 on Windows XP 5.1 Build 2600 Service Pack 1







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


Re: multi-language templates

2004-06-10 Thread Urban
Thursday, June 10, 2004, Thomas Fernandez wrote:

U>> Advocating top-posting now, are we? (tsk tsk) SCNR

> No, I'm not. But my cursor is indeed set before the quotes, and I
> delete or not and write my replies while I go along.

Didn't think of that. But I can see the sense in it. Just move down
using the arrow keys and start typing where-ever you are. Nice!
I do that using the mouse-wheel, so I have to do a mousy-click first and
then move my hand to the keyboard.

-- 
Urban

During the Renaissance America began. Christopher Columbus was a great
navigator who discovered America while cursing about the Atlantic. His
ships were called the Nina, the Pinta, and the Santa Fe.


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


Re: multi-language templates

2004-06-11 Thread Thomas Fernandez
Hello Urban,

On Fri, 11 Jun 2004 03:09:53 +0200 GMT (11/06/2004, 08:09 +0700 GMT),
Urban wrote:

>> No, I'm not. But my cursor is indeed set before the quotes, and I
>> delete or not and write my replies while I go along.

U> Didn't think of that. But I can see the sense in it. Just move down
U> using the arrow keys and start typing where-ever you are. Nice!

More crtl-Y than arrow keys, in most cases. ;-)

U> I do that using the mouse-wheel, so I have to do a mousy-click
U> first and then move my hand to the keyboard.

So your %Cursor macro should still be above the %Quotes macro, or not?

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

Invent nonsense computer jargon in conversations, and see if people
play along to avoid looking ignorant.

Message reply created with The Bat! 2.11
under Chinese Windows 98 4.10 Build  A 
using a Pentium P4 1.7 GHz, 256MB RAM





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


Re: multi-language templates

2004-06-13 Thread Urban
Friday, June 11, 2004, Thomas Fernandez wrote:

U>> I do that using the mouse-wheel, so I have to do a mousy-click
U>> first and then move my hand to the keyboard.

> So your %Cursor macro should still be above the %Quotes macro, or not?

I prefer to have it under.
Saves me a little bit of work when I do a short reply like this.

-- 
Urban

Bach was the most famous composer in the world and so was Handel.


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


Still probelm with %language

2000-05-29 Thread Alberto Almagioni


  Usign TheBat! 1.44 I'm still having crash every time I use the marco
  %langugae from the contextual-menu in the "new message button"

 Ciao
 Al
 mailto:[EMAIL PROTECTED]
 http://i.am/atoms
 pgp public key: http://www.geocities.com/Paris/Louvre/8338/key.html 
 Fingerprint: 23A0 44F1 8D3B 5C78 0054  4E25 8D0A D73E 4664 8E0F
___
A bun is the lowest form of wheat.



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re[2]: Options\Language\...?

2000-06-06 Thread SyP

Hello The Bat! users,

Thomas Fernandez wrote on 6/6/2000, 5:55 PM

A>>  What is the format of thebat.lng?

TF> It's an ASCII file, you can open and manipulate it with any
TF> plain-text editor.

Sure it isn't. Last time I checked it looked like a Delphi form file
(.dfm)

-- 
Cheers, SyP

A friend is someone who sees through you and still enjoys the view.

(Wilma Askinas)

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re[2]: Options\Language\...?

2000-06-06 Thread nono

Ditulis 7-6-2000, 9:35 pake kalong > 7-6-2000 6:02 [EMAIL PROTECTED]

> Hallo Aku,
> 
> On Mon, 5 Jun 2000 20:15:48 +0700 GMT (05/06/2000, 21:15 +0800 GMT),
> Aku wrote:
> 
A>>  What is the format of thebat.lng?
> 
> It's an ASCII file, you can open and manipulate it with any plain-text
> editor.

No, how is the structure of the file?


> 
A>>  I dont want to download the international edition,
A>>  I just want to make my own language file.
> 
> Which language?

Indonesia

> Bahasa?

Bahasa Indonesia

> Your email address seems to suggest you are in Indonesia.
> 
> Why don't you contact Stan at Ritlabs? <[EMAIL PROTECTED]>.

OK. Thanks.

> He is in charge of this, I think.
> 
> Good luck.



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Re[2]: Options\Language\...?

2000-06-07 Thread SyP

Hello Thomas,

You wrote on 6/7/2000, 6:34 AM

S>> Sure it isn't. Last time I checked it looked like a Delphi form file
S>> (.dfm)

TF> Last time *I* checked (about half a minute ago), it still had the
TF> extension .lng and was a text file. ;-)

Mine isn't. I have the latest International Pack installed. If a plain
text version exists, I don't have that. Where do you got yours?
(I'm interested in translation, too.)

-- 
Cheers, SyP

Nobody can be exactly like me. Sometimes even I have trouble doing it.

(Tallulah Bankhead)

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re[2]: Options\Language\...?

2000-06-07 Thread Stanislav Polozov

Dear Thomas,

On Wednesday, June 07, 2000, you wrote:

TF> On Wed, 7 Jun 2000 09:56:13 +0200GMT (07/06/2000, 15:56 +0800GMT),
TF> SyP wrote:

TF>>> Last time *I* checked (about half a minute ago), it still had the
TF>>> extension .lng and was a text file. ;-)

S>> Mine isn't. I have the latest International Pack installed. If a plain
S>> text version exists, I don't have that. Where do you got yours?
S>> (I'm interested in translation, too.)

TF> I check again, and there is no *.dfm file on my whole computer.

TF> I downloaded the language file a long time ago, when I first satarted
TF> with TB, but in one of the upgrade versions (1.42 or 1.44) there may
TF> have been another one in the self-extracting exe file.

TF> I you are interested in translations, please do cotnact Stan Polozov.
TF> He is a Biz Development Manager at Ritlabs. His email is
TF> <[EMAIL PROTECTED]>. He gives you all assistance he can.

In the end of this month Max is going to release stand-alone LNG
compiler, so, everybody will be able to compile his language
himself, to see how it works and to debug it.

-- 
 Stan Polozov  mailto:[EMAIL PROTECTED]
 R&D manager   http://www.ritlabs.com

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Re[4]: Options\Language\...?

2000-06-07 Thread Stanislav Polozov

Dear Marek,

On Wednesday, June 07, 2000, you wrote:

>> In the end of this month Max is going to release stand-alone LNG
>> compiler, so, everybody will be able to compile his language
>> himself, to see how it works and to debug it.

MM> really?
Am I joking or what?
:)

-- 
Best regards,
 Stanislav   mailto:[EMAIL PROTECTED]



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Re[5]: Options\Language\...?

2000-06-07 Thread István Szendrő

>>> In the end of this month Max is going to release stand-alone LNG
>>> compiler, so, everybody will be able to compile his language
>>> himself, to see how it works and to debug it.

Great!

-- 
Best regards,
István



--
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Re[2]: Options\Language\...?

2000-06-07 Thread SyP

Hello The Bat! users,

Peter Steiner wrote on 6/7/2000, 7:05 PM

PS> What SyP meant is that the file *looks* like a Delphi Form file, but
PS> has been renamed to .lng.
Exactly.

PS> I don't know Delphi, but i guess this is indicated by the (magic?)
PS> starting sequence of FBPRPBP.
I haven't ever used Delphi 2 (the language TB written in), but my
Delphi 3 forms all start with "FF 0A" in hex.

I thought it's a Delphi form file 'cause it contains strings like
Label1..Label20, GroupBox etc. - the names of TB's visual components.

PS> Thomas, doesn't your .lng file start with FBPRPBP?
-- 
Cheers, SyP

Has it ever occurred to you that God might be a committee? (Jubal Harshaw)

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Re[3]: Options\Language\...?

2000-06-10 Thread mingli . wang

Hi Stanislav,

> In the end of this month Max is going to release stand-alone LNG
> compiler, so, everybody will be able to compile his language
> himself, to see how it works and to debug it.

Am I right that this LNG thing is only for the user interface, not
real multilingual support?  What I really want is for TB to handle
DBCS (double-byte character set, used for Chinese, Japanese,
Korean) correctly.

Yes, with a DBCS Windows, or Windows 2000 with the right default
language locale setup, TB does display Chinese and allow me to
write Chinese, mostly. But by DBCS support, I mean the following
things, in order of importance:

1. to wrap correctly. There is no space in regular writing for
these languages, and TB doesn't know how to wrap when it doesn't
see one.

2. to be able to read and write these languages in Windows 2000
without having to set one of them as the default locale, as long
as the support for these languages are installed.  For now, I have
to set Chinese as my default locale to read/write Chinese, but
then I can't read/write Japanese unless I change my default system
locale to Japanese.

3. to delete a DBCS character in one keystroke, not two.

My trial period is ending soon, so could you (or maybe Stefan)
please tell me whether DBCS support is in your plan in the near
future? Since I'm currently studying in the U.S., I don't have
much Chinese email to read/write, much less Japanese. So I can
live with it. But I'm going back to my home country (Taiwan) in a
year, top, and I'll need to do a lot of Chinese email.

If The Bat! has no plan to support DBCS in the near future, I'll
have to turn to Becky (or Outlook Express, which is the one I'm
ditching).  In fact, I've been testing out Becky extensively
recently, wishing vainly to convince myself that it's as good as
The Bat.  To be fair, Becky does have some features that TB lacks,
but as a whole, TB is a notch better.  However, this lack of DBCS
support is irritating, and will kill me after I return to Taiwan.

So, please, please make it your top priority (at least one of).
I'll be more than happy to pay my registration fee.  In fact, if
DBCS is fully supported, I'll be happy to introduce it to my
country fellows.

-- 
Best regards,
 Ming-Li



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Re: Language support/dictionary

2000-09-10 Thread Januk Aggarwal

Hello David,

On  Sunday, September 10, 2000  at  10:19:04 GMT +1000 (which was 5:19 PM
where I live) witnesses say David typed:


> Can anyone tell me how I can change my dictionary from US English to
> Australian English?

 Have you downloaded and installed the International Pack?  You can
 get it from <http://www.ritlabs.com/the_bat/download.html>.  You may
 need to install the British Dictionary.  I can't remember if there is
 an Australian dictionary.

 Once you've installed that with the appropriate options, open a
 message editor (reply to a message or create a new message), and
 select "Spell Checker -> Language"  You'll see a drop down list of all
 the dictionaries you have installed.  Select the one you want.  This
 setting should be remembered each time you open the message editor.
  

-- 
Thanks for writing,
 Januk Aggarwal
 See header for e-mail address

 Using The Bat! 1.46 Beta/5
 under Windows 98 4.10 Build   A 

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--

You are subscribed as : archive@jab.org





Re: Mod: Bad language

2004-10-13 Thread Marck D Pearlstone
Dear Wilwilwil,

@13-Oct-2004, 17:50 +0200 (13-Oct 16:50 UK time) WilWilWil [W] in
mid:[EMAIL PROTECTED] said to Marck:

... 

W> Don't be offend... I hope users of the list will survive.

W> I understand, and I'll never do it again.   

An eloquent and heartfelt public apology! Accepted in full :-).

(... and I quite understand the sentiment involved in your original
posting).

-- 
Cheers --  //.arck D Pearlstone -- List moderator and fellow end user
TB! v3.0.1.33 on Windows XP 5.1.2600 Service Pack 2
'

pgppTbEUC1X0L.pgp
Description: PGP signature

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

  1   2   3   4   >