myloveCc / NETCore.Encrypt

NETCore encrypt and decrypt tool,Include aes,des,rsa,md5,sha1,sha256,sha384,sha512
MIT License
614 stars 155 forks source link

Exception messages need to be in english #48

Closed LosWochos76 closed 1 year ago

LosWochos76 commented 3 years ago

The message of any exception needs to be in english language. Otherwise, this package can only be used by people capable of reading mandarin.

heischo commented 3 years ago

Over 460000 downloads on nuget, but no english messages? Perhaps, this repo is only for the chinese market! Just an idea, in case this repo should be used all over the world: use a simple bool parameter in all ctor's: ctor(Param1 param1, bool enableEnglish = false), and define the exception messages _enableEnglish ? "English text" : "Chinese text".

myloveCc commented 2 years ago

Thank you for your suggestion, I will update in the next version