When the server sends messages to users outside of the server’s administrative domain it does not know what their preferred language is unless it is responding to an incoming message with a preferred language specified in the incoming message’s header. The header fields (Accept-Language, Preferred-Language or X-Accept-Language) are set according to attributes specified in the user’s mail client.
If there are multiple settings for the preferred language—for example, if a user has a preferred language attribute stored in the Directory Server and also has a preferred language specified in their mail client—the server chooses the preferred language in the following order:
The Accept-Language header field of the original message.
The Preferred-Language header field of the original message.
The X-Accept-Language header field of the original message.
The preferred language attribute of the sender (if found in the LDAP directory).
A domain preferred language is a default language specified for a particular domain. For example, you may wish to specify Spanish for a domain called mexico.siroe.com. Administrators can set a domain preferred language by setting the attribute preferredLanguage in the domain’s LDAP entry.
You can specify a default site language for your server as follows. The site language will be used to send language-specific versions of messages if no user preferred language is set.
Command Line: Specify a site language as follows:
configutil -o gen.sitelanguage -v value
where value is one of the local supported languages. See Chapter 5 of Sun Java System Directory Server 5 2005Q1 Administration Guide for a list of supported locales and the language value tag.