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

pyside-lupdate location filename ignores path

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes