2.1.3.2.16 Language Properties

To generate an Accept-Language header, as specified in [RFC3282], clients set the value of the PidNameAcceptLanguage property ([MS-OXCMSG] section 2.2.1.42).

MIME writers SHOULD<40> copy the value of the PidNameAcceptLanguage property to the Accept-Language header. If the PidNameAcceptLanguage property is missing, MIME writers should check the value of the PidTagMessageFlags property ([MS-OXCMSG] section 2.2.1.6). If the mfSubmitted flag is set, MIME writers SHOULD generate a value for the Accept-Language header by identifying the acceptable locales of the sender's mailbox and determining the corresponding language tag, as specified by [RFC4646]. If the mfSubmitted flag is not set, MIME writers MAY<41> generate a value for the Accept-Language header.

To generate a Content-Language header, as specified in [RFC3282], clients SHOULD<42> set the value of the PidTagMessageLocaleId property ([MS-OXCMSG] section 2.2.1.5) to a locale ID.

MIME writers use the value of the PidTagMessageLocaleId property to write the Content-Language header. The value of PidTagMessageLocaleId is a language code identifier (LCID), but the header value is a language tag, as specified by [RFC4646]. The mapping between the LCID value and the language tag is specified in [MS-LCID].