private void RegisterLocalizedHandlebarsHelpers(IComposerHost host) { ILocalizationProvider localizationProvider = host.Resolve <ILocalizationProvider>(); host.RegisterHandlebarsHelper(new FormatValueHelper()); host.RegisterHandlebarsHelper(new IfIsLocalizedBlockHelper(localizationProvider)); host.RegisterHandlebarsHelper(new LocalizeHelper(localizationProvider)); host.RegisterHandlebarsHelper(new LocalizeFormatHelper(localizationProvider)); }