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

SteP step.list+pmwiki at gmail.com
Fri Jul 17 09:53:34 CDT 2009


Oliver Betz wrote:

> SteP wrote:
>> 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:)...
> 
> I'm afraid that both might not work as expected because title is a PV.
> 
> Oliver
> 
They all seem to work here, after patching multilanguage.php.





More information about the pmwiki-users mailing list