[pmwiki-users] need expert review - multilanguage recipe change

SteP step.list+pmwiki at gmail.com
Thu Jul 16 16:01:31 CDT 2009

Hans wrote:

> How about using PTVs to hold the respective titles,
> something like
> (:enTitle: An English Page Title:)
> (:deTitle: Eine deutsche Überschrift:)
> (:if userlang en:)(:title {$:enTitle}:)
> (:if userlang de:)(:title {$:deTitle}:)
> (:ifend:)

What advantage can you see in using the above vs.

(:if userlang de:)(:title Eine deutsche Überschrift:)...

More information about the pmwiki-users mailing list