KTextTemplate i18n

Andy asmaloney at gmail.com
Mon Aug 26 23:12:27 BST 2024


Ah! Thanks Nico for the quick response.

Where can I file a bug report for this?

(Sorry - I'm not familiar with the KDE dev process since this is my first
interaction with it, so I don't know where anything is. Adding a "report
a KTextTemplate issue" in the "About KTextTemplate" on the right-hand side
in the docs would be helpful!)

---
Andy Maloney  //  https://asmaloney.com
mastodon ~ @asmaloney at fosstodon.org <https://fosstodon.org/@asmaloney>


On Mon, Aug 26, 2024 at 6:03 PM Nicolas Fella <nicolas.fella at gmx.de> wrote:

> Am 26.08.24 um 23:52 schrieb Andy:
> > Forgive me if this is the wrong place to ask a question about
> > KTextTemplate. I've been looking all over trying to find out where to
> > ask questions about it, but this email ("Maintainer" on the docs page)
> > is the only thing that I could find (I'm not on IRC). If this is not
> > the appropriate place, please point me in the right direction! (I was
> > looking for a repo's "issues" or "Q&A", but it doesn't exist in the
> > KTextTemplate repo.)
> >
> > I am migrating some old Grantlee Template-based code to KTextTemplate
> > and am looking at internationalization. (Note that I'm using
> > KTextTemplate independently of everything else KDE - I'm looking to
> > use it in an existing Qt application.)
> >
> > From the docs:
> >
> > https://api.kde.org/frameworks/ktexttemplate/html/i18n_l10n.html
> >
> >    "KTextTemplate provides scripts for extracting translatable strings
> > from templates."
> >    "It is quite simple to automate the extraction of translatable
> > strings in your build process."
> >
> > I have the KTextTemplate repo and I've looked through the docs and
> > can't find these scripts anywhere. The docs also don't include an
> > example of extracting the strings, so I don't even know the names of
> > the scripts I'm looking for.
> >
> > A logical place to find these would be a "scripts" directory at the
> > top level of the repo...
> >
> > Where might I find these?
> >
> > Thank you & have a good week!
>
> Hi,
>
> the documentation probably refers to the scripts in
> https://github.com/steveire/grantlee/tree/master/scripts. Apparently
> that folder did not survive the grantlee->ktexttemplate transition.
>
> Cheers
>
> Nico
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20240826/d6ecd15d/attachment-0001.htm>


More information about the kde-devel mailing list