Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt linguist problem with utf8 accent (qml and c++)
pparent last edited by
I'm trying to translate an application using qt4.8.2 and qml from french (containing accents) to english.
I works fine for orginal sentences containing no accent (utf-8 caracters). But for original (french) sentences with accents it simply does not apply translation. The sentences with accents appear fine in qt linquist interface and in the original application. All the source code (c++ and qml) is encoded in utf8 format.
In c++ I have found a trick that make it work for sentence with accents:
@//gets correctly translated
//!!! DOES NOT GET TRANSLATED !!!
But in QML it's not possible to do anything like that.
@//!! DOES NOT GET TRANSLATED !!
//gets correctly translated
Would you have a clue?
Thank's in advance.
Hi and welcome to devnet,
Did you check the "bug report system":http://bugreports.qt-project.org to see whether it's something known ?