[Localization] Display a phrase without translation
hkarel at yandex.ru
Sat Feb 3 10:48:08 CET 2018
I ran into an unexpected problem: I need to output a phrase to the log
file and be displayed in messages for the user. In the log file, the
phrase should be without translation, but in the message for the user
with the translation.
Is it possible to do this using only one instance of the phrase? Or do I
have to duplicate the phrase?
TO_LOG << "Hello world"
TO_GUI << tr("Hello world") // Duplication
BR, Pavel Karelin
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Localization