Hello everyone,
Is it possible to load a translation index by referencing the file directly, or (even better) passing pointer/length of the data? For a few small projects i'd like to have my translations directly embedded into the executable, and not have to rely on system configuration / OS directory layout.
This is possible to do with the standard libintl, but i haven't found any documentation on how to do this with wxLocale & co.
Loading translation (.mo) file directly
Re: Loading translation (.mo) file directly
What about creating a custom wxTranslationsLoader
https://docs.wxwidgets.org/trunk/classw ... oader.html
https://docs.wxwidgets.org/trunk/classw ... oader.html