XII Release 0.1.0
Loading...
Searching...
No Matches
xiiTranslationLookup Class Reference

Handles looking up translations for strings. More...

#include <TranslationLookup.h>

Static Public Member Functions

static void AddTranslator (xiiUniquePtr< xiiTranslator > pTranslator)
 Translators will be queried in the reverse order that they were added.
 
static xiiStringView Translate (xiiStringView sString, xiiUInt64 uiStringHash, xiiTranslationUsage usage)
 Prefer to use the xiiTranslate macro instead of calling this function directly. Will query all translators for a translation, until one is found.
 
static void Clear ()
 Deletes all translators.
 

Detailed Description

Handles looking up translations for strings.

Multiple translators can be registered to get translations from different sources.


The documentation for this class was generated from the following files: