Thursday, July 16, 2009, 10:04:44 AM, SteP wrote:

> I would like to add a more flexible approach, but I'm not sure
> which one, so I'm open to suggestions. 
> One idea could be to match a set-PTV pattern, such as (:xyTitle:The
> xy title:). One advantage of PTV vs. 
> (:if:) is that it's easier to mix with other conditional markup. Thoughts / 
> ideas?

I cannot help with multilanguage.php.
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:)


  ~Hans


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to