Hashed msgid -> UTF-8 string table loaded from a single binary .lang blob (see loadLanguage()).
const char * getText(const char *msgid) const
Retrieves the translated UTF-8 string for a given ASCII message ID.
constexpr GuiTextTranslator()
constexpr on purpose: an instance defined at namespace scope is then constant-initialized (it is laid...
bool loadLanguage(const uint8_t *buffer, size_t size)
Loads and parses a translation file from a memory buffer.
void clear()
Clears the current translation dictionary and frees memory.