Angelika Langer - Training & Consulting
HOME | COURSES | TALKS | ARTICLES | GENERICS | LAMBDAS | IOSTREAMS | ABOUT | CONTACT | Twitter | Lanyrd | Linkedin
HOME 


  UPCOMING
  PREVIOUS
  MATERIALS
 
GENERICS 
LAMBDAS 
IOSTREAMS 
ABOUT 
CONTACT 
Standard C++ Locales

Standard C++ Locales  
ABSTRACT
 
The Standard C++ Library includes a framework for internationalisation of C++ programs in form of locales and facets. The locale framework is used by the standard stream I/O classes for internationalised I/O, but is designed to be of more general use. The standard facets provide support for culture dependent formats of date and time, monetary amounts, language-dependent sorting of strings, and other culture-dependencies. In addition to the standard facilities, the locale framework is extensible and can serve as a vehicle for special-purpose culture-dependencies such as address formats, shoe sizes, or temperature-, measure-, or currency conversions.

In this tutorial we will explore the standard facets and will learn how to add user-defined internationalisation services to the standard locale framework.

 
PREREQUISITES

 
Level: intermediate
Duration: 90 minutes
Prerequisites: at least 1 year of working knowledge of C++,  knowledge of internationalization services in C will help, but are not required
Presented at: ACCU Conference 2001 , Oxford, UK, March 2001

 

If you are interested to hear more about this and related topics you might want to check out the following seminar or skim through some further reading:
 
Seminars
 
Standard C++ IOStreams and Locales 
5 day seminar (open enrollment and on-site)
 
Papers
 
Internationalization Using Standard C++
article in C/C++ Users Journal , September 1997
The Locale Framework
article in C++ Report, September 1997
Standard Facets
article in C++ Report, November/December 1997
User-Defined Facets
article in C++ Report, February 1998
Character Types and Character Traits
article in C++ Report, April 1998
Slides
 
ACCU Conference 2001 , Oxford, UK, March 2001

 


 
  © Copyright 1995-2005 by Angelika Langer.  All Rights Reserved.    URL: < http://www.AngelikaLanger.com/Conferences/Abstracts/Locales.htm  last update: 7 Nov 2005