D25984: Load translations

Kai Uwe Broulik noreply at phabricator.kde.org
Sun Dec 15 16:32:59 GMT 2019


broulik added a comment.


  I guess it builds the QML tree and evaluates the `qsTr` calls and then finds it needs an item from a plugin and loads the import and only then translates it. Subsequent controls are translated, only the ones on the initial item are not. Perhaps if we shoehorn a `QQmlEngine::retranslate()` call in the ecm qm loader thing (or rather have a ecm qm loader for qml plugin) it should force re-evaluation of those things. Not pretty either :/

REPOSITORY
  R169 Kirigami

REVISION DETAIL
  https://phabricator.kde.org/D25984

To: broulik, #kirigami, #frameworks, kossebau, aacid, sitter
Cc: davidedmundson, plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191215/a5d7eeef/attachment-0001.html>


More information about the Plasma-devel mailing list