[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

System Management Guide: Operating System and Devices

National Language Support Commands and Files

National Language Support (NLS) provides several commands and files for system internationalization.

Converter Command

NLS provides a base for internationalization in which data can be changed from one code set to another. The following command can be used for this conversion:

iconv Converts the encoding of characters from one code set encoding scheme to another.

For more information about the conversion process, see Converters Overview for System Management.

Input Method Command

An Input Method is a set of subroutines that translate key strokes into character strings in the code set specified by a locale. Input Method subroutines include logic for locale-specific input processing and keyboard controls (Ctrl, Alt, Shift, Lock, Alt Graphic). The following command allows for the customizing of input method mapping for the use of input method subroutines:

keycomp Compiles a keyboard mapping file into an input method keymap file.

For more information about these methods, see the Input Method Overview in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.

Locale Commands and Files

NLS provides a database containing locale-specific rules for formatting data and an interface to obtain these rules.

Locale Commands

The following commands are provided for the creation and display of locale information:

locale Writes information about the current locale or all public locales
localedef Converts locale definition source files and character set description (charmap) source files to produce a locale database

Locale Source Files

The following files are provided for the specification of rules for formatting locale-specific data:

For more information about localization, see Locale Overview for System Management.

Message Facility Commands

The Message Facility consists of standard defined (X/Open) subroutines, commands, and value-added extensions to support externalized message catalogs. These catalogs are used by an application to retrieve and display messages, as needed. The following Message Facility commands create message catalogs and display their contents:

dspcat Displays all or part of a message catalog
dspmsg Displays a selected message from a message catalog
gencat Creates and modifies a message catalog
mkcatdefs Preprocesses a message source file for input to the gencat command
runcat Pipes output from the mkcatdefs command to the gencat command

For more information about the Message Facility, see Using the Message Facility.

For specific information about locale categories and their keywords, see the LC_COLLATE category, LC_CTYPE category, LC_MESSAGES category, LC_MONETARY category, LC_NUMERIC category, and LC_TIME category for the locale definition source file format in AIX 5L Version 5.1 Files Reference.

For information about programming in an international environment, see National Language Support Overview for Programming in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.

For more information about code sets, see Code Set Overview in AIX 5L Version 5.1 Kernel Extensions and Device Support Programming Concepts.

[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]