Sun Java System Communications Express 6.3 管理指南

配置 uwcdomainconfig.properties 檔案中的語言

uwcdomainconfig.properties 檔案包含網域支援的語言清單。清單中的各種語言都用分號分隔。您可以定義 Communications Express 將為網域支援的語言清單。

例如,如果您計劃要在名為 siroe.com 的網域中支援 en (英文)、de (德語)、fr (法語) 和 ja (日文),則請將該網域 uwcdomainconfig.properties 檔案中的 supportedLanguages 設定為 supportedLanguages=en;fr;de;ja

siroe.com uwcdomainconfig.properties 檔案應位於:

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

同時您還必須在相應的 i18n.properties 檔案中定義可本土化的字串。例如,

siroe.comi18n.properties 檔案應位於:

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

如果使用者的 LDAP 項目中未指定 preferredLanguage 屬性,則網域的 preferredLanguage 屬性、瀏覽器提供的標頭值及是否存在 i18.properties 檔案將會決定使用者階段作業使用的語言。