Results 1 to 2 of 2

Thread: Ordinal numbers in translations?

  1. #1
    Join Date
    Nov 2006
    Location
    Poland
    Posts
    35
    Thanks
    2
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11

    Question Ordinal numbers in translations?

    Hello,

    My question is:
    How do I translate ordinal numbers?

    Let's assume the string for translation is "%n lap".
    English translation for this should say:
    n=1 "1st lap"
    n=2 "2nd lap"
    n=3 "3rd lap"
    n=4 "4th lap"
    n=21 "21st lap"
    ... etc.
    How do I code this into the .ts file?

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

    Default Re: Ordinal numbers in translations?

    This architecture can't handle ordinals in such a way. You need separate messages to be able to handle this.
    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. Translations in Qt
    By QbelcorT in forum Qt Programming
    Replies: 3
    Last Post: 4th April 2009, 01:44
  2. Translations Using Linguist
    By QbelcorT in forum Qt Tools
    Replies: 0
    Last Post: 26th March 2009, 15:23
  3. translations
    By anafor2004 in forum Newbie
    Replies: 5
    Last Post: 1st February 2008, 09:26
  4. Contributing translations
    By JaSP in forum General Discussion
    Replies: 2
    Last Post: 30th December 2007, 11:25
  5. namespaces and translations
    By gri in forum Qt Programming
    Replies: 3
    Last Post: 30th March 2007, 09:53

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.