[pmwiki-users] Markup and XL substitutions

John Rankin john.rankin at affinity.co.nz
Mon Aug 21 20:45:28 CDT 2006

On Tuesday, 22 August 2006 11:14 AM, Hans <hans.bracker at googlemail.com> wrote:
>I do not manage to get the markup right to display properly
>translated strings. This markup runs with the skin (function).
>I got something like this:
>global $FSLabel;
>SDV($FSLabel, '$[Text Size]');

Try SDV($FSLabel, FmtPageName('$[Text Size]',$pagename));

This should force a translation lookup.
>and (very much simplified, but the problem is there):
>Markup('fontsizer', 'inline', '/\\(:fontsizer:\\)/',
>   Keep("<html stuff....>$FSLabel<html stuff....>"));
>with markup (:fontsizer:) in the page, I only get
>$[Text Size] displayed, not Text Size.
>The XL substitution is missing.
>What am I missing?
>Thanks for any help!

John Rankin

More information about the pmwiki-users mailing list