Run TeamForge in a local language

You can configure TeamForge to send user notifications in English, Chinese, Japanese, or Korean.

TeamForge has two mechanisms for delivering localized content:

Users can override the default site locale for their own notifications by setting a preference on their user profile page.

  1. Stop CollabNet TeamForge .
    • /etc/init.d/httpd stop
    • /etc/init.d/collabnet stop
    • /etc/init.d/postgresql stop
  2. 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
  3. Set the default language. For example, to set up a Japanese site:
    • DEFAULT_LOCALE=ja
  4. 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
  5. 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
  6. Rebuild the runtime environment.
    • ./install.sh -V -r -d <SITE_DIR>
  7. 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.

  8. Restart CollabNet TeamForge.
    • /etc/init.d/httpd start
    • /etc/init.d/postgresql start
    • /etc/init.d/collabnet start