Nana C++ Library. Reference for users.
What we need to use nana
|
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 |
|
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 | ) |
|
inline |
void nana::internationalization::set | ( | std::string | msgid_utf8, |
::std::string | msgstr | ||
) |
|
static |
Sets a handler to handle a msgid which hasn't been translated.
|
friend |