Re:Std: Print is headed for C++23. std:cout is now a code smell
by astrange on Monday November 29, 2021 @09:29PM
(#29388165)
Is that localizable, or does it compile the interpolated string into code so it can't be replaced?
Re:Std: Print is headed for C++23. std:cout is now a code smell
by slavik81 on Tuesday November 30, 2021 @01:31AM
(#29389546)
Qt has a pretty extensive localization framework. You would probably want to wrap both strings in tr(). https://doc.qt.io/qt-5/i18n-source-translation.html
Qt does it right: fluent-style interface which does string interpolation.