Hi,

I can't seem to be able to get Diet templates to be localized properly using the built-in "&" syntax as demonstrated in the example. Calling trWeb() however works fine, so I'm a bit lost on what I did wrong.

@translationContext!MyTranslations
public class MyController {
	public void index(HTTPServerRequest req, HTTPServerResponse res) {
		res.render!("view.dt");
	}
}
h1& Welcome
h2= trWeb("Welcome")

The end result is:

<h1> Welcome </h1>
<h2> Bienvenue </h2>

I can see that trWeb does find the translation context properly, uses the correct language and translates my string fine, but the & operator in the templates doesn't. I tried using renderCompat as well with no change at all.

I'm using the latest vibe.d (0.9.23) and latest dmd (2.067.0).

Any ideas?