πŸ” Search
Sign in to post
Show HN: dp_intl – Gettext-compatible internationalization library for C++https://danpla.github.io/dp_intl

dp_intl is intended to be an enhanced version of the Gettext runtime library (also known as libintl), with the following improvements: * dp_intl does not depend on the locale. In contrast, Gettext requires the use of the setlocale() function from the C standard library, which alters the behavior of other locale-dependent C routines, leading to subtle bugs that only arise in specific locales. For example, a floating-point number serialized by snprintf() with a locale that uses a period as a decimal separator will not be parsed correctly by strtof() with a locale that uses a comma, and vice ver…

0trust.social media

Loading your media...

Pick a GIF β€” Giphy

Loading GIFs...