Results 1 to 20 of 20

Thread: Translation problems

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2009
    Posts
    19
    Thanked 1 Time in 1 Post

    Default Re: Translation problems

    Hello
    How do you start the application then? By double clicking its icon? Where is the application binary, in what directory? Is it the same for release and debug? Because usually on Windows these land in different directories. It might be that you have two versions of the translations, one translated and the other not. Please check that.
    myApplication.exe [Enter]
    In the same directory of the eclipse proyect.
    Yes I guess is the same for release and debug, I'm not getting two binaries.
    I don't have two translated versions.

    I'm gonna expose a new view:
    I created an eclipse proyect.
    Then I did:
    qmake -o Makefile -win32 myProyectFile.pro
    Then I edited the .pro and I added CONFIG = qt warn_on release
    Then:

    make all
    So, in the end I got this:
    myProyectFile.pro
    Makefile
    debug\ (folder)
    release\ (folder)
    translations\myTranslationFile.ts
    translations\myTranslationFile.qm
    myBinaryApp.exe
    Tha's all, and I run with:
    C:\Proyect\myBinaryApp.exe [Enter].

    Right? And now ? Why is the release option making my app not being translated?

    Thanks and regards

  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: Translation problems

    Please provide a minimal compilable example (with project file and translations) reproducing the problem.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Translation for plugins
    By gustavosbarreto in forum Qt Programming
    Replies: 0
    Last Post: 14th August 2009, 14:25
  2. Problems to display a QFont in a View/Model correctly
    By NoRulez in forum Qt Programming
    Replies: 0
    Last Post: 8th July 2009, 13:26
  3. Replies: 2
    Last Post: 8th March 2007, 23:22
  4. QT4 Plugins - problems, problems
    By NormanDunbar in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2006, 16:39
  5. Splitting Translation Files
    By Jimmy2775 in forum Qt Programming
    Replies: 9
    Last Post: 3rd February 2006, 20:23

Tags for this Thread

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.