Skip to content
SiteEmail

cohtml::ILocalizationManager::TranslationData

The struct should be used by the implementer to set the translated text. Use this struct only in the context of a ILocalizationManager::OnTranslate call.

#include <LocalizationManager.h>

Name
virtual voidSet(const char * text, unsigned lengthBytes) =0
The implementer must set here the translated text.
virtual~TranslationData()
virtual void Set(
const char * text,
unsigned lengthBytes
) =0

The implementer must set here the translated text.

Parameters:

  • text the translated text encoded in UTF-8
  • lengthBytes the length in bytes of the UTF-8 encoded text
inline virtual ~TranslationData()