1.除多余语言
默认lifray支持一下语言:
在portal/portal-impl/classes/portal.properties中
locales=ar_SA,ca_AD,ca_ES,zh_CN,zh_TW,cs_CZ,nl_NL,en_US,fi_FI,fr_FR,de_DE,el_GR,hu_HU,it_IT,ja_JP,ko_KR,fa_IR,pt_BR,ru_RU,es_ES,sv_SE,tr_TR,vi_VN
如果我们只想要中文、繁体中文、英文
/ext/ext-impl/classes/portal-ext.properties加上一句:
locales=zh_CN,zh_TW,en_US,
2.设置默认语言
/ext/ext-impl/classes/system-ext.properties file下:
#
# Set the default language.
#
user.country=ZH
user.language=zh_CN
默认lifray支持一下语言:
在portal/portal-impl/classes/portal.properties中
locales=ar_SA,ca_AD,ca_ES,zh_CN,zh_TW,cs_CZ,nl_NL,en_US,fi_FI,fr_FR,de_DE,el_GR,hu_HU,it_IT,ja_JP,ko_KR,fa_IR,pt_BR,ru_RU,es_ES,sv_SE,tr_TR,vi_VN
如果我们只想要中文、繁体中文、英文
/ext/ext-impl/classes/portal-ext.properties加上一句:
locales=zh_CN,zh_TW,en_US,
2.设置默认语言
/ext/ext-impl/classes/system-ext.properties file下:
#
# Set the default language.
#
user.country=ZH
user.language=zh_CN