[EMAIL PROTECTED] writes:

>> One could tmda have look at the senders domain ending and then look
>> for a fitting template - if none is found the english ones are
>> used.
>> 
>> like : an new contact [EMAIL PROTECTED] would get the template
>> de.confirm_request.txt if it exists, else confirm_request.txt
>
> How about the idea of looking at the charset of the mime content
> message header first, and if there is nothing to be found, then
> checking the domain?

I like this idea in theory, but how does the charset of the
Content-Type header reveal which language should be used?  In some
cases such as ISO-2022-JP this will work, but for most it will not.

e.g, both Swedish and French messages will contain:
 
  Content-Type: text/plain; charset=ISO-8859-1

ISO-8859-1 doesn't get us far enough.
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to