Takes care of translating text between different locales. More...
#include <Coherent/Coherent/UIGT/UISystem.h>
Public Member Functions | |
virtual const char * | Translate (const char *text)=0 |
Translates the given text. The returned value must be UTF-8 encoded and outlive the method - it's safe to delete the string on the next call to this method or after the system has been uninitialized. Return nullptr if there's no translation for the text. Your application must take care of tracking the current locale and translating the text according to it. More... | |
Takes care of translating text between different locales.
|
pure virtual |
Translates the given text. The returned value must be UTF-8 encoded and outlive the method - it's safe to delete the string on the next call to this method or after the system has been uninitialized. Return nullptr if there's no translation for the text. Your application must take care of tracking the current locale and translating the text according to it.
text | the key to the text that needs translation |