Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76085

translation files are not loaded automatically when main qml is in resource

    XMLWordPrintable

    Details

    • Platform/s:
      All
    • Commits:
      56b0d420703e24523a6a06f75590f0480397f4d6

      Description

      https://doc.qt.io/qt-5/qqmlapplicationengine.html#details

      • Automatically loads translation files from an i18n directory adjacent to the main QML file.

      This doesn't work when qml is loaded from resource.

       

      Note that the documentation above is not good enough because translation files needs to have "qml_" prefix.

        Attachments

        For Gerrit Dashboard: QTBUG-76085
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            tasuku.suzuki Tasuku Suzuki
            Reporter:
            tasuku.suzuki Tasuku Suzuki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes