Language Channel Option

From MsgServerDocWiki

Jump to: navigation, search


Default language taq (language)

Certain MTA operations, especitally those involing selection of textual content to send to users, may need to take language into account. For example, nondelivery notification text may be available in multiple languages and the NOTIFICATION_LANGUAGE mapping can be used to select the appropriate language to use.

It is axiomatic that in order to make decisions based on language langage tagging information must be available. Normally this information is derived from the message being processed, e.g., from an Accept-language: header field, from a Preferred-language: header field, or even from the country code found in the From: address. However, not all messages contain such information.

The language channel option can be used to associaed a default language with a particular source channel. A single string argument is required specifying a language tag. Messages originating from this channel which aren't tagged in any other way will be effectively tagged with this value. The default is not to assume any language tag on a per-channel basis.

Personal tools