Browse Prior Art Database

Language Independent Interface For Retrieving Language And Culture Information Elements, Including Calendar And Weekday Settings, From A Locale

IP.com Disclosure Number: IPCOM000014981D
Original Publication Date: 2001-Jun-17
Included in the Prior Art Database: 2003-Jun-20

Publishing Venue

IBM

Abstract

Disclosed is a program language independent service which obviates the problem related to missing localization information for weekend, work day and calendar layout specification. The service has been defined to retrieve the additional localization information from the locale. The following localization information can now be retrieved through the service: first day of the weekend, second day of the weekend, first day of the weekend is half day, monthly calendar layout, placement of the weekday title text in calendar layout, first day of week in abbreviated form for calendar layout, and alternative currency symbol and its position (leading or trailing). The service relies on a locale to provide localization at run time to cater to local preferences. The service is designed as a procedure call to allow use by a wide number of programming languages on a variety of processing platforms. The ACEENLIF service returns a pointer to a string containing information relevant to the particular language or cultural as defined in the program’s locale corresponding to the Item parameter. The syntax of ACEENLIF is: void ACEENLIF [Locale_Handle], Item, String_out, Result, [fc] CEE_HANDLE *Locale_Handle;