14 #ifndef LANGUAGE_HPP_INCLUDED
15 #define LANGUAGE_HPP_INCLUDED
void init_textdomains(const config &cfg)
Initializes the list of textdomains from a configuration object.
const t_string & operator[](const std::string &key) const
bool operator<(const language_def &a) const
std::vector< language_def > get_languages()
bool operator==(const language_def &) const
bool init_strings(const config &cfg)
Initializes certain English strings.
GLboolean GLboolean GLboolean GLboolean a
language_def(const std::string &name, const t_string &lang, const std::string &dir, const std::string &salternates="", const std::string &sort_name="")
bool load_language_list()
std::vector< language_def > language_list
void set_language(const language_def &locale)
const language_def & get_language()
GLuint const GLchar * name
symbol_table string_table
const language_def & get_locale()
std::vector< std::string > split(std::string const &val, const char c, const int flags)
Splits a (comma-)separated string into a vector of pieces.
A config object defines a single node in a WML file, with access to child nodes.
bool current_language_rtl()
GLsizei const GLcharARB ** string
bool & time_locale_correct()
std::vector< std::string > alternates