Hi all,

Trying to tweak TMDA to my wishes, I'm looking into a way to have more than one language in the templates, since most of the people that email me are either capable of speaking english, or dutch.

While trying to compose a template to fit that need, I ran across the fact that the various text fields in the templates such as CONFIRM_ACCEPT_TEXT_INITIAL or BOUNCE_TEXT_FAIL_SENDER can be set only once in the config file.

What I'm trying to achieve is to have a template like this (somewhat simplified):

<template begin>
From: <me>
Subject: Bounced message

[This message is multilingual, for the Dutch version, please scroll down]

Your email to me was bounced because of:
%(bounce_text)s

[Dutch version follows]

Uw email aan mij kon niet worden afgeleverd vanwege:
%(bounce_text)s




This message was generated by TMDA, a multifunctional Message Delivery Agent, http://tmda.net
</template>


Since bounce_text is the same in both parts of the template, this currently cannot be done easily.

Would it be possible to have variables such as %(bounce_text_nl)s which can be set individually ?

Gr,

Nils.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to