[GH-ISSUE #160] Usage of Qt i18n #99

Open
opened 2026-05-05 11:04:43 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @MrCj on GitHub (Aug 20, 2019).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/160

Originally assigned to: @shartte on GitHub.

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

Originally created by @MrCj on GitHub (Aug 20, 2019). Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/160 Originally assigned to: @shartte on GitHub. Please give some examples how to use Qt native i18n tools such as qsTr in QML
gitea-mirror added the
help wanted
label 2026-05-05 11:04:43 -06:00
Author
Owner

@vadi2 commented on GitHub (Aug 20, 2019):

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

<!-- gh-comment-id:523029060 --> @vadi2 commented on GitHub (Aug 20, 2019): There's QML documentation for this: https://doc.qt.io/qt-5/qtquick-internationalization.html :)
Author
Owner

@MrCj commented on GitHub (Aug 20, 2019):

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

<!-- gh-comment-id:523040041 --> @MrCj commented on GitHub (Aug 20, 2019): This is good, but how to install translator QCoreApplication::installTranslator() and call QQmlEngine::retranslate()?
Author
Owner

@pauldotknopf commented on GitHub (Aug 20, 2019):

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

<!-- gh-comment-id:523163568 --> @pauldotknopf commented on GitHub (Aug 20, 2019): You can't currently. I'd accept a pull request that adds a ```installTranslator``` method to ```QCoreApplication```.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/qmlnet#99
No description provided.