PDA

View Full Version : qml change local language



goli
25th May 2011, 09:44
i wan't to write an application on qml, and set the language of the application to english....
i want to print the date using the Qt.formatDate, but this use the local language and i want to use english as local.
i know that in qt there is QLocale. if there is something similar in qml i would like to know. :)

goli
29th May 2011, 12:20
hi,
even if i call the qt function QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates)); from a QDeclarativeItem class it's not working....
plase any help here?...