KCMS CMM Developer's Guide

Developer

As the CMM developer, you must do the following tasks to create a file of messages to translate into the local language:

  1. Use the -lintl linker option when building.

  2. Run xgettext on files using the dgettext() function.

  3. Edit the resulting .po file to translate the messages into the appropriate language.

  4. Run msgfmt on the .po file to create a .mo file.

  5. Move the .mo file to the appropriate directory, such as /usr/openwin/lib/locale/<language>/LC_MESSAGES.

The application should then pick up the translated messages.