18.2 Adding a New Language

18.2.1 Current Language Availability

Novell Vibe is currently translated into 15 languages. Each language is identified by a language code in the Vibe software. Directory names and filenames include the language codes to identify the languages of directories and files.

  • Chinese-Simplified (zh_TW)

  • Chinese Traditional (zh_CN)

  • Danish (da)

  • Dutch (nl)

  • English (en)

  • French (fr)

  • German (de)

  • Hungarian (hu_HU)

  • Italian (it)

  • Japanese (ja)

  • Polish (pl)

  • Portuguese (pt_BR)

  • Russian (ru_RU)

  • Spanish (es)

  • Swedish (sv)

Kablink Vibe is an open source project where additional languages can be contributed by interested members of the open source community.

18.2.2 Text to Translate

You can translate the software interface text and pop-up text.

The files that contain the text strings in the Vibe interface (messages_language_code.properties) and in mouse-over pop-ups (help-messages_language_code.properties) are located in the following directory:

Linux:

/opt/novell/teaming/apache-tomcat/
                                webapps/ssf/WEB-INF/messages

Windows:

c:\Program Files\Novell\Teaming\apache-tomcat\
                                webapps\ssf\WEB-INF\messages
  1. Identify the file in the language that you want to translate from.

  2. Identify the language code for the language that you want to translate into.

    Lists of standard language codes are available on the Internet.

  3. Create a copy of the file that you want to translate, and name it with the appropriate language code.

  4. Edit the file to translate in a text editor.

    Useful information for translators is provided at the top of each file (in English).

  5. Locate the following line:

    Teaming.Lang=
    
  6. Replace the existing language code with the language code for the language that you want to translate into.

    The lines in the file have the following format:

    tag=string
    
  7. In each line, replace the text after the equal sign (=) with your translation for the string.

  8. Save your translated file along with the other translated files.

  9. Configure Vibe to recognize the new language, as described in Section 18.2.3, New Language Implementation.

18.2.3 New Language Implementation

  1. Change to the following directory:

    Linux:

    /opt/novell/teaming/apache-tomcat/
                               webapps/ssf/WEB-INF/classes/config
    

    Windows:

    c:\Program Files\Novell\Teaming\apache-tomcat\
                               webapps\ssf\WEB-INF\classes/config
    
  2. Make a backup copy of the ssf-ext.properties file, located in the same directory with the ssf.properties file.

  3. Open the ssf.properties file in a text editor.

  4. Locate the following line:

    i18n.locale.support=en,da,de,es,fr,hu_HU,it,ja,nl,pl,pt_BR,ru_RU,sv,
                                                                  zh_CN,zh_TW
    
  5. Copy that line to the clipboard of your text editor.

  6. Open the ssf-ext.properties file.

  7. Scroll to the end of the ssf-ext.properties file, then paste the line you copied.

  8. Type a comma (,) at the end of the line, followed by your language code.

  9. Save and close the ssf-ext.properties file.

  10. Close the ssf.properties file without saving it.

  11. Stop and restart Vibe.