You can't translate dynamic text on the fly. It just wouldn't make sense. If you need it, do the translation manually upon QEvent::LanguageChange event.
You can't translate dynamic text on the fly. It just wouldn't make sense. If you need it, do the translation manually upon QEvent::LanguageChange event.
it means to say we cannot change user given text on run time into another than english language....is it???
It means Qt translation tools are not a general use dictionary and don't support such a thing (and I've never heard of a i18n mechanism that would support it). You'd have to practically implement a complete context-detecting dictionary engine for that. The translation in Qt (or in gettext) concers static strings with optional arguments (that have to be translated separately), not free written text.
Bookmarks