Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Get english Translation
GrahamL last edited by
My application is internationalized, however, in some circumstances I need the English version of the string no matter what translator is being used.
Anyone have any suggestions on how to achieve this?
jeremy_k last edited by
Without details regarding the circumstances, some options I see, in the order of least to most effort are:
- Don't mark the text for translation
- Don't provide a translation for the text
- Provide the same translation for all languages
andreyc last edited by
In addition to jeremy_k
May be using context and or disambiguation may help here see "QCoreApplication::translate()":http://qt-project.org/doc/qt-5/qcoreapplication.html#translate for more details.