Plasma Engine  2.0
Loading...
Searching...
No Matches
plTranslationLookup Class Reference

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.
 

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: