#include <map>
#include <vector>
#include <set>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | TinyGetText |
Classes | |
struct | TinyGetText::LanguageDef |
class | TinyGetText::Dictionary |
A simple dictionary class that mimics gettext() behaviour. More... | |
class | TinyGetText::DictionaryManager |
Manager class for dictionaries, you give it a bunch of directories with .po files and it will then automatically load the right file on demand depending on which language was set. More... | |
Typedefs | |
typedef int(*) | TinyGetText::PluralFunc (int n) |
Functions | |
void | TinyGetText::read_po_file (Dictionary &dict, std::istream &in) |
Read the content of the .po file given as in into the dictionary given as dict. | |
LanguageDef & | TinyGetText::get_language_def (const std::string &name) |