i'm having trouble with the PageByLang function explained at
Well I pasted the code into my Page_Controller and added <% PageByLang(nuestro-despacho,es) %> to my page.ss. But it looks like the parser doesn't run the function. It just puts '<% PageByLang(nuestro-despacho,es) %>' as plain text into my html.
1. Is 'es' as second parameter correct? In the example it is: <% PageByLang(Kontakt,de) %>, but the locale isn't 'de' it is 'de_DE'
2. Is there any code it have to put around my function in the template?
@dev: Is there any example for the usage of this function?