Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

MessageDialog buttons localization



  • What is right way to localize MessageDialog's Yes and No buttons? I tried adding the following to my translation file, but with no success:

    <context>
        <name>DefaultMessageDialog</name>
        <message>
            <source>Yes</source>
            <translation type="Да"></translation>
        </message>
        <message>
            <source>No</source>
            <translation type="Нет"></translation>
        </message>
    </context>
    

    I use QuickControls2, QT 5.13


Log in to reply