Binary Translations - number of text resources
Similar to this:
....I have a separate project that produces my binary translations and for the most part, don't use the translations in the main project. I noticed however that the main project is required to have greater or equal the number of text translations than the number of text translation in the binary translation.
It seems to be limited by code in setLanguage() in Texts.cpp where it uses the internal static table size (getInstanceSize()) rather than pulling a size from the binary file.
if (currentLanguageTypedText)
{
currentLanguage = id;
touchgfx::TypedText::registerTypedTextDatabase(currentLanguageTypedText,
TypedTextDatabase::getFonts(), TypedTextDatabase::getInstanceSize());
}Is this an oversight? It seems kind of limiting to always have to increase the size of an unused table (or setting it to beyond what one might possibly use in the future), if the binary translation file also has to grow.