Sun Java System Communications Express 6.3 Administration Guide

Configuring Languages in uwcdomainconfig.properties File

The uwcdomainconfig.properties files contains the list of supported languages for a domain. Each language in the list is separated by a semi colon. You can define the list of languages Communications Express will support for a domain.

For example, if you are planning to support en (English), de (German), fr (French), and ja (Japanese) languages in a domain called siroe.com, then set supportedLanguages in uwcdomainconfig.properties file for that domain to supportedLanguages=en;fr;de;ja.

The uwcdomainconfig.properties file siroe.com should be located at:

WEB-INF/domain/siroe.com/uwcdomainconfig.properties

You will also have to define the localizable strings in the corresponding i18n.properties files. For example,

The i18n.properties file for siroe.com will be located at:

WEB-INF/domain/siroe.com/locale/ i18n.properties

In the absence of a preferredLanguage attribute in the User’s LDAP entry, the domain preferredLanguage attribute, the browser provided header values and the availability of i18.properties file determines the language used in the users session.