Important: Please read the Qt Code of Conduct -

Listmodel translations

  • I've got some problem with translating listmodel. I know how to translate lists but I got sth like this:
    id: statistics
    objectName: "Statistics"
    toolbarModel: ToolbarModel{}
    title: qsTr("Statistics management")
    icon: "qrc:/icons/statistics_128x128_w.png"@

    and the ToolbarModel{} is the file with a Listmodel insiade.

    Do you know how to translate this code?

Log in to reply