Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
dsba last edited by
I have moved QT_TRANSLATE_NOOP in a separate file called strings.h where all the strings are marked for translation here.
This works fine as far as it's normal hard coded string ex: QT_TRANSLATE_NOOP("Main","Hello World!")
Issue occurs when argument is passed ex: QT_TRANSLATE_NOOP("Main","Hello World %s ...")
Can anyone please help me?
Thanks in Advance!
Pablo J. Rogina last edited by
@dsba please be aware that Qt translation schema uses the original string as key for looking up translations, so in your case adding the placeholder (%1) creates a new, different original string...