Allegro CL 6.1: Localization/Collation

Allegro CL 6.1 introduces new localization features which allow developers to create Common Lisp applications that are automatically tailored to cultures all over the globe. In addition to using different written languages, cultures around the world have different written forms for dates, time, monetary information, as well as numeric information.

  • Use new Allegro CL functions to generate appropriate text for culturally specific aspects. These new functions use the current binding of the lisp global *locale* to determine their actions. As this Lisp variable can be dynamically rebound, it is trivial to switch locales at runtime.

    Furthermore, a multi-threaded application can be using several different locales simultaneously (e.g., a network server simultaneously interacting with users all over the world).

  • 140 pre-defined locales introduced. Users can modify existing Allegro CL locale definitions as well as add new ones.
  • New international character string sorting support with its new string-sort-key Lisp function. This function is used to generate a string key that can be used with Common Lisp string comparison operators to sort characters based on their appropriate ordering, and not just based on their unicode encoding value. The string-sort-key function uses a table which provides information on relative character ordering. Users can define new tables, using Unicode's Collation Element Table format.

Browse the localization documentation here.

Copyright © 2023 Franz Inc., All Rights Reserved | Privacy Statement Twitter