[pmwiki-users] page variable (userlang) for multilanguage script
    noskule 
    noskule at gmx.net
       
    Mon Jul  2 11:20:58 CDT 2007
    
    
  
noskule schrieb:
> hi list
> has someone an idea how to add a page-variable that shows the active
> userlang for the multilanguage script?
> 
> There is a markup (:if userlang en:). But I need the language string to
> fill it in a form
ok, I got a solution:
 $userlang = $_COOKIE['userlang'];
 $FmtPV['$userlang'] = "'$userlang'";
> 
> http://www.pmwiki.org/wiki/Cookbook/MultiLanguage
> 
> thanks for any hints
> nos
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> 
    
    
More information about the pmwiki-users
mailing list