How to solve QML internationalization?
-
hi everyone:can you tell me how to implement QML internationalization?i want to implement display chinese!
-
-
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 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
-
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!
-
This has been discussed, please refer to the "threads":http://developer.qt.nokia.com/forums/viewthread/2032/: