Tired of looking for errors in log files? Use OneTrueError - Automatic exception management for .NET.

Updated the localization administration area

I’ve updated the administration area for the localization features in an attempt to make it easier to handle the localization.

I’ve replaced the link texts with icons so that they take less space. I’ve also added filtering options (so that you can translate one area/controller at a time) and a filtering option which allows you to only show texts that hasn’t been translated yet.

Update the nuget package (“griffin.mvccontrib.admin”) to get it.

This entry was posted in Libraries and tagged , . Bookmark the permalink.
  • Maxime Séguin

    Hello,

    First of all, let me thank you for your contribution to the asp.net ecosystem – very useful!

    What do I have to do to access the localization administration area? I’m using asp.net MVC4/Autofac/RavenDB.

    I saw this example somewhere but it seems outdated (EmbeddedViewFixer is obsolete and EmbeddedViewFileProvider does not take EmbeddedViewFixer as argument anymore) :

    var fixer = new EmbeddedViewFixer();
    var provider = new EmbeddedViewFileProvider(fixer);
    provider.Add(new NamespaceMapping(typeof(MvcContrib.Areas.Griffin.GriffinAreaRegistration).Assembly, “Griffin.MvcContrib”));

    Thanks!

    • http://www.gauffin.org jgauffin
      • Maxime Séguin

        Thank you for your prompt reply!

      • Maxime Séguin

        One more question,

        Is the localization module ready to work with RavenDB?

        With what should I replace these lines (taken from the global.asax of your admin test project) :

        builder.RegisterType().AsImplementedInterfaces().InstancePerLifetimeScope();
        builder.RegisterType().AsImplementedInterfaces().InstancePerLifetimeScope();
        
        
        // Connection factory used by the SQL providers.
        builder.RegisterInstance(new AdoNetConnectionFactory("DemoDb")).AsSelf();
        builder.RegisterType().AsImplementedInterfaces().InstancePerLifetimeScope();
        
        • http://www.gauffin.org jgauffin

          Register RavenDbAccountRepository as scoped in the container. (Instead of the Sql classes).
          Also register RavenDbs IDocumentSession as scoped.

  • vijesh r pillai

    How can I delete a Language ?