Sun Java System Messaging Server 6 2005Q4 Administration Guide

To Set a User-Preferred Language

Administrators can set a preferred language for the GUI and server-generated messages by setting the attribute preferredLanguage in the user’s LDAP entry.

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:

  1. The accept-language header field of the original message.

  2. The Preferred-Language header field of the original message.

  3. The X-Accept-Language header field of the original message.

  4. The preferred language attribute of the sender (if found in the LDAP directory).

To Set a Domain Preferred Language

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.

ProcedureTo Specify a Site Language from Console

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.

Steps
  1. Open the Messaging Server you want to configure.

  2. Click the Configuration tab.

  3. In the right pane, click the Miscellaneous tab.

  4. From the site language drop-down list, choose the language you wish to use.

  5. Click Save.

    Command Line: you can also specify a site language at the command line as follows:

    configutil -o gen.sitelanguage -v value

    where value is one of the local supported languages. See Chapter 5 ofSun Java System Directory Server 5 2005Q1 Administration Guide for a list of supported locales and the language value tag.