Public Member Functions | |
| void | set_mapping (const std::string &lang, const std::string &locale_name) |
| std::string | get (const std::string &lang, const char *message) |
Static Public Attributes | |
| static messages | static_messages |
| void messages::set_mapping | ( | const std::string & | lang, | |
| const std::string & | locale_name | |||
| ) |
define a mapping from a language token in XML to a system locale
| lang | the XML language token | |
| locale_name | the system locale name |
| std::string messages::get | ( | const std::string & | lang, | |
| const char * | message | |||
| ) |
get a translated message
| lang | the language (XML language token) to get the message for | |
| message | the message to get a translation for |
messages messages::static_messages [static] |
globally available instance of messages
1.5.3