![]() |
Plasma Engine
2.0
|
Handles looking up translations for strings. More...
#include <TranslationLookup.h>
Static Public Member Functions | |
static void | AddTranslator (plUniquePtr< plTranslator > pTranslator) |
Translators will be queried in the reverse order that they were added. | |
static plStringView | Translate (plStringView sString, plUInt64 uiStringHash, plTranslationUsage usage) |
Prefer to use the plTranslate macro instead of calling this function directly. Will query all translators for a translation, until one is found. | |
static void | Clear () |
Deletes all translators. | |
Handles looking up translations for strings.
Multiple translators can be registered to get translations from different sources.