On Thu 25 Sep 08:13, Lemonfiend wrote:

Yes, and it also works only with vibe.web.web.render! So using
res.render!() in particular won't work, as well as
res.renderCompat!(). Those are just the plain template rendering
functions without any translation support.
Ah I see.

I'll change the logic of determineLanguage to fall back to the default
algorithm instead of the default language.
Thanks!

Btw. Is it possible to translate things like this?
input&(type="text", placeholder=myi18nplaceholder)

Oh, and is it possible to mark a method as NOT being a route?

It seems render can only be called from a method that is public, and
public methods are parsed added as a @path automatically. But the method
where I call render is a helper function, something like:

class Webber
{

@path(`/`)
void get()
{
	if(something)
		_getA();
	else
		_getB();
}

protected void _getA()
{
	// do stuff

	render!(indexA.dt);
}

// etc.

}