Hi Alexander, just now (on 10/18/2004 at 14:38) you chipped in:
KA>> Is it possible to have The Bat! make the different greetings depending on KA>> .dk or .everythingelse > Yes, and you have at least two choices And both are not very usable. > 1. Old, used by me (was written long time ago by Marck) > %SETPATTREGEXP="[EMAIL PROTECTED](\w*)>?$"%REGEXPMATCH="%TOADDR" - extract TLD > from recipient's address, which you can handle as you want And what is about domains like gmx.com, aol.com etc? The TLD isn't usable for a definition of the language. > 2. New style (untested by me yet) - using plugin Langselector, which > defines two new macros Also not usable, you said it already. I have made different template- and cookie-files which can be selected with an x-Header "X-Language" (see my header) which will also be used to set the spell checker and use different templates with variables. The selection of the language works on different ways: 1. The template looks for a X-Language-Header in the original mail and set the new X-Language-Header to the same. 2. The template looks for different words, which only are used in ONE language (i only speak german and english). If one of the words is found in the original mail (when i reply to a mail) the header will be set to the Language-Code. 3. If no words are found (also when i write a new mail) the template looks if the recipient has a country-entry in the adressbook and select with this entry, which language will be used. 4. If auto-selection fail, a standard-language will be used. 5. You can set the X-Language-Header manually in the editor. The complete package currently is only availabe in german and englisch (german installation description only at the moment), but if someone is interested i could make an english version and release it in this list. The package can easly extended with new languages like danish or swedish if wanted (and someone would make the translations ;) ) -- Adios, Bernd (http://www.bd-programs.de - ICQ 12962268) ________________________________________________________ Current beta is 3.0.2.1 Beta/1 | 'Using TBBETA' information: http://www.silverstones.com/thebat/TBUDLInfo.html IMPORTANT: To register as a Beta tester, use this link first - http://www.ritlabs.com/en/partners/testers/

