Solved Internalization QML
-
Tell me how I can make the application internalization written in QML. This documentation is not shown https://wiki.qt.io/PySide_Internationalization. Is it posible to create dynamic language changes for pyside2 qml application?
-
I think that the internationalization dynamically change in QML, a bit of ingenuity is necessary.
It is no sample of Qt for Python(PySide2), but I think that C ++ Code will be helpful.Please refer to the below Wiki information.
Qt Wiki : How to do dynamic translation in QML
I want you to read and try it!
-
Thank. Yes, I read application internalization documentation using C ++. I was hoping that there are similar opportunities in working with Pyside2. Is it a good option for example to change the model in QML with the text when changing the language of the application?
-
My opinion, In case of small applications, I think that it is effective measures.
However, In case of Big applications, there might be cause the correction leakage of change language in code.I will use the function of the Qt linguist.
Qt linguist can be complete all language of the application:) -
Thank. Yes thanks, it became clear to me how to work with application internalization. Hopefully, Pyside2 will be able to fully implement QML internalization.