[pmwiki-users] multilanguage redesign (was: PageNotFound translation)

sgp acs322000 at yahoo.com
Wed Feb 14 04:22:56 CST 2007


Patrick R. Michaud wrote:

> Hmmm, very interesting.  Maybe a variation of the $[...] syntax?
> 
>     $[en:hello|es:hola|de:hallo|hello]
> 
> This would say to display 'hello', 'hola', or 'hallo' depending
> on the current userlang, otherwise it uses the default XLPage
> translation of 'hello'.  Or something like that.

Yep.
Q: in this case should language priority be taken from the inline $[] or
from  $XLLangs = array('de','es','en') in local/config.php? I think from
$XLLangs 




More information about the pmwiki-users mailing list