New Framework Review: KTextTemplate

Volker Krause vkrause at kde.org
Sat May 13 09:53:49 BST 2023


On Freitag, 12. Mai 2023 11:14:29 CEST Albert Astals Cid wrote:
> El dijous, 11 de maig de 2023, a les 18:32:23 (CEST), Volker Krause va
> 
> escriure:
> > Hi,
> > 
> > let's get the process for getting KTextTemplate (https://invent.kde.org/
> > libraries/ktexttemplate) into KF6 going. This is the library formerly
> > known
> > as Grantlee and implements Django-style text templates. It's in use in PIM
> > and KDevelop, among others.
> > 
> > In the 5 era it was released stand-alone from Github, but providing ABI
> > stability as well there. Any other deviation from common KF patterns have
> > meanwhile been adjusted I think.
> > 
> > (I'm not the author or maintainer, I'm merely looking at getting things in
> > place in time for the 6 release here).
> 
> Can someone confirm that this doesn't need i18n ?

That's my understanding, yes. There is support for translation inside HTML 
templates in there (which is why you get a bunch of hits on "i18n" when 
grep'ing), but that's API, not user-visible strings.

There's also integration plugins for KF::I18n for this, currently living in 
PIM (and potentially more copies elsewhere), I'd also like to get those into 
KF eventually, but one step at a time :)

Regards,
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20230513/801f1536/attachment.sig>


More information about the Kde-frameworks-devel mailing list