Results 1 to 2 of 2

Thread: Quick question about translations

  1. #1
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Quick question about translations

    Q: Do one needs to put strings made solely of numbers (e.g. "124", "9600", etc.) inside translation methods (QObject::tr())?

    I'ld guess "yes" since not all languages necessarily use indo-arabic numbers and, in those cases, a translation to proper symbols would be required, but I'ld like confirmation anyway


    Thanks,

    Momergil
    May the Lord be with you. Always.

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

    Default Re: Quick question about translations

    If your static program output needs to be read by someone expecting digits in, for example, Tibetan, Persian or Urdu scripts then you need to provide translations.

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

    Momergil (4th August 2014)

Similar Threads

  1. Quick Bindvalue Question
    By tpf80 in forum Qt Programming
    Replies: 7
    Last Post: 6th February 2009, 21:09
  2. Quick question: infinite double?
    By Raccoon29 in forum Qt Programming
    Replies: 2
    Last Post: 17th October 2008, 15:05
  3. Quick RegExp question
    By stealth86 in forum Qt Programming
    Replies: 3
    Last Post: 26th July 2007, 08:23
  4. Quick Question on QSqlQuerry
    By locus in forum Qt Programming
    Replies: 1
    Last Post: 13th March 2007, 14:53
  5. Quick spacing question
    By bruccutler in forum Newbie
    Replies: 4
    Last Post: 8th March 2007, 20:46

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.