[pmwiki-users] markup expression XL

Petko Yotov 5ko at 5ko.fr
Fri Feb 5 04:38:56 CST 2010


On Friday 05 February 2010 00:18:09, SteP wrote :
> I was in a situation where I needed a PTV translated. Using $[ ] did not
>  work, i.e., $[ {$:status}]. So I came up with this markup expression:
...
> Nut I wonder if there is a built-in way to achieve the same result.
> it seems to me that this would be is a fairly common need in an I18N site.

You could have $[Text] as a value of the PTV:
  (:status:$[active]:)

and then use just {$:status}.

Petko



More information about the pmwiki-users mailing list