Open dominguesgm opened 3 years ago
This project is unmaintained by Dropbox for a long time now.
There is an active fork with i18n support. See https://github.com/dropbox/zxcvbn/issues/290#issuecomment-687847476.
Yep, only noticed the last commit date after submitting the issue 😞 Thanks for the suggestion though
In order to work well with localized web pages/apps, one must currently map the written feedback to their translations.
For this library to provide a better experience for developing in different locales, I think it would be a good idea to add
feedback.suggestion_code
andfeedback.warning_code
which could be simpler, more concise and less prone to change which would break translations.For example,
Add another word or two. Uncommon words are better
could have codeadd_words
orAvoid repeated words and characters
could have codeavoid_repeated
.This would be a less prone to failure way to enable mapping custom feedback.