Re: [Zotonic-Dev] Forcing z_language

2016-12-06 Thread Antoine
Marc ! In a dispatch rule you need to use “z_language”, you could do it like this: {page, ["page", id, z_language, slug ], controller_page, [ … ]} This is brilliant ! How I didn't find it by myself :-) Thank you so much ! Le mardi 6 décembre 2016 09:05:53 UTC+1, Marc Worrell a écrit : > > H

Re: [Zotonic-Dev] Forcing z_language

2016-12-06 Thread Marc Worrell
Hi Antoine, What you are trying will work in the master (1.0-dev). In the master the z_language variable is handled in a special way. In the 0.x you can set the language in the request handler or for template expressions like: {{ _”Hello” with z_language = `de` }} (Note the back-ticks,