[Qt-interest] Internationalization and QDate::toString
Constantin Makshin
cmakshin at gmail.com
Fri Dec 31 13:15:35 CET 2010
QDate class is meant to represent a specific date, so
QDate::toString() works correctly.
To get just day of week or month names alone, use QDate::*DayName()
and QDate::*MonthName() (I wrote asterisks because there're 2 variants
of each function — for short and long names).
On Tue, Dec 28, 2010 at 5:03 PM, Dan White <ygor at comcast.net> wrote:
> 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 ?
More information about the Qt-interest-old
mailing list