Hacker News new | past | comments | ask | show | jobs | submit login

Some programs work around this by prepending a global error ID to the localized, such as "E300: Ascorbic Acid Error", but this is harder to manage on the development side.



spaCy doesn't localize errors, but it does do a beautiful job of managing that kind of error codes.

https://github.com/explosion/spaCy/blob/master/spacy/errors....




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: