[pmwiki-users] Nested IFs / setting variables with directives

Mike mike at widowitz.com
Sat Sep 30 09:56:12 CDT 2006

Patrick R. Michaud wrote on 30.09.2006 16:52:
> It might also be useful to use phrase translations:
>     (:if ! name Index:)$[back to main](:if:)
> and then programmatically define translations of "back to main".
> This could be done through additional XLPages or programmatically
> from a local customization.

Could you give me a hint about how to combine the Multi Language recipe
with phrase translations? I.e., how does the phrase translation
mechanism know which language is currently selected by Multi Language's
"userlang" parameter?


More information about the pmwiki-users mailing list