Results 1 to 3 of 3

Thread: QT: translation using button

  1. #1
    Join Date
    Jul 2013
    Posts
    27
    Thanks
    11
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default QT: translation using button

    Hello friends,
    I am creating some labels and information box in qt designer. Also i have created a push button for translation purposes. QT has &tr for whichever text can be translated to other language. Is there any way to connect this to the push button, where a drop down menu will tell the language choices. Or is there a way to save the translations somewhere and then bring them at the click of the push button. Kindly let me know. Thank you for your time.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,555
    Thanks
    13
    Thanked 1,581 Times in 1,510 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QT: translation using button

    [wiki]Dynamic translation in Qt4 applications[/wiki]

  3. The following user says thank you to ChrisW67 for this useful post:

    akshaysulakhe (24th July 2013)

  4. #3
    Join Date
    Jul 2013
    Posts
    27
    Thanks
    11
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QT: translation using button

    Thank you ChrisW67. That helped a lot. Appreciate. :-)

Similar Threads

  1. Replies: 3
    Last Post: 8th December 2011, 20:21
  2. UI translation
    By Annihilator in forum Qt Programming
    Replies: 2
    Last Post: 28th September 2010, 12:37
  3. Translation of UI
    By elizabeth.h1 in forum Qt Programming
    Replies: 1
    Last Post: 2nd November 2009, 12:01
  4. QFileDialog/ QMessageBox's Button Translation problem
    By santosh.kumar in forum Qt Programming
    Replies: 6
    Last Post: 10th August 2009, 08:07
  5. Translation
    By merlvingian in forum Qt Programming
    Replies: 1
    Last Post: 14th August 2007, 18:45

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.