Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-26

pyside-lupdate location filename ignores path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.0
    • 1.1.0
    • PySide

      The filename attribute of the location for a string to be translated only
      includes the basename of the source file, with leading directory components
      removed. If the translation files and the source files are not in the same
      directory, linguist is unable to show the UI form or python file for the
      translator. For a large application, it is not uncommon to organize files so
      that i18n files are in their own subdirectory.

      Note that the Qt lupdate tool provides a '-locations' switch to customize this
      behavior. Although the lupdate man page claims the default behavior is to use
      'absolute' paths, it actually provides 'relative' paths (at least in Ubuntu's
      4.7.2 package). This is actually a far more useful mode of operation.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            nmelchior Nik Melchior
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes