Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of Qt i18n #160

Open
MrCj opened this issue Aug 20, 2019 · 3 comments · May be fixed by #206
Open

Usage of Qt i18n #160

MrCj opened this issue Aug 20, 2019 · 3 comments · May be fixed by #206
Assignees

Comments

@MrCj
Copy link

MrCj commented Aug 20, 2019

Please give some examples how to use Qt native i18n tools such as qsTr in QML

@vadi2
Copy link
Contributor

vadi2 commented Aug 20, 2019

There's QML documentation for this: https://doc.qt.io/qt-5/qtquick-internationalization.html :)

@MrCj
Copy link
Author

MrCj commented Aug 20, 2019

This is good, but how to install translator QCoreApplication::installTranslator() and call QQmlEngine::retranslate()?

@pauldotknopf
Copy link
Member

You can't currently. I'd accept a pull request that adds a installTranslator method to QCoreApplication.

@shartte shartte self-assigned this May 30, 2020
@shartte shartte linked a pull request May 30, 2020 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants