Results 1 to 20 of 22

Thread: PyQt and i18n, only "half of it" is translated

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Posts
    11
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: PyQt and i18n, only "half of it" is translated

    Hi,

    also no luck with that, those unicode-chars dont seem to do any harm.

    greeting
    - dario

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: PyQt and i18n, only "half of it" is translated

    Try deleting all intermediate files (.pyc included) and rebuild the project.

  3. #3
    Join Date
    Jan 2008
    Posts
    11
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: PyQt and i18n, only "half of it" is translated

    i do that everytime i try ...

    i also tried again with using both, the uic generated files in SOURCES= and the .ui files in FORMS=. Another thing i tried is letting the classes generated by pyuic4 be inherited from QObject and using self.tr instead of the QtGui.QApplication.translate provided by pyuic ... doesnt work too :/.
    Last edited by NebuK; 22nd January 2008 at 11:18.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: PyQt and i18n, only "half of it" is translated

    Could you see if the problem is persistent across applications? I mean if the same happens for a clean simple and small application written from scratch.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.