libqi-api  2.8.7.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
translator.hpp File Reference
#include <boost/noncopyable.hpp>
#include <string>
#include <qi/api.hpp>

Go to the source code of this file.

Classes

class  qi::Translator
 Localization of your source code. More...
 

Namespaces

 qi
 Deprecated in 2.5. Use int8_t from <cstdint>.
 
 qi::detail
 

Functions

qi::Translatorqi::defaultTranslator (const std::string &name)
 Get a reference on the default Translator. More...
 
std::string qi::tr (const std::string &msg, const std::string &domain="", const std::string &locale="", const std::string &context="")
 Translate a message. More...
 
std::string qi::trContext (const std::string &msg, const std::string &context)
 Translate a message with a specific context. More...
 
void qi::detail::addDomainPath (const std::string &path)
 
void qi::detail::removeDomainPath (const std::string &path)