skwasjer / IbanNet

C# .NET IBAN validator, parser, builder and generator
Apache License 2.0
126 stars 31 forks source link

Request for localization #143

Closed FunnyPaul closed 1 year ago

FunnyPaul commented 1 year ago

First of all, praise and thanks for this good work!

Unfortunately, I don't quite understand how I can generate an error message related to validation that is localized to an MVC application. Gladly also only in one language for the whole application. Or do I have to create my own resource file, analogous to the NL file, and compile the entire project myself?

skwasjer commented 1 year ago

If you just want to localize it yourself in your application see here: https://github.com/skwasjer/IbanNet/issues/94#issuecomment-1267270191

To include a (complete) localization as part of IbanNet releases, a resource file would have to be submitted via PR.

FunnyPaul commented 1 year ago

Many thanks for the quick and competent answer. I'd love to see that soon.

Have a nice weekend!

FunnyPaul commented 1 year ago

The simple localization worked great. If you like I can make a 'DE' resx file.

skwasjer commented 1 year ago

Absolutely, be my guest.