Browse Prior Art Database

Language Independent Interfaces for Locale Management Services

IP.com Disclosure Number: IPCOM000116922D
Original Publication Date: 1995-Nov-01
Included in the Prior Art Database: 2005-Mar-31
Document File: 2 page(s) / 79K

Publishing Venue

IBM

Related People

Rose, WD: AUTHOR [+5]

Abstract

A programming language independent mechanism for locale management services is disclosed. This mechanism has been defined for managing the culturally dependent information portion of the process environment. Previously, a set of National Language functions existed for the C language on the AIX* platform, but such functions were not commonly available across languages and across operating systems.

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

Language Independent Interfaces for Locale Management Services

      A programming language independent mechanism for locale
management services is disclosed.  This mechanism has been defined
for managing the culturally dependent information portion of the
process environment.  Previously, a set of National Language
functions existed for the C language on the AIX* platform, but such
functions were not commonly available across languages and across
operating systems.

      A set of programming language independent locale management
services has been defined for managing the culturally dependent
information of a national language dependent process.  These services
have been defined as programming language independent procedure
calls.  Each of the callable services relies on localization
information available to them at runtime, to alter their results in
accordance with the local preferences of the caller.

      These services use the data in a user's local profile
information which identifies preferences for various presentation
formats of the culturally sensitive information.  The POSIX 'locale'
concept has been adopted as the means of specifying the user's
preferences.

      The language independent interface specifications allow for a
wide number of programming languages to be used on a variety of
processing platforms.

      C language function prototypes were used in the specification
of the functions to accurately describe the argument list and the
data types required.

      Procedure calls were used rather than function calls because
not all programming languages support the use of processes which
return function results.

The main features of the procedure calls are:
  o  localization information to provide culturally correct results
  o  localization information object name can be included in the call
  o  error handling provides detailed information on type and
location
      of error
  o  condition handling facility to provide programmed response to
      errors

The following locale management services are disclosed:
  o  CSFSETL: Sets or establishes the global national language
      characteristics of the processing environment.  A process
      nationa...