Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-124

Add support for Parameterized strings in QML

    XMLWordPrintable

Details

    Description

      QUL does not currently have support for numbered arguments for strings in QML.
      In Qt this is supported: https://doc.qt.io/qt-5/qml-qtqml-string.html#arg-method

      This feature would be important for some cases regarding internationalization as in some languages the order of arguments may need to change, and this could be easily achieved by changing the order of the % arguments if those would be supported. In a similar manner like described at:
      https://doc.qt.io/qt-6/i18n-source-translation.html#using-numbered-arguments

      With current API this may be difficult to achieve sometimes, as languages tend to have different word order.

      Attachments

        Activity

          People

            ylopes Yoann Lopes
            foxxx Tuukka Kettunen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: