Browse Prior Art Database

International Message Support for Aix Nroff/ Troff Macro Packages

IP.com Disclosure Number: IPCOM000106933D
Original Publication Date: 1992-Jan-01
Included in the Prior Art Database: 2005-Mar-21
Document File: 2 page(s) / 78K

Publishing Venue

IBM

Related People

Chan, T: AUTHOR [+2]

Abstract

Disclosed is a software solution for integrating the nroff/troff macro packages with the AIX* International Message Facility.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

International Message Support for Aix Nroff/ Troff Macro Packages

       Disclosed is a software solution for integrating the
nroff/troff macro packages with the AIX* International Message
Facility.

      Traditionally, the nroff/troff macro packages use static
English text messages for such things as page headers, day and month
names, etc. A requirement for the internationalization of programs is
that text displayed on the output devices be in the language of the
user.  Using the traditional method requires each macro package to be
translated in its entirety and shipped as a locale-specific package.
Furthermore, it requires the maintenance of multiple, almost
identical macro package source files.

      Described is a solution for internationalization of the macro
packages that saves resources.  First, all static text messages are
externalized into message catalogs.  Secondly, code changes to the
nroff and troff commands allow the string manipulating directives to
access the message catalogs to retrieve the translated text.  The
macro packages are maintained separate from the translated text
messages, thereby requiring only one set of macro packages to be
maintained and shipped worldwide.  The translated text messages are
packaged as part of the base system messages for each specific
locale.

      The nroff and troff commands have three directives which
directly manipulate text or write text to the output devices.

                            (Image Omitted)

      To interface with the message catalogs requires the use of a
second syntax for each directive.  The second syntax has a minimum...