How to solve QML internationalization?
-
wrote on 7 Jul 2011, 08:12 last edited by
hi everyone:can you tell me how to implement QML internationalization?i want to implement display chinese!
-
wrote on 7 Jul 2011, 14:26 last edited by
-
wrote on 8 Jul 2011, 02:28 last edited by
Hi,
You should be able to add Chinese directly into your QML file (if it doesn't display correctly when you run, you might need to change the file's encoding to UTF-8).
Regards,
Michael -
wrote on 8 Jul 2011, 04:46 last edited by
[quote author="mbrasser" date="1310092114"]Hi,
You should be able to add Chinese directly into your QML file (if it doesn't display correctly when you run, you might need to change the file's encoding to UTF-8).
Regards,
Michael[/quote]Hello Mcihael,
Does this mean .qml files always use utf-8 codec.
Thanks,
Debao
-
wrote on 9 Jul 2011, 13:36 last edited by
it successed when use qmlviewer,but when i use Qt run directly,it failed,but in main.cpp i have installed QTranslator,i followed the Qt Internationalization,so who can help me solve this problem?thanks very much!
-
wrote on 10 Jul 2011, 06:22 last edited by
This has been discussed, please refer to the "threads":http://developer.qt.nokia.com/forums/viewthread/2032/:
1/6