Languages
Julian Field
mailscanner at ecs.soton.ac.uk
Wed Jun 4 21:59:35 IST 2003
I've been trying to put off doing this (it's a bit of a pain to do), but
maybe the time has come. I'll try to find time to take a look at it this
weekend. The "%lang%" idea may help, thanks for that. It's still a
fair-sized extension to the config compiler...
At 21:40 04/06/2003, you wrote:
>Hi Julian,
>
>Would it be possible to make it easier to use the languages inside MS ?
>
>Example:
>
>If i now add a domain for a customer that needs for example greek language
>files i need to alter 15 rule files. Would be really handy if there was
>_1_ rule pointing to a domains language.
>
>Something like:
>
># Define the default language set used in the report files
># This can also be the filename of a ruleset.
>language default = en
>
>That way you could simply use them in all other ones also.
>And define a language per domain.
>
>This would mean also some changes to the other templates that use that
>setting but in general youy want to switch all anyway when doing this for
>a customer.
>
>Perhaps something like this:
>
># Set where to find the HTML and text versions that will be added to the
># end of all clean messages, if "Sign Clean Messages" is set.
># These can also be the filenames of rulesets.
>Inline HTML Signature = /etc/MailScanner/reports/en/inline.sig.html
>Inline Text Signature = /etc/MailScanner/reports/en/inline.sig.txt
>
>Could be:
>
># Set where to find the HTML and text versions that will be added to the
># end of all clean messages, if "Sign Clean Messages" is set.
># These can also be the filenames of rulesets.
>Inline HTML Signature = /etc/MailScanner/reports/%lang%/inline.sig.html
>Inline Text Signature = /etc/MailScanner/reports/%lang%/inline.sig.txt
>
>And allow both notations, either a hardcoded one, or one using a variable
>comming in from a rule file.
>
>Is this possible ? It would at least mean a lot of people only have to
>edit the new language default = en to switch all rules over to a new
>language for default or seperate domains.
>
>Bye,
>Raymond.
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
More information about the MailScanner
mailing list