trichards57 / zxcvbn-cs

C#/.NET port of Dan Wheeler/DropBox's Zxcvbn JS password strength estimation library
MIT License
59 stars 18 forks source link

Provide feedback as enum values so they can be internationalized #37

Open cmeeren opened 2 years ago

cmeeren commented 2 years ago

We have users in otner languages than English. I would like to display the suggestions/warnings from this library in other languages. This means I need to be able to get enum values or similar that indicate the feedback (and possibly also the warning).

Would it be possible to implement such support for internationalization?

For backwards compatibility, the API can simply be: