QT_TRANSLATE_NOOP
Unsolved
General and Desktop
-
Hi,
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! -
@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...