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:
Add enum types Suggestion and Warning, with values indicating something that is "wrong" with the password. The values should roughly correspond to the current distinct strings.
Add FeedbackItem.SuggestionsEnum which is an IList<Suggestion>, and set that together with FeedbackItem.Suggestions
Add FeedbackItem.WarningEnum, which is a Warning, and set that together with FeedbackItem.Warning
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:
Suggestion
andWarning
, with values indicating something that is "wrong" with the password. The values should roughly correspond to the current distinct strings.FeedbackItem.SuggestionsEnum
which is anIList<Suggestion>
, and set that together withFeedbackItem.Suggestions
FeedbackItem.WarningEnum
, which is aWarning
, and set that together withFeedbackItem.Warning