Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Internationalization and QDate::toString
Forum Updated to NodeBB v4.3 + New Features

Internationalization and QDate::toString

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    ygor
    wrote on last edited by
    #1

    I have an application that prints out calendar dates using QDate::toString().
    I have tried, with the help of friends, to make it international by using Qt-Linguist.

    An aquaintence who speaks Polish pointed out to me that the declined form of the month name (stycznia) is always used. He tells me that this is proper only when writing a specific date (5 stycznia 2011) and that when used by itself it should be a capitalized proper name (Styczeń)

    Is there any way to control this from the application ?

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vsorokin
      wrote on last edited by
      #2

      Use QLocale::toString(const QDate & date, const QString & format) const
      via "bugtracker":http://bugreports.qt.nokia.com/browse/QTBUG-1716

      --
      Vasiliy

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        ygor
        wrote on last edited by
        #3

        I will try that out and let you know the results.

        Thanks for the response.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved