You can configure TeamForge to send
user notifications in English, Chinese, Japanese, or Korean.
TeamForge has two mechanisms for delivering
localized content:
- For users viewing pages in a browser, the content is automatically
served in the language specified by the browser.
- For notifications that the site automatically sends to users, such as monitoring emails,
content is generated in the language specified by the DEFAULT_LOCALE
variable.
Users can override the default site locale for their own notifications by setting a preference
on their user profile page.
-
Stop CollabNet
TeamForge .
-
/etc/init.d/httpd stop
-
/etc/init.d/collabnet stop
-
/etc/init.d/postgresql stop
-
Open the master site configuration file in a text editor.
For example:
-
vi /opt/collabnet/teamforge-installer/5.4.0.0/conf/site-options.conf
-
Set the default language.
For example, to set up a Japanese site:
-
Specify the languages users can choose if they don't want the default language.
This setting determines what users see in the dropdown list when they select a language.
By default, all the supported languages are available.
-
SUPPORTED_LOCALES=en,en_GB,ja,zh_CN,ko
-
If you are supporting Japanese, Chinese or Korean, specify Asian-language site search by
uncommenting the appropriate search analyzer.
-
SEARCH_ANALYZER=org.apache.lucene.analysis.cjk.CJKAnalyzer
-
Rebuild the runtime environment.
-
./install.sh -V -r -d
<SITE_DIR>
-
If this site will have Korean-language users, symlink the fonts/korean
directory to the fonts/ko directory.
-
ln -s /usr/share/fonts/korean /usr/share/fonts/ko
This bypasses a Java bug that can make Korean characters appear incorrectly.
-
Restart CollabNet
TeamForge.
-
/etc/init.d/httpd start
-
/etc/init.d/postgresql start
-
/etc/init.d/collabnet start