Language-Independent Interfaces for Culturally-Sensitive Formatting Services
Original Publication Date: 1995-Feb-01
Included in the Prior Art Database: 2005-Mar-30
Rose, WD: AUTHOR [+4]
A method for accessing a common set of culturally-sensitive formatting services has been disclosed. The access methodology is independent of the programming language chosen (COBOL, FORTRAN, PL/I, RPG and C) and is provided as a set of language independent procedure calls.
Language-Independent Interfaces for Culturally-Sensitive
A method for
accessing a common set of culturally-sensitive
formatting services has been disclosed. The access methodology is
independent of the programming language chosen (COBOL, FORTRAN, PL/I,
RPG and C) and is provided as a set of language independent procedure
set of common culturally-sensitive formatting
services provides a consistent interface to the user without
requiring the programmer to code with a specific culture in mind, and
broadens the choices of operating systems and programming languages
for which and in which he may develop the product.
services are keyed off the user's local profile
information which identifies preferences for various presentation
formats of the culturally-sensitive information. The POSIX concept
of 'locale' has been adopted as the means of specifying the
installation's or user's preferences.
of this disclosure is the adaptation of a
programming language independent interface to these
formatting routines. This will enable the use of these routines from
wider range of programming languages consistently across a wider
of computing platforms.
The use of C
function prototypes allows the specification of
the argument list as well as the data type of each argument to be
done accurately and concisely in one place. It also clarifies
whether a parameter is passed by value or reference.
are described as standard procedures, rather than
as functions, because not all programming languages support the use
of procedures that return function results.
The main features of the functions, outlined below,
o the use of localized information in processing data to provide
culturally correct results
o the acceptance of a localization indicator, in the form of a
specific named resource, on each invocation
o the provision of error handling which gives specific information
such as the offset into the string where an error...