[Solved] QDateEdit (date picker) strange translation bug?

  • I don't know if I'm doing something wrong, but only when I select the dutch language in my application, it shows the right language in a QDateEdit date picker.

    When I choose any other language (English, french) then dutch, it shows me this:
    !http://wouterverbruggen.be/img/datepicker.png(Date picker in unknown language)!

    Is it a bug, or did I do something wrong?

    Thanks in advance.

  • Solved.

    You have to set a QLocale to the calendarWidget like this:

    You have to do it for every language you have a translation for.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.