Message Formatting (translation)


Classes

struct  boost::locale::message
 This class represents a message that can be converted to specific locale message. More...

Functions

template<typename CharType>
std::basic_ostream< CharType > & boost::locale::operator<< (std::basic_ostream< CharType > &out, message const &msg)
message boost::locale::translate (char const *msg)
message boost::locale::translate (char const *single, char const *plural, int n)
message boost::locale::translate (std::string const &msg)
message boost::locale::translate (std::string const &single, std::string const &plural, int n)

Detailed Description

This module provides message translation functionality, i.e. allow your application to speak native language

Function Documentation

template<typename CharType>
std::basic_ostream<CharType>& boost::locale::operator<< ( std::basic_ostream< CharType > &  out,
message const &  msg 
) [inline]

Translate message msg and write it to stream

message boost::locale::translate ( std::string const &  single,
std::string const &  plural,
int  n 
) [inline]

Translate a plural message from, single and plural are copied

message boost::locale::translate ( std::string const &  msg  )  [inline]

Translate a message, msg is copied

message boost::locale::translate ( char const *  single,
char const *  plural,
int  n 
) [inline]

Translate a plural message from, single and plural are not copied

message boost::locale::translate ( char const *  msg  )  [inline]

Translate a message, msg is not copied


Generated on Thu Mar 18 23:02:03 2010 for Boost.Locale by doxygen 1.5.6