Move K18N bindings to K18N
Open, Needs TriagePublic

Related Objects

StatusAssignedTask
OpenNone
OpenNone
Opencordlandwehr
mwolff created this task.Nov 23 2019, 11:24 AM
cordlandwehr moved this task from Backlog to In Progress on the KF6 board.

@apol looks like you already added the bindings in 2015 :) Do you remember if anything was missing?
Right now I do not see anything missing than a few deprecation markers in KDeclarative for setupContext and translationDomain methods...

apol added a comment.Aug 26 2020, 1:54 PM

IIRC the patch was stopped with the concern that it would bring a QtQml dependency that isn't always necessary. I'd say it should be fine though.

Should see what QML3 will look like though, and if a context function is still the way to go.

Yeah, that will be interesting. Also it would be awesome if we find any way to connect to Qt's retranslate handing, but that still hardcodes the qsTr methods for evaluating if a binding should be reevaluted with retranslated...
However, this means that we can deprecate the old API in KDeclarative and move the few projects that use it to KI18n.

cordlandwehr moved this task from In Progress to Done on the KF6 board.Oct 3 2020, 11:28 AM