Giter VIP home page Giter VIP logo

Comments (7)

Edddy avatar Edddy commented on August 29, 2024

Was this fixed or it's a "Won't fix"?

from griffin.mvccontrib.

Edddy avatar Edddy commented on August 29, 2024

@jgauffin: It's hard to be collaborative if you don't communicate with us

from griffin.mvccontrib.

jgauffin avatar jgauffin commented on August 29, 2024

I'm on vacation. Will look at is as soon as I get back. I thought that I had fixed it. However it's hard to get everything working properly (1. be able to use custom validation attributes 2. use the built in attributes 3. use custom error messages in the attributes).

Microsoft hides the actual language handling inside the dataannotation attributes and then caches them in MVC3.

from griffin.mvccontrib.

Edddy avatar Edddy commented on August 29, 2024

I understand it's hard and I can try to help you in anything you need, but we need that you coordinate the efforts. Anything from "Too hard, won't fix", "Please try to fix it yourself", or "Fixed" is good for me.

Hope you enjoy your vacations!

from griffin.mvccontrib.

jgauffin avatar jgauffin commented on August 29, 2024

Should work now

from griffin.mvccontrib.

Edddy avatar Edddy commented on August 29, 2024

Excellent!

How to we instanciate the providers now? This old sample code does not work now

        var stringProvider = new ResourceStringProvider(Resources.LocalizedStrings.ResourceManager);
        ModelMetadataProviders.Current = new LocalizedModelMetadataProvider(stringProvider);
        ModelValidatorProviders.Providers.Clear();
        ModelValidatorProviders.Providers.Add(new LocalizedModelValidatorProvider(stringProvider));

from griffin.mvccontrib.

jgauffin avatar jgauffin commented on August 29, 2024

humm. That should work. What kind of error do you get? (although I never tried with a string table only)

(you can email me at [email protected] for faster responses regarding this issue)

from griffin.mvccontrib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.