Open
Description
The API doesn't include a wrapper for QTranslator
and since struct QmlEngineHolder
is hidden within the crate and QmlEngineHolder::app
is not visible to external code, there is no way to load translations via QCoreApplication::installTranslator
, even from within an unsafe cpp!
block.
Is there another way to load translations without CMake? The end goal is to be able to use i18n.tr
in the QML frontend (and possibly the backend, though the frontend is currently the priority for me personally) and load translations based on the user's locale.