Code: Select all
char unsigned const g_catalog_german[] = {0x01,0x02,0x03,0x04};
I realise that my application will consume an extra few hundred kilobytes of RAM if I do it this way (because all of my translations will be loaded into RAM when my program first loads up).
I think the best way to go about coding this is to look through the code for wxResourceTranslationsLoader, and to tweak it to read from an input iterator, e.g. from a simple pointer or from an "std::istream_iterator".
Before I start coding this, has anyone started it already?