How do I use translation module in vibe.d?

jack jckj33 at
Fri Oct 9 21:07:28 UTC 2020

Documentation[1] tells to use 
@translationModule!TranslationContext on class, like this:

> @translationModule!TranslationContext
> class WebInterface {
> ...

but it return the error:

> Error: template instance translationModule!(TranslationContext) 
> does not match template  declaration translationModule(string 

it seems that construtor was removed[2] but I can't find the 
replacement anywhere. Could someone help with that?

[1]: see "location" section:

More information about the Digitalmars-d-learn mailing list