gettext
This is an open discussion with 62 replies, filed under Extensions.
Search
@vlad: in what way is this different from the str:replace template (other than that it is called fl__
)? The fl:__
function looks nice, but I think I still prefer the XSLT way using xsl:key instead.
Ha-ha, good one. Didn't notice that str:replace()
accepts node-sets as well, not only strings => the fl__
template appeared.
I think I'll rework this into fl:__
function. This function exists because there may be more items with same handle in various places in translations tree. With my limited understanding of xsl:key
, that's the way I think it should go.
Create an account or sign in to comment.
@azzagazz
It's done. See the docs from FL : Utility. Honestly, until today I didn't know how to implement it. I was wishing this since summer last year :)