TouchGFX text translations typed text ID
Im trying to use the TouchGFX designer "text & translations" as a database of sorts.
I've tried to use the function getText(text id) from the Reference but i'm not able to locate the text ID. The code below is from the TouchGFX framework.
const touchgfx::Unicode::UnicodeChar* touchgfx::Texts::getText(TypedTextId id) const
{
return ¤tLanguagePtr[currentLanguageIndices[id]];
}Searching through the project files for the TouchGFX Designer text ID returns the texts.xml file with IDs but that is more of an internal framework thing.
I simply want to do the following.
setLanguage(GB);
Text_GB = getText(Save);
setLanguage(DE);
Text_DE = getText(Save);
//Text_GB would be Save
//Text_DE would be SpeichernBelow is an image from the designer with the IDs.

How would i go about doing this within the TouchGFX framework?
Any help is appreciated!