Languages

Raymond Dijkxhoorn raymond at PROLOCATION.NET
Wed Jun 4 21:40:41 IST 2003


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.



More information about the MailScanner mailing list