Re:Don't set the language of your website based on user loca...
by Piskvorrr on Monday May 18, 2020 @05:56AM
(#23220411)
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.
[ Parent
| on HN ]
Re:Don't set the language of your website based on user loca...
by polm23 on Monday May 18, 2020 @08:50AM
(#23221662)
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....