Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::internationalization Class Reference

Public Member Functions

void load (const std::string &file)
 
void load_utf8 (const std::string &file)
 
template<typename... Args>
::std::string get (std::string msgid_utf8, Args &&...args) const
 
::std::string get (std::string msgid_utf8) const
 
void set (std::string msgid_utf8,::std::string msgstr)
 
template<typename... Args>
::std::string operator() (std::string msgid_utf8, Args &&...args) const
 

Static Public Member Functions

static void set_missing (std::function< void(const std::string &msgid_utf8)> handler)
 Sets a handler to handle a msgid which hasn't been translated. More...
 

Friends

class i18n_eval
 

Detailed Description

Examples:
inputbox.cpp.

Member Function Documentation

template<typename... Args>
::std::string nana::internationalization::get ( std::string  msgid_utf8,
Args &&...  args 
) const
inline
std::string nana::internationalization::get ( std::string  msgid_utf8) const
void nana::internationalization::load ( const std::string file)
void nana::internationalization::load_utf8 ( const std::string file)
template<typename... Args>
::std::string nana::internationalization::operator() ( std::string  msgid_utf8,
Args &&...  args 
) const
inline
void nana::internationalization::set ( std::string  msgid_utf8,
::std::string  msgstr 
)
Examples:
inputbox.cpp.
void nana::internationalization::set_missing ( std::function< void(const std::string &msgid_utf8)>  handler)
static

Sets a handler to handle a msgid which hasn't been translated.

Friends And Related Function Documentation

friend class i18n_eval
friend