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>
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| virtual void | Set(const char * text, unsigned lengthBytes) =0 The implementer must set here the translated text. |
| virtual | ~TranslationData() |
Public Functions Documentation
Section titled “Public Functions Documentation”function Set
Section titled “function Set”virtual void Set( const char * text, unsigned lengthBytes) =0The 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
function ~TranslationData
Section titled “function ~TranslationData”inline virtual ~TranslationData()© 2026 Coherent Labs. All rights reserved.